package.json 896 B

12345678910111213141516171819202122
  1. {
  2. "name": "@brwong/$foldername",
  3. "author": "Brandon Wong <projects@brwong.net> (https://www.brwong.net/)",
  4. "version": "0.1.0",
  5. "main": "build/server.js",
  6. "scripts": {
  7. "test": "node test-build/server.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. "compile-start": "npm run compile && node build/server.js 2> /dev/null",
  13. "watch": "nodemon --watch src --watch test --exec \"npm run --silent compile 2> /dev/null\"",
  14. "testwatch": "nodemon --watch src --watch test --exec \"npm run --silent compile && npm test\"",
  15. "serverwatch": "nodemon --watch src --watch test --exec \"npm run compile-start 2> /dev/null\""
  16. },
  17. "directories": {
  18. "test": "test"
  19. },
  20. "private": true
  21. }