|
9 | 9 | "posttest": "npm run lint", |
10 | 10 | "test:watch": "karma start --autoWatch=true --singleRun=false --reporters=mocha,coverage", |
11 | 11 | "serve:dev": "webpack-dev-server --open --env dev", |
12 | | - "serve:dist": "webpack-dev-server --open --env dist", |
13 | | - "dist": "npm run clean && webpack --progress --bail --env dist -p", |
| 12 | + "serve:dist": "webpack-dev-server --hot --inline --open --progress --env dist -p", |
| 13 | + "dist": "npm run clean && npm run copy && webpack --progress --bail --env dist -p", |
14 | 14 | "lint": "eslint ./src", |
15 | 15 | "clean": "rimraf dist/*", |
| 16 | + "copy": "copyfiles -f ./src/index.html ./src/favicon.ico ./dist", |
16 | 17 | "release:major": "npm version major && git push --follow-tags", |
17 | 18 | "release:minor": "npm version minor && git push --follow-tags", |
18 | 19 | "release:patch": "npm version patch && git push --follow-tags" |
|
38 | 39 | "homepage": "https://github.com/weblogixx/react-webpack-template#readme", |
39 | 40 | "devDependencies": { |
40 | 41 | "babel-core": "^6.7.6", |
| 42 | + "babel-eslint": "^6.0.4", |
41 | 43 | "babel-loader": "^6.2.4", |
| 44 | + "babel-plugin-transform-decorators-legacy": "^1.3.4", |
42 | 45 | "babel-polyfill": "^6.9.0", |
43 | 46 | "babel-preset-airbnb": "^2.0.0", |
44 | 47 | "babel-preset-es2015-native-modules": "^6.6.0", |
45 | 48 | "babel-preset-react": "^6.5.0", |
46 | 49 | "chai": "^3.5.0", |
| 50 | + "copyfiles": "^0.2.1", |
47 | 51 | "css-loader": "^0.23.1", |
48 | 52 | "enzyme": "^2.2.0", |
49 | 53 | "eslint": "^2.8.0", |
|
68 | 72 | "null-loader": "^0.1.1", |
69 | 73 | "phantomjs-prebuilt": "^2.1.7", |
70 | 74 | "react-addons-test-utils": "^15.0.1", |
| 75 | + "react-css-modules": "^3.7.6", |
71 | 76 | "react-hot-loader": "^1.3.0", |
72 | 77 | "rimraf": "^2.5.2", |
73 | 78 | "sinon": "^1.17.3", |
|
0 commit comments