package.json 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. {
  2. "author": "",
  3. "description": "",
  4. "license": "ISC",
  5. "main": "index.js",
  6. "name": "tutorial",
  7. "repository": {
  8. "type": "git",
  9. "url": "http://formation.osinet.fr:3000/fgm/react-router-tutorial.git"
  10. },
  11. "scripts": {
  12. "start": "if-env NODE_ENV=production && npm run start:prod || npm run start:dev",
  13. "start:dev": "webpack-dev-server --inline --content-base public/ --history-api-fallback",
  14. "start:prod": "npm run build && node server.bundle.js",
  15. "build:client": "webpack",
  16. "build:server": "webpack --config webpack.server.config.js",
  17. "build": "npm run build:client && npm run build:server"
  18. },
  19. "version": "1.0.0",
  20. "dependencies": {
  21. "compression": "^1.6.1",
  22. "express": "^4.13.4",
  23. "if-env": "^1.0.0",
  24. "react": "^0.14.7",
  25. "react-dom": "^0.14.7",
  26. "react-router": "^2.0.0"
  27. },
  28. "devDependencies": {
  29. "babel-core": "^6.5.1",
  30. "babel-loader": "^6.2.2",
  31. "babel-preset-es2015": "^6.5.0",
  32. "babel-preset-react": "^6.5.0",
  33. "http-server": "^0.8.5",
  34. "webpack": "^1.12.13",
  35. "webpack-dev-server": "^1.14.1"
  36. }
  37. }