package.json 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. {
  2. "name": "@brwong/$foldername",
  3. "author": "Brandon Wong",
  4. "version": "0.1.0",
  5. "scripts": {
  6. "test": "echo \"Error: no test specified\" && exit 1",
  7. "compile-prod": "cross-env NODE_ENV=production npm run compile",
  8. "compile": "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 build/main.js build/bundle.js --module-bind 'js=babel-loader'",
  13. "watch": "nodemon --watch src --watch test --watch styles -e js,css,html --exec \"npm run compile --silent\""
  14. },
  15. "dependencies": {
  16. "babel-cli": "^6.23.0",
  17. "babel-core": "^6.23.1",
  18. "babel-loader": "^6.3.2",
  19. "babel-plugin-transform-object-rest-spread": "^6.20.2",
  20. "babel-plugin-transform-remove-console": "^6.8.0",
  21. "babel-plugin-transform-runtime": "^6.15.0",
  22. "babel-preset-latest": "^6.22.0",
  23. "babel-preset-react": "^6.23.0",
  24. "cross-env": "^3.1.4",
  25. "react": "^15.4.2",
  26. "react-dom": "^15.4.2",
  27. "webpack": "^1.14.0"
  28. },
  29. "devDependencies": {
  30. "nodemon": "^1.11.0",
  31. "tape-promise": "^2.0.1",
  32. "tape": "^4.6.3"
  33. },
  34. "private": true
  35. }