package.json 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. {
  2. "name": "orion",
  3. "version": "1.0.0",
  4. "description": "Video view count service for Joystream",
  5. "license": "ISC",
  6. "directories": {
  7. "src": "src"
  8. },
  9. "files": [
  10. "src"
  11. ],
  12. "repository": {
  13. "type": "git",
  14. "url": "https://github.com/Joystream/joystream.git"
  15. },
  16. "bugs": {
  17. "url": "https://github.com/Joystream/joystream/issues"
  18. },
  19. "scripts": {
  20. "clean": "rm -rf dist",
  21. "dev": "NODE_ENV=development ts-node-dev --respawn src/main.ts",
  22. "build": "yarn clean && yarn tsc -p tsconfig.build.json",
  23. "start": "node dist/main.js",
  24. "lint": "eslint . --ext .ts",
  25. "test": "jest"
  26. },
  27. "lint-staged": {
  28. "*.{ts,json}": [
  29. "prettier --write"
  30. ]
  31. },
  32. "dependencies": {
  33. "@typegoose/auto-increment": "^0.6.0",
  34. "@typegoose/typegoose": "^7.4.1",
  35. "apollo-server-express": "^2.19.1",
  36. "class-validator": "^0.12.2",
  37. "date-fns": "^2.22.1",
  38. "dotenv": "^8.2.0",
  39. "express": "^4.17.1",
  40. "graphql": "15",
  41. "mongodb": "^3.6.3",
  42. "mongoose": "^5.10.7",
  43. "reflect-metadata": "^0.1.13",
  44. "type-graphql": "^1.0.0"
  45. },
  46. "devDependencies": {
  47. "@joystream/eslint-config": "^1.0.0",
  48. "@joystream/prettier-config": "^1.0.0",
  49. "@shelf/jest-mongodb": "^1.2.3",
  50. "@types/express": "^4.17.8",
  51. "@types/jest": "^26.0.19",
  52. "@types/mongoose": "^5.7.36",
  53. "@types/node": "^14.11.2",
  54. "@typescript-eslint/eslint-plugin": "^4.10.0",
  55. "@typescript-eslint/parser": "^4.10.0",
  56. "apollo-server-testing": "^2.19.1",
  57. "eslint": "^7.10.0",
  58. "eslint-plugin-jest": "^24.1.3",
  59. "husky": "^4.3.0",
  60. "jest": "^26.6.3",
  61. "lint-staged": "^10.4.0",
  62. "prettier": "^2.1.2",
  63. "ts-jest": "^26.4.4",
  64. "ts-node": "^9.0.0",
  65. "ts-node-dev": "^1.0.0-pre.63",
  66. "typescript": "^4.0.3"
  67. },
  68. "resolutions": {
  69. "@typescript-eslint/eslint-plugin": "^4.10.0",
  70. "@typescript-eslint/parser": "^4.10.0"
  71. },
  72. "engines": {
  73. "node": ">=12"
  74. }
  75. }