-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
40 lines (40 loc) · 1.3 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
{
"name": "create-react-antd-app",
"description": "To use (create react app + typescript + antd) without eject.",
"version": "0.1.0",
"author": "[email protected]",
"license": "MIT",
"repository": "https://github.com/qinyang1980/create-react-antd-app.git",
"main": "index.tsx",
"dependencies": {
"antd": "^3.0.3",
"react": "^16.0.0",
"react-dom": "^16.0.0"
},
"scripts": {
"build-css": "node-sass-chokidar src/ -o src/",
"watch-css": "yarn run build-css && node-sass-chokidar src/ -o src/ --watch --recursive",
"start-js": "react-app-rewired start --scripts-version react-scripts-ts",
"build-js": "react-app-rewired build --scripts-version react-scripts-ts",
"start": "npm-run-all -p watch-css start-js",
"build": "npm-run-all build-css build-js",
"test": "react-scripts-ts test --env=jsdom",
"eject": "react-scripts-ts eject"
},
"devDependencies": {
"@types/jest": "^21.1.5",
"@types/node": "^8.0.47",
"@types/react": "^16.0.18",
"@types/react-dom": "^16.0.2",
"node-sass-chokidar": "^0.0.3",
"npm-run-all": "^4.1.2",
"react-app-rewire-less": "^2.1.0",
"react-app-rewired": "^1.4.0",
"react-scripts-ts": "^2.8.0",
"ts-import-plugin": "^1.4.3"
},
"prettier": {
"printWidth": 120,
"singleQuote": true
}
}