26 lines
999 B
JSON
26 lines
999 B
JSON
{
|
|
"name": "heroicons",
|
|
"version": "1.0.0",
|
|
"license": "MIT",
|
|
"files": [
|
|
"outline/",
|
|
"solid/"
|
|
],
|
|
"scripts": {
|
|
"prepublishOnly": "npm run build",
|
|
"build": "npm run build-outline && npm run build-solid && npm run build-react && npm run build-vue",
|
|
"build-react": "node ./scripts/build.js react",
|
|
"build-vue": "node ./scripts/build.js vue",
|
|
"build-outline": "rimraf ./outline ./optimized/outline && svgo --config=svgo.outline.yaml -f ./src/outline -o ./optimized/outline --pretty --indent=2 && cp -R ./optimized/outline ./outline",
|
|
"build-solid": "rimraf ./solid ./optimized/solid && svgo --config=svgo.solid.yaml -f ./src/solid -o ./optimized/solid --pretty --indent=2 && cp -R ./optimized/solid ./solid"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.12.10",
|
|
"@babel/plugin-transform-react-jsx": "^7.12.12",
|
|
"@svgr/core": "^5.5.0",
|
|
"@vue/compiler-dom": "^3.0.5",
|
|
"camelcase": "^6.0.0",
|
|
"rimraf": "^3.0.2",
|
|
"svgo": "^1.3.2"
|
|
}
|
|
}
|