forked from inno-lab/create-react-redux-router-intl-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
55 lines (55 loc) · 1.82 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
{
"name": "create-react-redux-router-intl-app",
"version": "0.1.0",
"private": false,
"dependencies": {
"antd": "^2.13.8",
"bootstrap": "^3.3.7",
"fs": "0.0.1-security",
"glob": "^7.1.2",
"mkdirp": "^0.5.1",
"node-sass-chokidar": "^0.0.3",
"npm-run-all": "^4.1.1",
"react": "^16.0.0",
"react-bootstrap": "^0.31.5",
"react-dom": "^16.0.0",
"react-intl": "^2.4.0",
"react-redux": "^5.0.6",
"react-responsive": "^3.0.0",
"react-router-dom": "^4.2.2",
"react-router-redux": "^5.0.0-alpha.8",
"react-scripts": "^1.0.14",
"redux": "^3.7.2",
"redux-logger": "^3.0.6",
"redux-thunk": "^2.2.0"
},
"scripts": {
"build-translate": "cross-env NODE_ENV=production ./node_modules/.bin/babel ./src > NUL",
"build-langs": "cross-env NODE_ENV=production ./node_modules/.bin/babel-node ./utils/translator.js",
"build-css": "node-sass-chokidar src/ -o src/",
"watch-css": "npm run build-css && node-sass-chokidar src/ -o src/ --watch --recursive",
"start-js": "react-scripts start",
"start": "npm-run-all -p watch-css start-js",
"build-js": "cross-env GENERATE_SOURCEMAP=false react-scripts build",
"build": "cross-env GENERATE_SOURCEMAP=false npm-run-all build-css build-js && react-snap",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject",
"precommit": "lint-staged"
},
"lint-staged": {
"src/**/*.{js,jsx,json,css,scss}": [
"prettier --single-quote --no-bracket-spacing --arrow-parens always --write",
"git add"
]
},
"devDependencies": {
"babel-cli": "^6.26.0",
"babel-plugin-react-intl": "^2.3.1",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react-app": "^3.0.3",
"react-snap": "^0.8.1",
"husky": "^0.14.3",
"lint-staged": "^6.0.0",
"prettier": "^1.9.2"
}
}