|
8 | 8 | "author": "Chong Guo <[email protected]>",
|
9 | 9 | "license": "MIT",
|
10 | 10 | "scripts": {
|
11 |
| - "dev": "yarn dll && cross-env NODE_ENV=development yarn server", |
12 |
| - "prod": "yarn build && cross-env NODE_ENV=production yarn server", |
| 11 | + "dev": "yarn dll && cross-env NODE_ENV=development yarn serve", |
| 12 | + "prod": "yarn build && cross-env NODE_ENV=production yarn serve", |
13 | 13 | "dll": "yarn clean && cross-env NODE_ENV=production webpack --config webpack.config.dll.babel.js",
|
14 | 14 | "build": "yarn dll && cross-env NODE_ENV=production webpack --config webpack.config.prod.babel.js",
|
15 | 15 | "profile": "yarn dll && cross-env NODE_ENV=production webpack --config webpack.config.profile.babel.js",
|
16 |
| - "server": "nodemon --exec babel-node backend/server.js", |
| 16 | + "serve": "nodemon --exec babel-node backend/server.js", |
17 | 17 | "eslint": "eslint -f codeframe \"**/*.js\"",
|
18 | 18 | "tslint": "tslint -t codeFrame \"**/*.tsx\"",
|
19 | 19 | "stylelint": "stylelint \"**/*.css **/*.sass **/*.scss\"",
|
20 | 20 | "lint": "yarn eslint && yarn tslint && yarn stylelint",
|
21 |
| - "clean": "rm-cli -r frontend/dist .awcache coverage", |
| 21 | + "clean": "trash frontend/dist .awcache coverage", |
22 | 22 | "test": "jest --no-cache --coverage",
|
23 | 23 | "coverage": "cat ./coverage/lcov.info | ./node_modules/.bin/coveralls",
|
24 | 24 | "deploy": "heroku container:push web"
|
|
66 | 66 | "coveralls": "^3.0.2",
|
67 | 67 | "cross-env": "^5.2.0",
|
68 | 68 | "css-loader": "^1.0.0",
|
69 |
| - "cssnano": "^4.0.0", |
| 69 | + "cssnano": "^4.0.1", |
70 | 70 | "duplicate-package-checker-webpack-plugin": "^3.0.0",
|
71 | 71 | "eslint": "^5.1.0",
|
72 | 72 | "eslint-config-airbnb": "^17.0.0",
|
|
89 | 89 | "mini-css-extract-plugin": "^0.4.1",
|
90 | 90 | "morgan": "^1.9.0",
|
91 | 91 | "node-sass": "^4.9.2",
|
92 |
| - "nodemon": "^1.18.0", |
| 92 | + "nodemon": "^1.18.1", |
93 | 93 | "offline-plugin": "^5.0.5",
|
94 | 94 | "optimize-css-assets-webpack-plugin": "^4.0.3",
|
95 | 95 | "pg": "^7.4.3",
|
|
110 | 110 | "redux-devtools-log-monitor": "^1.4.0",
|
111 | 111 | "redux-logger": "^3.0.6",
|
112 | 112 | "redux-thunk": "^2.3.0",
|
113 |
| - "rm-cli": "^1.4.2", |
114 | 113 | "run-sequence": "^2.2.1",
|
115 | 114 | "sass-loader": "^7.0.3",
|
116 | 115 | "style-loader": "^0.21.0",
|
117 | 116 | "stylelint": "^9.3.0",
|
118 | 117 | "stylelint-config-standard": "^18.2.0",
|
119 | 118 | "superagent": "^3.8.3",
|
| 119 | + "trash-cli": "^1.4.0", |
120 | 120 | "ts-jest": "^23.0.0",
|
121 | 121 | "ts-loader": "^4.4.2",
|
122 | 122 | "tslint": "^5.10.0",
|
|
126 | 126 | "uglifyjs-webpack-plugin": "^1.2.7",
|
127 | 127 | "url-loader": "^1.0.1",
|
128 | 128 | "uuid": "^3.3.2",
|
129 |
| - "webpack": "^4.15.1", |
| 129 | + "webpack": "^4.16.0", |
130 | 130 | "webpack-bundle-analyzer": "^2.13.1",
|
131 | 131 | "webpack-cli": "^3.0.8",
|
132 | 132 | "webpack-dev-middleware": "^3.1.3",
|
|
0 commit comments