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": "^1.0.0",
  34. "@typegoose/typegoose": "^9.1.0",
  35. "apollo-server-core": "^3.4.0",
  36. "apollo-server-express": "^3.4.0",
  37. "class-validator": "^0.13.1",
  38. "date-fns": "^2.25.0",
  39. "dotenv": "^10.0.0",
  40. "express": "^4.17.1",
  41. "graphql": "15",
  42. "mongodb": "^4.1.3",
  43. "mongoose": "^6.0.10",
  44. "reflect-metadata": "^0.1.13",
  45. "type-graphql": "^1.1.1"
  46. },
  47. "devDependencies": {
  48. "@joystream/eslint-config": "^1.0.0",
  49. "@joystream/prettier-config": "^1.0.0",
  50. "@shelf/jest-mongodb": "^2.1.0",
  51. "@types/express": "^4.17.13",
  52. "@types/jest": "^27.0.2",
  53. "@types/node": "^14.11.2",
  54. "@typescript-eslint/eslint-plugin": "^5.0.0",
  55. "@typescript-eslint/parser": "^5.0.0",
  56. "eslint": "^7.32.0",
  57. "eslint-plugin-jest": "^25.2.1",
  58. "husky": "^4.3.0",
  59. "jest": "^27.2.5",
  60. "lint-staged": "^10.4.0",
  61. "prettier": "^2.4.1",
  62. "ts-jest": "^27.0.5",
  63. "ts-node": "^10.3.0",
  64. "ts-node-dev": "^1.1.8",
  65. "typescript": "^4.4.4"
  66. },
  67. "resolutions": {
  68. "@typescript-eslint/eslint-plugin": "^5.0.0",
  69. "@typescript-eslint/parser": "^5.0.0",
  70. "@types/serve-static": "1.13.10"
  71. },
  72. "engines": {
  73. "node": ">=12"
  74. }
  75. }