package.json 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. {
  2. "name": "express-es6-rest-api",
  3. "version": "0.3.0",
  4. "description": "Starter project for an ES6 RESTful Express API",
  5. "main": "dist",
  6. "scripts": {
  7. "dev": "nodemon -w src --exec \"babel-node src --presets es2015,stage-0\"",
  8. "build": "babel src -s -D -d dist --presets es2015,stage-0",
  9. "start": "node dist",
  10. "prestart": "npm run -s build",
  11. "test": "eslint src"
  12. },
  13. "eslintConfig": {
  14. "extends": "eslint:recommended",
  15. "parserOptions": {
  16. "ecmaVersion": 7,
  17. "sourceType": "module"
  18. },
  19. "env": {
  20. "node": true
  21. },
  22. "rules": {
  23. "no-console": 0,
  24. "no-unused-vars": 1
  25. }
  26. },
  27. "repository": "developit/express-es6-rest-api",
  28. "author": "Jason Miller <jason@developit.ca>",
  29. "license": "MIT",
  30. "dependencies": {
  31. "body-parser": "^1.13.3",
  32. "compression": "^1.5.2",
  33. "cors": "^2.7.1",
  34. "express": "^4.13.3",
  35. "morgan": "^1.8.0",
  36. "resource-router-middleware": "^0.6.0",
  37. "sse-express": "^1.0.2",
  38. "uuid": "^3.1.0"
  39. },
  40. "devDependencies": {
  41. "babel-cli": "^6.9.0",
  42. "babel-core": "^6.9.0",
  43. "babel-preset-es2015": "^6.9.0",
  44. "babel-preset-stage-0": "^6.5.0",
  45. "eslint": "^3.1.1",
  46. "nodemon": "^1.9.2"
  47. }
  48. }