package.json 899 B

1234567891011121314151617181920212223242526272829
  1. {
  2. "name": "$foldername",
  3. "main": "build/service.js",
  4. "version": "1.0.0",
  5. "scripts": {
  6. "test": "node test-build/service.js",
  7. "postinstall": "npm run compile",
  8. "compile-test": "babel test --out-dir test-build",
  9. "compile-src": "babel src --out-dir build",
  10. "compile": "npm run compile-src; npm run compile-test",
  11. "watch": "nodemon --watch src --watch test --exec \"npm run compile --silent\"",
  12. "serverwatch": "nodemon --watch src --watch test --exec \"npm run compile --silent && node build/service.js\"",
  13. "testwatch": "nodemon --watch src --watch test --exec \"npm run compile --silent && npm test\""
  14. },
  15. "dependencies": {
  16. "babel-cli": "^6.6.5",
  17. "babel-preset-es2015": "^6.6.0",
  18. "express": "^4.13.4"
  19. },
  20. "devDependencies": {
  21. "blue-tape": "^0.2.0",
  22. "nodemon": "^1.9.1"
  23. },
  24. "directories": {
  25. "test": "test"
  26. },
  27. "private": true
  28. }