-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
59 lines (59 loc) · 1.81 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
{
"name": "@hikasami/icons",
"version": "1.0.7",
"main": "dist/cjs/index.js",
"module": "dist/es/index.js",
"author": "Hikasami",
"license": "Apache-2.0",
"publishConfig": {
"access": "public"
},
"files": [
"dist"
],
"types": "dist/types/index.d.ts",
"sideEffects": false,
"repository": {
"type": "git",
"url": "https://github.com/hikasami/icons",
"directory": "/"
},
"scripts": {
"build": "run-s svgr-icons exports build:es build:cjs types",
"build:es": "BABEL_ENV=es babel src --out-dir \"dist/es\" --extensions \".ts,.tsx\"",
"build:cjs": "BABEL_ENV=cjs webpack --config=webpack/prod.js",
"svgr-icons": "rm -rf src/icons; svgr -d src/icons -- src/assets/icons/**/; rm src/icons/index.ts",
"exports": "./generate-exports.sh",
"types": "tsc --emitDeclarationOnly --declarationMap --declaration --noEmit false --allowJs false --outDir dist/types",
"prepack": "bun run build"
},
"lint-staged": {
"*.@(js|jsx|ts|tsx)": "prettier --write"
},
"dependencies": {
"@babel/runtime": "^7.16.7",
"@inline-svg-unique-id/react": "^1.2.2"
},
"devDependencies": {
"@babel/cli": "^7.8.3",
"@babel/core": "^7.8.3",
"@babel/plugin-transform-runtime": "^7.16.7",
"@babel/preset-env": "^7.8.3",
"@babel/preset-react": "^7.8.3",
"@babel/preset-typescript": "^7.8.3",
"@hikasami/eslint-config-react": "^1.0.2",
"@svgr/cli": "^8.1.0",
"@types/react": "^17.0.38",
"babel-loader": "^9.0.1",
"babel-plugin-react-inline-svg-unique-id": "^1.3.1",
"clean-webpack-plugin": "^4.0.0",
"npm-run-all": "^4.1.5",
"react": "^17.0.2",
"source-map-loader": "^4.0.1",
"terser-webpack-plugin": "^5.3.0",
"typescript": "^5.4.4",
"webpack": "^5.52.1",
"webpack-cli": "^5.0.1",
"webpack-merge": "^5.2.0"
}
}