|
1 | 1 | { |
2 | | - "name": "react-webpack-es6-chunking", |
3 | | - "version": "1.0.0", |
4 | | - "description": "ES6 react + webpack + react-router + code-chunking starter project", |
| 2 | + "name": "react-router-code-chunking-example", |
| 3 | + "version": "1.1.0", |
| 4 | + "description": "React + react-router code-chunking example", |
5 | 5 | "repository": { |
6 | 6 | "type": "git", |
7 | | - "url": "https://github.com/JFusco/react-webpack-es6-chunking" |
| 7 | + "url": "https://github.com/JFusco/react-router-code-chunking-example" |
8 | 8 | }, |
9 | 9 | "dependencies": { |
10 | | - "react": "~15.2.1", |
11 | | - "react-router": "~2.5.2", |
12 | | - "react-dom": "~15.2.1" |
| 10 | + "react": "~15.3.0", |
| 11 | + "react-dom": "~15.3.0", |
| 12 | + "react-router": "~2.6.1" |
13 | 13 | }, |
14 | 14 | "devDependencies": { |
15 | 15 | "babel-cli": "^6.10.1", |
16 | | - "babel-core": "^6.10.4", |
17 | | - "babel-loader": "^6.2.4", |
18 | | - "babel-register": "^6.9.0", |
19 | | - "babel-preset-react": "^6.11.1", |
20 | | - "babel-preset-es2015": "^6.9.0", |
21 | | - "http-server": "^0.9.0", |
22 | | - "webpack": "^1.13.1" |
| 16 | + "babel-core": "^6.10.4", |
| 17 | + "babel-loader": "^6.2.4", |
| 18 | + "babel-preset-es2015": "^6.9.0", |
| 19 | + "babel-preset-react": "^6.11.1", |
| 20 | + "babel-preset-stage-2": "^6.11.0", |
| 21 | + "babel-register": "^6.9.0", |
| 22 | + "webpack": "^1.13.1", |
| 23 | + "webpack-dev-server": "^1.14.1" |
23 | 24 | }, |
24 | 25 | "scripts": { |
25 | | - "serve": "http-server ./", |
26 | | - "compile": "webpack --display-chunks --display-modules --progress --colors && npm run serve" |
| 26 | + "dev": "./node_modules/.bin/webpack-dev-server --content-base ./ --inline --hot", |
| 27 | + "test": "echo \"Error: no test specified\" && exit 1" |
27 | 28 | } |
28 | 29 | } |
0 commit comments