-
Notifications
You must be signed in to change notification settings - Fork 32
/
package.json
44 lines (44 loc) · 1.33 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
{
"name": "@royalnavy/icon-library",
"version": "1.8.0",
"main": "dist/cjs/index.js",
"module": "dist/es/index.js",
"author": "NELSON",
"license": "Apache-2.0",
"publishConfig": {
"access": "public"
},
"files": [
"dist"
],
"types": "dist/types/index.d.ts",
"sideEffects": false,
"scripts": {
"build": "run-s svgr exports build:es build:cjs types",
"build:es": "NODE_ENV=es babel src --out-dir \"dist/es\" --extensions \".ts,.tsx\"",
"build:cjs": "NODE_ENV=cjs webpack -p --config=webpack/prod.js",
"svgr": "rm -rf src/icons; svgr --ext tsx -d src/icons src/assets/**/",
"exports": "./generate-exports.sh",
"types": "tsc --emitDeclarationOnly --declarationMap --declaration --noEmit false --isolatedMOdules false --allowJs false --outDir dist/types",
"prepare": "yarn build"
},
"dependencies": {
"react": "^16.12.0"
},
"devDependencies": {
"@babel/cli": "^7.7.5",
"@babel/core": "^7.7.5",
"@babel/preset-env": "^7.7.6",
"@babel/preset-react": "^7.7.4",
"@babel/preset-typescript": "^7.7.4",
"@svgr/cli": "^4.3.3",
"babel-loader": "^8.0.6",
"clean-webpack-plugin": "^3.0.0",
"npm-run-all": "^4.1.5",
"source-map-loader": "^0.2.4",
"typescript": "^3.7.3",
"webpack": "^4.41.2",
"webpack-cli": "^3.3.10",
"webpack-merge": "^4.2.2"
}
}