-
Notifications
You must be signed in to change notification settings - Fork 55
Expand file tree
/
Copy pathpackage.json
More file actions
109 lines (109 loc) · 2.89 KB
/
package.json
File metadata and controls
109 lines (109 loc) · 2.89 KB
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
{
"name": "@status-im/icons",
"version": "1.0.3",
"license": "MPL-2.0",
"files": [
"dist",
"svg"
],
"main": "./dist/index.cjs.js",
"module": "./dist/index.es.js",
"types": "./dist/index.d.ts",
"source": "./index.js",
"exports": {
"./package.json": "./package.json",
".": {
"import": "./index.es.js",
"require": "./index.js"
},
"./12": {
"types": "./dist/src/12/index.d.ts",
"import": "./dist/12/index.es.js",
"require": "./dist/12/index.cjs.js"
},
"./16": {
"types": "./dist/src/16/index.d.ts",
"import": "./dist/16/index.es.js",
"require": "./dist/16/index.cjs.js"
},
"./20": {
"types": "./dist/src/20/index.d.ts",
"import": "./dist/20/index.es.js",
"require": "./dist/20/index.cjs.js"
},
"./social": {
"types": "./dist/src/social/index.d.ts",
"import": "./dist/social/index.es.js",
"require": "./dist/social/index.cjs.js"
},
"./reactions": {
"types": "./dist/src/reactions/index.d.ts",
"import": "./dist/reactions/index.es.js",
"require": "./dist/reactions/index.cjs.js"
},
"./12/*.svg": {
"import": "./svg/12/*.svg"
},
"./16/*.svg": {
"import": "./svg/16/*.svg"
},
"./20/*.svg": {
"import": "./svg/20/*.svg"
},
"./social/*.svg": {
"import": "./svg/social/*.svg"
},
"./reactions/*.svg": {
"import": "./svg/reactions/*.svg"
}
},
"engines": {
"node": ">=18.18.0"
},
"scripts": {
"preinstall": "npx only-allow pnpm",
"sync": "vite-node scripts/sync.ts && prettier --parser=html --write 'svg/**/*.svg'",
"generate": "rimraf src && svgr --no-prettier svg --out-dir src && pnpm lint:fix && pnpm format",
"dev": "vite build --watch --mode development",
"build": "vite build && pnpm build:types",
"build:types": "tsc --emitDeclarationOnly --declaration --jsx react-jsx --skipLibCheck --declarationDir ./dist",
"#test": "vitest",
"typecheck": "tsc",
"lint": "eslint src",
"lint:fix": "pnpm lint --fix",
"format": "prettier --write 'src/**/*.{ts,tsx}'",
"clean": "rimraf dist node_modules .turbo",
"prepack": "pnpm build"
},
"peerDependencies": {
"react": "^16.x || ^17.x || ^18.x",
"react-dom": "*"
},
"devDependencies": {
"@clack/prompts": "^0.7.0",
"@status-im/eslint-config": "workspace:*",
"@svgr/cli": "^8.1.0",
"@svgr/core": "^8.1.0",
"@svgr/plugin-svgo": "^8.1.0",
"@types/fs-extra": "^11.0.1",
"@vitejs/plugin-react": "^4.3.1",
"figma-api": "^1.11.0",
"fs-extra": "^11.1.1",
"p-map": "^7.0.2",
"svgo": "^3.0.2",
"vite": "6.2.5",
"vite-node": "^2.0.5"
},
"publishConfig": {
"access": "public"
},
"lint-staged": {
"*.{ts,tsx,js,jsx,mjs}": [
"eslint",
"prettier --write"
],
"*.{md,mdx,yml,yaml,json}": [
"prettier --write"
]
}
}