-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
98 lines (98 loc) · 2.74 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
{
"name": "ts-com-ui",
"version": "0.1.4",
"private": false,
"description": "React components library of typescript",
"author": "lambda",
"license": "MIT",
"keywords": [
"Component",
"UI",
"React"
],
"homepage": "https://github.com/powerdong/react-ts-component-library",
"repository": {
"type": "git",
"url": "https://github.com/powerdong/react-ts-component-library"
},
"files": [
"dist"
],
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^1.2.28",
"@fortawesome/free-solid-svg-icons": "^5.13.0",
"@fortawesome/react-fontawesome": "^0.1.10",
"axios": "^0.19.2",
"classnames": "^2.2.6",
"husky": "^4.2.5",
"react-transition-group": "^4.4.1"
},
"peerDependencies": {
"react": ">=16.8.0",
"react-dom": ">=16.8.0"
},
"husky": {
"hooks": {
"pre-commit": "yarn test:nowatch && yarn lint"
}
},
"scripts": {
"start": "react-scripts start",
"clean": "rimraf ./dist",
"build": "yarn clean && yarn build-ts && yarn build-css",
"build-ts": "tsc -p tsconfig.build.json",
"build-css": "node-sass ./src/styles/index.scss ./dist/index.css",
"test": "react-scripts test",
"test:nowatch": "cross-env CI=true react-scripts test",
"eject": "react-scripts eject",
"storybook": "start-storybook -p 9009 -s public",
"build-storybook": "build-storybook -s public",
"prepublishOnly": "yarn test:nowatch && yarn lint && yarn build",
"lint": "eslint --ext js,ts,tsx src --max-warnings 5"
},
"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"
]
},
"devDependencies": {
"@storybook/addon-actions": "^5.3.19",
"@storybook/addon-info": "^5.3.19",
"@storybook/addon-links": "^5.3.19",
"@storybook/addons": "^5.3.19",
"@storybook/preset-create-react-app": "^3.0.0",
"@storybook/react": "^5.3.19",
"@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": "^25.2.3",
"@types/node": "^12.0.0",
"@types/react": "^16.9.0",
"@types/react-dom": "^16.9.0",
"@types/react-transition-group": "^4.4.0",
"@types/storybook__addon-info": "^5.2.1",
"cross-env": "^7.0.2",
"node-gyp": "^5.1.1",
"node-sass": "^4.14.1",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-scripts": "3.4.1",
"rimraf": "^3.0.2",
"ts-loader": "^7.0.5",
"typescript": "~3.7.2"
}
}