package.json 782 B

1234567891011121314151617181920212223242526272829
  1. {
  2. "name": "tutorial",
  3. "version": "1.0.0",
  4. "description": "",
  5. "main": "index.js",
  6. "scripts": {
  7. "start": "if-env NODE_ENV=production && npm run start:prod || npm run start:dev",
  8. "start:dev": "webpack-dev-server --inline --content-base public/ --history-api-fallback",
  9. "start:prod": "webpack && node server.js"
  10. },
  11. "author": "",
  12. "license": "ISC",
  13. "dependencies": {
  14. "compression": "^1.6.1",
  15. "if-env": "^1.0.0",
  16. "react": "^0.14.7",
  17. "react-dom": "^0.14.7",
  18. "react-router": "^2.0.0"
  19. },
  20. "devDependencies": {
  21. "babel-core": "^6.5.1",
  22. "babel-loader": "^6.2.2",
  23. "babel-preset-es2015": "^6.5.0",
  24. "babel-preset-react": "^6.5.0",
  25. "http-server": "^0.8.5",
  26. "webpack": "^1.12.13",
  27. "webpack-dev-server": "^1.14.1"
  28. }
  29. }