-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
110 lines (110 loc) · 4.07 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"name": "@spear-ai/logo",
"version": "2.1.1",
"description": "Spear AI Logo",
"keywords": [
"Spear AI",
"favicon",
"logo"
],
"license": "MIT",
"author": {
"email": "[email protected]",
"name": "Spear AI",
"url": "https://spear.ai"
},
"files": [
"assets",
"react"
],
"exports": {
"./assets/*": "./assets/*",
"./react": "./react/index.js"
},
"repository": {
"type": "git",
"url": "https://github.com/spear-ai/logo.git"
},
"type": "module",
"typesVersions": {
"*": {
"*": [
"*"
]
}
},
"scripts": {
"build": "yarn run build:assets && yarn run build:react",
"build:assets": "yarn run build:assets:other && yarn run build:assets:svg",
"build:assets:other": "cpy --flat 'src/assets' '!**.svg' '!**.tsx' assets",
"build:assets:svg": "svgo --folder src/assets -o assets",
"build:react": "tsup src/react/index.ts --dts --format=esm,cjs --sourcemap --out-dir=react",
"check": "yarn run lint && yarn run typecheck",
"ci": "act --container-architecture=linux/amd64 --platform=ubuntu-latest=ghcr.io/catthehacker/ubuntu:js-latest",
"clean": "del assets react",
"dev": "tsup src/react/**/*.tsx --dts --format=esm,cjs --sourcemap --out-dir=react --watch",
"generate": "yarn run generate:logo && yarn run generate:favicon:png && yarn run generate:favicon:ico && yarn run generate:android-icon && yarn run generate:apple-touch-icon",
"generate:android-icon": "convert src/assets/favicon.png \\( +clone -resize 192x192 -write src/assets/icon-192.png +delete \\) -resize 512x512 src/assets/icon-512.png",
"generate:apple-touch-icon": "rsvg-convert src/assets/favicon.svg -f png -a -w 140 -h 140 | convert - -background none -gravity center -extent 180x180 src/assets/apple-touch-icon.png",
"generate:favicon:ico": "convert src/assets/favicon.png -resize 48x48 src/assets/favicon.ico",
"generate:favicon:png": "rsvg-convert src/assets/favicon.svg -f png -a -w 506 -h 506 -o src/assets/favicon.png && convert src/assets/favicon.png -background none -gravity center -extent 717x717 src/assets/favicon.png",
"generate:logo": "node ./src/build-logo-icon.js",
"lint": "yarn run lint:js && yarn run lint:package",
"lint:js": "eslint --ext .js,.ts,.tsx --ignore-path .gitignore .",
"lint:package": "npmPkgJsonLint .",
"outdated": "yarn outdated",
"prebuild": "yarn run clean",
"typecheck": "tsc --noEmit",
"update": "yarn run update:js && yarn run update:yarn",
"update:js": "yarn upgrade-interactive --latest",
"update:yarn": "yarn policies set-version"
},
"devDependencies": {
"@commitlint/cli": "17.1.2",
"@commitlint/config-conventional": "17.0.2",
"@types/node": "18.0.0",
"@types/react": "18.2.0",
"@typescript-eslint/eslint-plugin": "5.32.0",
"@typescript-eslint/parser": "5.28.0",
"concurrently": "7.2.2",
"cpy-cli": "4.2.0",
"del-cli": "4.0.1",
"eslint": "8.18.0",
"eslint-config-airbnb": "19.0.4",
"eslint-config-airbnb-typescript": "17.0.0",
"eslint-import-resolver-typescript": "2.7.1",
"eslint-plugin-array-func": "3.1.7",
"eslint-plugin-eslint-comments": "3.2.0",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-jest": "26.5.3",
"eslint-plugin-jsx-a11y": "6.7.1",
"eslint-plugin-markdown": "2.2.1",
"eslint-plugin-optimize-regex": "1.2.1",
"eslint-plugin-promise": "6.0.0",
"eslint-plugin-react": "7.30.0",
"eslint-plugin-react-hooks": "4.6.0",
"eslint-plugin-react-use-props": "1.0.0",
"eslint-plugin-sonarjs": "0.15.0",
"eslint-plugin-sort-destructure-keys": "1.4.0",
"eslint-plugin-typescript-sort-keys": "2.1.0",
"eslint-plugin-unicorn": "42.0.0",
"husky": "8.0.1",
"jest": "28.1.1",
"npm-package-json-lint": "6.3.0",
"npm-package-json-lint-config-default": "5.0.0",
"react": "18.2.0",
"svgo": "2.8.0",
"tslib": "2.4.0",
"tsup": "6.1.2",
"typescript": "4.8.2"
},
"peerDependencies": {
"react": ">16.0.0 <19"
},
"peerDependenciesMeta": {
"react": {
"optional": true
}
},
"sideEffects": false
}