1234567891011121314151617181920212223242526272829303132 |
- {
- "name": "tutorial",
- "version": "1.0.0",
- "description": "",
- "main": "index.js",
- "scripts": {
- "start": "if-env NODE_ENV=production && npm run start:prod || npm run start:dev",
- "start:dev": "webpack-dev-server --inline --content-base public/ --history-api-fallback",
- "start:prod": "npm run build && node server.bundle.js",
- "build:client": "webpack",
- "build:server": "webpack --config webpack.server.config.js",
- "build": "npm run build:client && npm run build:server"
- },
- "author": "",
- "license": "ISC",
- "dependencies": {
- "compression": "^1.6.1",
- "if-env": "^1.0.0",
- "react": "^0.14.7",
- "react-dom": "^0.14.7",
- "react-router": "^2.0.0"
- },
- "devDependencies": {
- "babel-core": "^6.5.1",
- "babel-loader": "^6.2.2",
- "babel-preset-es2015": "^6.5.0",
- "babel-preset-react": "^6.5.0",
- "http-server": "^0.8.5",
- "webpack": "^1.12.13",
- "webpack-dev-server": "^1.14.1"
- }
- }
|