package.json 2.1KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. {
  2. "name": "ditapi",
  3. "version": "0.0.0",
  4. "private": true,
  5. "scripts": {
  6. "init": ". ./bin/init.sh",
  7. "start": "NODE_ENV=development node ./bin/www",
  8. "start:production": "NODE_ENV=production PORT=3001 node ./bin/www",
  9. "test": "NODE_ENV=test mocha ./test/",
  10. "test:nyan": "NODE_ENV=test mocha -R nyan ./test/",
  11. "test:watch": "NODE_ENV=test mocha ./test/ --watch",
  12. "unit": "NODE_ENV=test mocha ./test/unit/ --recursive",
  13. "unit:watch": "NODE_ENV=test mocha ./test/unit/ --watch --recursive",
  14. "test-all": "NODE_ENV=test mocha ./test/ --recursive",
  15. "test-all:watch": "NODE_ENV=test mocha ./test/ --recursive --watch",
  16. "nyc": "NODE_ENV=test nyc mocha ./test/ --recursive",
  17. "lint": "eslint .",
  18. "lint:fix": "eslint . --fix",
  19. "init-db": "node ./bin/init-db.js",
  20. "init-db:development": "NODE_ENV=development node ./bin/init-db.js",
  21. "init-db:test": "NODE_ENV=test node ./bin/init-db.js",
  22. "init-db-standalone": "NODE_ENV=test node ./bin/init-db-standalone.js"
  23. },
  24. "dependencies": {
  25. "accept": "^3.0.1",
  26. "ajv": "^5.2.3",
  27. "allow-methods": "^1.0.4",
  28. "arangojs": "^5.0.3",
  29. "autolinker": "^1.4.4",
  30. "basic-auth": "^2.0.0",
  31. "body-parser": "^1.18.2",
  32. "cors": "^2.8.4",
  33. "debug": "^2.6.9",
  34. "email-templates": "^2.5.2",
  35. "express": "^4.16.2",
  36. "fs-extra": "^4.0.1",
  37. "handlebars": "^4.0.10",
  38. "he": "^1.1.1",
  39. "helmet": "^3.8.2",
  40. "identicon.js": "^2.1.0",
  41. "image-type": "^3.0.0",
  42. "jsonapi-serializer": "^3.4.1",
  43. "jsonwebtoken": "^8.1.0",
  44. "lodash": "^4.16.4",
  45. "multer": "^1.3.0",
  46. "node-cron": "^1.1.3",
  47. "node-sass": "^4.5.3",
  48. "nodemailer": "^4.1.3",
  49. "prompt": "^1.0.0",
  50. "sanitize-html": "^1.14.1",
  51. "sharp": "^0.18.2",
  52. "zxcvbn": "^4.4.2"
  53. },
  54. "devDependencies": {
  55. "eslint": "^4.8.0",
  56. "eslint-plugin-no-unsafe-regex": "^1.0.0",
  57. "image-size": "^0.6.1",
  58. "maildev": "^0.14.0",
  59. "mocha": "^4.0.1",
  60. "node-mocks-http": "^1.6.5",
  61. "nyc": "^11.2.1",
  62. "rewire": "^2.5.2",
  63. "should": "^13.1.2",
  64. "sinon": "^4.0.1",
  65. "superagent-defaults": "^0.1.14",
  66. "supertest": "^3.0.0"
  67. }
  68. }