|
1 | 1 | {
|
2 | 2 | "name": "react-webpack-node",
|
3 |
| - "version": "2.0.1", |
| 3 | + "version": "2.1.0", |
4 | 4 | "description": "Your One-Stop solution for a full-stack app with ES6/ES2015 React.js featuring universal Redux, React Router, React Router Redux Hot reloading, CSS modules, Express 4.x, and multiple ORMs.",
|
5 | 5 | "repository": "https://github.com/choonkending/react-webpack-node",
|
6 | 6 | "main": "index.js",
|
7 | 7 | "scripts": {
|
8 |
| - "babel": "babel --presets es2015,stage-0 --ignore node_modules,public", |
9 |
| - "babel-node": "babel-node --presets es2015,stage-0 --ignore node_modules,public", |
10 | 8 | "sequelize": "node_modules/.bin/sequelize",
|
11 | 9 | "lint": "eslint --ext .js,.jsx app server",
|
12 | 10 | "lint:fix": "eslint --ext .js,.jsx app server --fix",
|
13 | 11 | "clean": "rimraf public && rimraf compiled",
|
14 |
| - "start": "cross-env NODE_ENV=production node compiled/index.js", |
| 12 | + "start": "cross-env NODE_ENV=production node compiled/server.js", |
15 | 13 | "dev": "cross-env NODE_ENV=development nodemon",
|
16 |
| - "build:dev": "cross-env NODE_ENV=development webpack --colors --config ./webpack/webpack.config.dev-server.js", |
17 |
| - "build:prod": "cross-env NODE_ENV=production webpack --colors --config ./webpack/webpack.config.prod.js", |
18 |
| - "build:node": "cross-env NODE_ENV=production npm run babel -- ./server -d ./compiled", |
19 |
| - "build": "npm run clean && npm run build:prod && npm run build:node", |
| 14 | + "build:dev": "cross-env NODE_ENV=development webpack ---debug --colors --display-error-details --config ./webpack/webpack.config.dev-server.js", |
| 15 | + "build": "npm run clean && cross-env NODE_ENV=production webpack --colors --display-error-details --config ./webpack/webpack.config.prod.js", |
20 | 16 | "test": "cross-env NODE_ENV=test karma start",
|
21 | 17 | "test:watch": "cross-env NODE_ENV=test npm test -- --watch --no-single-run",
|
22 | 18 | "postinstall": "npm run build",
|
|
94 | 90 | "passport-local": "^1.0.0",
|
95 | 91 | "pg": "^6.0.3",
|
96 | 92 | "pg-hstore": "^2.3.2",
|
97 |
| - "postcss-cssnext": "^2.7.0", |
98 |
| - "postcss-import": "^8.0.2", |
99 |
| - "postcss-loader": "^0.13.0", |
100 |
| - "postcss-reporter": "^1.4.1", |
101 |
| - "postcss-simple-vars": "^3.0.0", |
| 93 | + "postcss-cssnext": "^2.9.0", |
| 94 | + "postcss-import": "^9.0.0", |
| 95 | + "postcss-loader": "^1.2.1", |
| 96 | + "postcss-reporter": "^3.0.0", |
102 | 97 | "react": "^15.4.1",
|
103 | 98 | "react-dom": "^15.4.1",
|
104 | 99 | "react-helmet": "^3.2.2",
|
|
0 commit comments