package.json 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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. "@joystream/js": "^1.3.0",
  41. "@typegoose/auto-increment": "^1.3.0",
  42. "@typegoose/typegoose": "^9.8.1",
  43. "apollo-server-core": "^3.8.1",
  44. "apollo-server-express": "^3.8.1",
  45. "class-validator": "^0.13.2",
  46. "date-fns": "^2.28.0",
  47. "dotenv": "^16.0.1",
  48. "express": "^4.18.1",
  49. "graphql": "^15.8.0",
  50. "lodash": "^4.17.21",
  51. "mongodb": "^4.6.0",
  52. "mongoose": "^6.3.4",
  53. "reflect-metadata": "^0.1.13",
  54. "type-graphql": "^1.1.1"
  55. },
  56. "devDependencies": {
  57. "@joystream/prettier-config": "^1.0.0",
  58. "@shelf/jest-mongodb": "^3.0.0",
  59. "@types/express": "^4.17.13",
  60. "@types/jest": "^27.5.1",
  61. "@types/lodash": "^4.14.182",
  62. "@types/node": "^16.11.36",
  63. "@types/validator": "^13.7.2",
  64. "@typescript-eslint/eslint-plugin": "^5.27.0",
  65. "@typescript-eslint/parser": "^5.27.0",
  66. "eslint": "^8.16.0",
  67. "eslint-config-prettier": "^8.5.0",
  68. "eslint-plugin-jest": "^26.4.5",
  69. "husky": "^4.3.0",
  70. "jest": "^28.1.0",
  71. "lint-staged": "^12.4.3",
  72. "prettier": "^2.6.2",
  73. "ts-jest": "^28.0.3",
  74. "ts-node": "^10.8.0",
  75. "ts-node-dev": "^2.0.0",
  76. "typescript": "^4.7.2"
  77. },
  78. "resolutions": {
  79. "cross-undici-fetch": "0.4.3"
  80. },
  81. "engines": {
  82. "node": "^16.13.1"
  83. },
  84. "packageManager": "yarn@3.2.1"
  85. }