-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
113 lines (113 loc) · 3.04 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
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
110
111
112
113
{
"name": "fighterui",
"version": "0.1.0",
"description": "React Component Library",
"author": "Duan Hongfei",
"license": "MIT",
"private": false,
"keywords": [
"React",
"Component",
"UI"
],
"homepage": "https://github.com/star2-lab/FighterUI",
"repository": {
"type": "git",
"directory": "https://github.com/star2-lab/FighterUI"
},
"files": [
"dist"
],
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^1.2.35",
"@fortawesome/free-solid-svg-icons": "^5.15.3",
"@fortawesome/react-fontawesome": "^0.1.14",
"axios": "^0.21.1",
"classnames": "^2.3.1",
"react-transition-group": "^4.4.2"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"scripts": {
"start": "react-scripts start",
"build": "npm run clean && npm run build-ts && npm run build-css",
"test": "react-scripts test",
"eject": "react-scripts eject",
"storybook": "start-storybook -p 6006 -s public",
"build-storybook": "build-storybook -s public",
"build-ts": "tsc -p tsconfig.build.json",
"build-css": "node-sass ./src/styles/index.scss ./dist/index.css",
"clean": "rimraf ./dist",
"prepublishOnly": "npm run test:nowatch && npm run lint && npm run build",
"lint": "eslint --ext js,ts,tsx src --max-warnings 10",
"test:nowatch": "cross-env CI=true react-scripts test"
},
"husky": {
"hooks": {
"pre-commit": "npm run test:nowatch && npm run lint"
}
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
],
"overrides": [
{
"files": [
"**/*.stories.*"
],
"rules": {
"import/no-anonymous-default-export": "off"
}
}
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@storybook/addon-actions": "^6.3.1",
"@storybook/addon-essentials": "^6.3.1",
"@storybook/addon-info": "^5.3.21",
"@storybook/addon-links": "^6.3.1",
"@storybook/node-logger": "^6.3.1",
"@storybook/preset-create-react-app": "^3.1.7",
"@storybook/react": "^6.3.2",
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"@types/classnames": "^2.3.1",
"@types/jest": "^26.0.24",
"@types/node": "^12.0.0",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@types/react-transition-group": "^4.4.1",
"@types/storybook__addon-info": "^5.2.3",
"cross-env": "^7.0.3",
"husky": "^7.0.1",
"node-sass": "^6.0.0",
"normalize.css": "^8.0.1",
"react": "^17.0.2",
"react-docgen-typescript-loader": "3.6.0",
"react-dom": "^17.0.2",
"react-scripts": "4.0.3",
"rimraf": "^3.0.2",
"typescript": "^4.1.2",
"web-vitals": "^1.0.1"
}
}