package.json 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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": "yarn lint:ts && yarn lint:prettier",
  25. "lint:ts": "eslint --ext .ts --max-warnings 0 ./src",
  26. "lint:prettier": "prettier --check ./src",
  27. "test": "jest"
  28. },
  29. "lint-staged": {
  30. "*.{ts,json}": [
  31. "prettier --write"
  32. ]
  33. },
  34. "dependencies": {
  35. "@graphql-tools/graphql-file-loader": "^7.3.3",
  36. "@graphql-tools/load": "^7.4.1",
  37. "@graphql-tools/schema": "^8.3.1",
  38. "@graphql-tools/stitch": "^8.4.1",
  39. "@graphql-tools/url-loader": "^7.5.2",
  40. "@typegoose/auto-increment": "^1.3.0",
  41. "@typegoose/typegoose": "^9.8.1",
  42. "apollo-server-core": "^3.8.1",
  43. "apollo-server-express": "^3.8.1",
  44. "class-validator": "^0.13.2",
  45. "date-fns": "^2.28.0",
  46. "dotenv": "^16.0.1",
  47. "express": "^4.18.1",
  48. "graphql": "^15.8.0",
  49. "lodash": "^4.17.21",
  50. "mongodb": "^4.6.0",
  51. "mongoose": "^6.3.4",
  52. "reflect-metadata": "^0.1.13",
  53. "type-graphql": "^1.1.1"
  54. },
  55. "devDependencies": {
  56. "@joystream/prettier-config": "^1.0.0",
  57. "@shelf/jest-mongodb": "^3.0.0",
  58. "@types/express": "^4.17.13",
  59. "@types/jest": "^27.5.1",
  60. "@types/lodash": "^4.14.182",
  61. "@types/node": "^16.11.36",
  62. "@types/validator": "^13.7.2",
  63. "@typescript-eslint/eslint-plugin": "^5.27.0",
  64. "@typescript-eslint/parser": "^5.27.0",
  65. "eslint": "^8.16.0",
  66. "eslint-config-prettier": "^8.5.0",
  67. "eslint-plugin-jest": "^26.4.5",
  68. "husky": "^4.3.0",
  69. "jest": "^28.1.0",
  70. "lint-staged": "^12.4.3",
  71. "prettier": "^2.6.2",
  72. "ts-jest": "^28.0.3",
  73. "ts-node": "^10.8.0",
  74. "ts-node-dev": "^2.0.0",
  75. "typescript": "^4.7.2"
  76. },
  77. "resolutions": {
  78. "cross-undici-fetch": "0.4.3"
  79. },
  80. "engines": {
  81. "node": "^16.13.1"
  82. },
  83. "packageManager": "yarn@3.2.1"
  84. }