package.json 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. {
  2. "name": "$foldername",
  3. "version": "0.1.0",
  4. "scripts": {
  5. "test": "echo \"Error: no test specified\" && exit 1",
  6. "postinstall": "npm run compile",
  7. "compile": "cross-env NODE_ENV=production npm run compile-both",
  8. "compile-dev": "npm run compile-src && npm run compile-test; npm run compile-frontend",
  9. "compile-both": "npm run compile-src; npm run compile-frontend",
  10. "compile-test": "babel test --out-dir test-build",
  11. "compile-src": "babel src --out-dir build",
  12. "compile-frontend": "webpack src/main.js build/bundle.js --module-bind 'js=babel-loader'",
  13. "compile": "npm run compile-src; npm run compile-test; npm run compile-frontend",
  14. "watch": "nodemon --watch src --watch test --watch styles -e js,css,html --exec \"npm run compile-dev --silent\""
  15. },
  16. "dependencies": {
  17. "babel-cli": "^6.6.5",
  18. "babel-core": "^6.7.7",
  19. "babel-loader": "^6.2.4",
  20. "babel-plugin-transform-remove-console": "^6.8.0",
  21. "babel-preset-es2015": "^6.6.0",
  22. "babel-preset-react": "^6.5.0",
  23. "cross-env": "^1.0.8",
  24. "react": "^15.0.1",
  25. "react-dom": "^15.0.1",
  26. "webpack": "^1.13.0"
  27. },
  28. "devDependencies": {
  29. "blue-tape": "^0.2.0",
  30. "nodemon": "^1.9.1"
  31. },
  32. "private": true
  33. }