-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
54 lines (54 loc) · 1.65 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
{
"name": "inache",
"version": "1.0.0",
"description": "My webpack project",
"main": "serverNode.js",
"dependencies": {
"lowdb": "^1.0.0",
"moment": "^2.24.0",
"react": "^16.9.0",
"react-dom": "^16.9.0",
"react-redux": "^7.1.0",
"react-router": "^5.0.1",
"react-router-dom": "^5.0.1",
"redux": "^4.0.4",
"request": "^2.88.0",
"serve-favicon": "^2.5.0",
"shortid": "^2.2.14",
"styled-components": "^4.3.2",
"t0s-components": "git+https://github.com/ca11ado/t0s-components.git#updated-2019"
},
"devDependencies": {
"@babel/core": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"@babel/preset-react": "^7.0.0",
"babel-loader": "^8.0.6",
"babel-plugin-syntax-dynamic-import": "^6.18.0",
"css-loader": "^3.2.0",
"html-webpack-plugin": "^3.2.0",
"husky": "^3.0.4",
"jest": "^24.9.0",
"keymirror": "^0.1.1",
"mini-css-extract-plugin": "^0.8.0",
"style-loader": "^1.0.0",
"webpack": "^4.39.2",
"webpack-cli": "^3.3.6",
"webpack-dev-server": "^3.8.0"
},
"scripts": {
"start": "npm run cp-files && if test \"$NODE_ENV\" != \"production\" ; then npm run start:dev; else npm run start:prod; fi",
"start:dev": "npm run update-db && webpack --watch",
"start:prod": "webpack --mode=production",
"cp-files": "mkdir -p public/img && cp -R img public",
"update-db": "rm -f db.json && node ./utils/db-utils.js",
"test": "jest",
"test:watch": "npm test -- --watch",
"build": "npm run cp-files && webpack --mode=production"
},
"husky": {
"hooks": {
"prepare-commit-msg": "utils/prepare-commit-msg.sh"
}
},
"author": "Khimtsov Anton"
}