package.json 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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. },
  71. "engines": {
  72. "node": ">=12"
  73. }
  74. }