-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
113 lines (113 loc) · 3.05 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": "zhou-cl",
"version": "0.1.9",
"description": "An React components library(Just practice for learning)",
"author": "okkjoo",
"private": false,
"main": "dist/build/index.js",
"module": "dist/build/index.js",
"types": "dist/build/index.d.ts",
"license": "MIT",
"keywords": [
"Component",
"UI",
"React",
"okkjoo"
],
"homepage": "https://github.com/okkjoo/zhou-cl",
"repository": {
"type": "git",
"url": "https://github.com/okkjoo/zhou-cl"
},
"files": [
"dist"
],
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^1.2.36",
"@fortawesome/free-solid-svg-icons": "^5.15.4",
"@fortawesome/react-fontawesome": "^0.1.15",
"axios": "^0.24.0",
"classnames": "^2.3.1",
"react-transition-group": "^4.4.2",
"web-vitals": "^1.0.1"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"scripts": {
"start": "react-scripts start",
"clear": "rimraf ./dist",
"lint": "eslint --ext js,ts,tsx src --max-warnings 5",
"build": "yarn clear && yarn build-ts && yarn build-css",
"test": "react-scripts test",
"test:nowatch": "cross-env CI=true react-scripts test",
"eject": "react-scripts eject",
"build-ts": "tsc -p tsconfig.build.json",
"build-css": "node-sass ./src/styles/index.scss ./dist/index.css",
"storybook": "start-storybook -p 6006 -s public",
"build-storybook": "build-storybook -s public",
"prepare": "husky install && yarn run test:nowatch && yarn lint && yarn run build"
},
"husky": {
"hooks": {
"pre-commit": "yarn test:nowatch && yarn 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.10",
"@storybook/addon-essentials": "^6.3.10",
"@storybook/addon-info": "^5.3.21",
"@storybook/addon-links": "^6.3.10",
"@storybook/node-logger": "^6.3.10",
"@storybook/preset-create-react-app": "^3.2.0",
"@storybook/react": "^6.3.10",
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"@types/classnames": "^2.3.1",
"@types/jest": "^26.0.15",
"@types/node": "^12.0.0",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@types/react-transition-group": "^4.4.3",
"@types/storybook__addon-info": "^5.2.4",
"cross-env": "^7.0.3",
"husky": "^7.0.4",
"node-sass": "4.14.1",
"react": "^17.0.2",
"react-docgen-typescript-loader": "^3.7.2",
"react-dom": "^17.0.2",
"react-scripts": "4.0.3",
"rimraf": "^3.0.2",
"typescript": "^4.1.2"
}
}