package.json 925 B

1234567891011121314151617181920212223242526272829303132333435
  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": "webpack && node server.js"
  15. },
  16. "version": "1.0.0",
  17. "dependencies": {
  18. "compression": "^1.6.1",
  19. "express": "^4.13.4",
  20. "if-env": "^1.0.0",
  21. "react": "^0.14.7",
  22. "react-dom": "^0.14.7",
  23. "react-router": "^2.0.0"
  24. },
  25. "devDependencies": {
  26. "babel-core": "^6.5.1",
  27. "babel-loader": "^6.2.2",
  28. "babel-preset-es2015": "^6.5.0",
  29. "babel-preset-react": "^6.5.0",
  30. "http-server": "^0.8.5",
  31. "webpack": "^1.12.13",
  32. "webpack-dev-server": "^1.14.1"
  33. }
  34. }