-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
100 lines (100 loc) · 3.17 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
{
"name": "escape",
"version": "1.1.2",
"private": false,
"author": "pengtaoa",
"description": "react components lib",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"license": "MIT",
"keywords": [
"UI",
"component",
"react"
],
"homepage": "https://github.com/pengtaoa/the_component_library",
"repository": {
"type": "git",
"url": "https://github.com/pengtaoa/the_component_library"
},
"files": [
"dist"
],
"scripts": {
"dev": "react-scripts start",
"clean": "rimraf ./dist",
"lint": "eslint --ext js,ts,tsx src --max-warnings 5",
"build": "npm run clean && npm run build-ts && npm run build-css",
"test": "react-scripts test",
"test:nowatch": "cross-env CI=true npm run test",
"eject": "react-scripts eject",
"storybook": "start-storybook -p 9009 -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",
"prepublishOnly": "npm run test:nowatch && npm run lint && npm run build"
},
"husky": {
"hooks": {
"pre-commit": "npm run test:nowatch && npm run lint",
"commit-msg": "validate-commit-msg"
}
},
"eslintConfig": {
"extends": "react-app"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^1.2.28",
"@fortawesome/free-solid-svg-icons": "^5.13.0",
"@fortawesome/react-fontawesome": "^0.1.9",
"axios": "^0.19.2",
"classnames": "^2.2.6",
"react-transition-group": "^4.3.0"
},
"peerDependencies": {
"react": "≥16.8.0",
"react-dom": "≥16.8.0"
},
"devDependencies": {
"@storybook/addon-actions": "^5.3.18",
"@storybook/addon-info": "^5.3.18",
"@storybook/addon-links": "^5.3.18",
"@storybook/addons": "^5.3.18",
"@storybook/preset-create-react-app": "^2.1.1",
"@storybook/react": "^5.3.18",
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.3.2",
"@testing-library/user-event": "^7.1.2",
"@types/classnames": "^2.2.10",
"@types/jest": "^24.0.0",
"@types/node": "^12.0.0",
"@types/react": "^16.9.0",
"@types/react-dom": "^16.9.0",
"@types/react-transition-group": "^4.2.4",
"@types/storybook__addon-info": "^5.2.1",
"cross-env": "^7.0.2",
"husky": "^4.3.0",
"node-sass": "^4.13.1",
"react": "^16.13.1",
"react-docgen-typescript-loader": "^3.7.2",
"react-dom": "^16.13.1",
"react-scripts": "3.4.1",
"rimraf": "^3.0.2",
"typescript": "~3.7.2",
"uninstall": "0.0.0",
"validate-commit-msg": "^2.14.0"
}
}