|
3 | 3 | "version": "1.0.2", |
4 | 4 | "description": "", |
5 | 5 | "scripts": { |
6 | | - "start": "NODE_ENV=development && node server.js", |
7 | | - "start-mac": "export NODE_ENV=development && node server.js", |
8 | | - "start-win": "set NODE_ENV=development && node server.js", |
| 6 | + "start": "webpack-dev-server", |
9 | 7 | "lint": "eslint src", |
10 | 8 | "build-mac": "export NODE_ENV=production && webpack --progress --hide-modules --config webpack.config.js", |
11 | 9 | "build-win": "set NODE_ENV=production&& webpack --progress --hide-modules --config webpack.config.js", |
|
18 | 16 | "author": "huangyongyue", |
19 | 17 | "license": "MIT", |
20 | 18 | "devDependencies": { |
21 | | - "axios": "^0.16.1", |
| 19 | + "axios": "^0.16.2", |
22 | 20 | "babel-cli": "^6.16.0", |
23 | | - "babel-core": "^6.17.0", |
24 | | - "babel-loader": "^6.2.0", |
| 21 | + "babel-core": "^6.24.1", |
| 22 | + "babel-loader": "^6.4.1", |
25 | 23 | "babel-plugin-react-transform": "^2.0.2", |
26 | 24 | "babel-plugin-transform-decorators-legacy": "^1.3.4", |
| 25 | + "babel-plugin-transform-runtime": "^6.23.0", |
27 | 26 | "babel-polyfill": "^6.16.0", |
| 27 | + "babel-preset-es2015": "^6.24.1", |
28 | 28 | "babel-preset-latest": "^6.16.0", |
29 | 29 | "babel-preset-react": "^6.16.0", |
30 | 30 | "babel-preset-react-hmre": "^1.1.1", |
|
53 | 53 | "less-loader": "^2.2.2", |
54 | 54 | "open": "0.0.5", |
55 | 55 | "postcss-loader": "^0.7.0", |
56 | | - "react-hot-loader": "^1.3.0", |
57 | 56 | "react-test-renderer": "^15.4.2", |
58 | | - "react-transform-hmr": "^1.0.4", |
59 | 57 | "react-transition-group": "^1.1.1", |
60 | 58 | "redux-logger": "^2.8.2", |
61 | 59 | "redux-promise": "^0.5.3", |
62 | 60 | "redux-thunk": "^2.2.0", |
63 | 61 | "style-loader": "^0.13.0", |
64 | 62 | "url-loader": "^0.5.6", |
65 | | - "webpack": "^2.5.1", |
66 | | - "webpack-dev-middleware": "^1.2.0", |
67 | | - "webpack-hot-middleware": "^2.17.1" |
| 63 | + "webpack": "^2.6.1", |
| 64 | + "webpack-dev-server": "^2.4.5" |
68 | 65 | }, |
69 | 66 | "dependencies": { |
| 67 | + "babel-runtime": "^6.23.0", |
70 | 68 | "fastclick": "^1.0.6", |
71 | 69 | "history": "^4.6.1", |
72 | 70 | "prop-types": "^15.5.4", |
73 | 71 | "react": "^15.5.4", |
74 | 72 | "react-dom": "^15.5.4", |
| 73 | + "react-hot-loader": "^3.0.0-beta.7", |
75 | 74 | "react-redux": "^5.0.4", |
76 | 75 | "react-router": "^4.0.0", |
77 | 76 | "react-router-dom": "^4.0.0", |
|
0 commit comments