-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
29 lines (29 loc) · 1.45 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
{
"private": true,
"version": "0.2.3",
"workspaces": [
"packages/*"
],
"scripts": {
"prepublishOnly": "yarn run build",
"lint": "node ./scripts/verify-names.js",
"prebuild": "rimraf ./optimized",
"build": "yarn run build-outline-16 && yarn run build-solid-16 && yarn run build-outline-24 && yarn run build-solid-24 && yarn run build-react",
"build-react": "node ./scripts/build.js react 16 && node ./scripts/build.js react 24",
"build-outline-16": "rimraf ./16/outline ./16/optimized/outline && svgo --config=svgo.config.mjs -q -p 8 -f ./src/16/outline -o ./optimized/16/outline",
"build-solid-16": "rimraf ./16/solid ./16/optimized/solid && svgo --config=svgo.config.mjs -q -p 8 -f ./src/16/solid -o ./optimized/16/solid",
"build-outline-24": "rimraf ./24/outline ./24/optimized/outline && svgo --config=svgo.config.mjs -q -p 8 -f ./src/24/outline -o ./optimized/24/outline",
"build-solid-24": "rimraf ./24/solid ./24/optimized/solid && svgo --config=svgo.config.mjs -q -p 8 -f ./src/24/solid -o ./optimized/24/solid",
"dev": "yarn --cwd ./packages/website dev",
"clean-modules": "rimraf ./packages/*/node_modules/ && rimraf ./node_modules/ && rm yarn.lock && yarn cache clean"
},
"devDependencies": {
"@babel/core": "^7.12.10",
"@babel/plugin-transform-react-jsx": "^7.12.12",
"@svgr/core": "^5.5.0",
"camelcase": "^6.0.0",
"prettier": "^2.8.7",
"rimraf": "^3.0.2",
"svgo": "^3.2.0"
}
}