package.json 849 B

123456789101112131415161718
  1. {
  2. "name": "@brwong/$foldername",
  3. "author": "Brandon Wong <projects@brwong.net> (https://www.brwong.net/)",
  4. "version": "0.1.0",
  5. "scripts": {
  6. "test": "node test-build/main.js",
  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",
  13. "watch": "nodemon --watch src --watch test --watch styles -e js,css,html --exec \"npm run compile --silent\"",
  14. "testwatch": "nodemon --watch src --watch test --watch styles -e js,css,html --exec \"npm run compile --silent && npm test\""
  15. },
  16. "private": true
  17. }