package.json 823 B

123456789101112131415161718192021
  1. {
  2. "name": "@brwong/$foldername",
  3. "author": "Brandon Wong <projects@brwong.net> (https://www.brwong.net/)",
  4. "main": "build/service.js",
  5. "version": "0.1.0",
  6. "scripts": {
  7. "test": "node test-build/service.js",
  8. "compile-prod": "cross-env NODE_ENV=production npm run compile",
  9. "compile": "npm run compile-src && npm run compile-test",
  10. "compile-test": "babel test --out-dir test-build",
  11. "compile-src": "babel src --out-dir build",
  12. "watch": "nodemon --watch src --watch test --exec \"npm run compile --silent\"",
  13. "serverwatch": "nodemon --watch src --watch test --exec \"npm run compile --silent && node build/service.js\"",
  14. "testwatch": "nodemon --watch src --watch test --exec \"npm run compile --silent && npm test\""
  15. },
  16. "directories": {
  17. "test": "test"
  18. },
  19. "private": true
  20. }