package.json 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. {
  2. "repository": "https://github.com/Joystream/community-repo",
  3. "license": "GPL-3.0-or-later",
  4. "scripts": {
  5. "build": "tsc",
  6. "start": "ts-node src/bot.ts",
  7. "all": "ts-node src/bot.ts --channel --council --forum --proposals",
  8. "quiet": "ts-node src/bot.ts --quiet --channel --council --forum --proposals",
  9. "verbose": "ts-node src/bot.ts --verbose --channel --council --forum --proposals",
  10. "trace": "node --trace-deprecation dist/src/bot.js --verbose",
  11. "channel": "ts-node src/bot.ts --channel",
  12. "council": "ts-node src/bot.ts --council",
  13. "forum": "ts-node src/bot.ts --forum",
  14. "proposals": "ts-node src/bot.ts --proposals",
  15. "channel-verbose": "ts-node src/bot.ts --verbose --channel",
  16. "council-verbose": "ts-node src/bot.ts --verbose --council",
  17. "forum-verbose": "ts-node src/bot.ts --verbose --forum",
  18. "proposals-verbose": "ts-node src/bot.ts --proposals",
  19. "dev": "ts-node-dev --respawn src/bot.ts --verbose --channel --council --forum --proposals",
  20. "channel-dev": "ts-node-dev --respawn src/bot.ts --verbose --channel",
  21. "council-dev": "ts-node-dev --respawn src/bot.ts --verbose --council",
  22. "forum-dev": "ts-node-dev --respawn src/bot.ts --verbose --forum",
  23. "proposal-dev": "ts-node-dev --respawn src/bot.ts --verbose --proposals",
  24. "tests": "ts-node src/tests.ts"
  25. },
  26. "dependencies": {
  27. "@joystream/types": "^0.17.1",
  28. "@polkadot/api": "^5.9.1",
  29. "axios": "^0.21.1",
  30. "discord.js": "^13.6.0",
  31. "dotenv": "^16.0.0",
  32. "moment": "^2.29.4",
  33. "moment-duration-format": "^2.3.2",
  34. "node-schedule": "^2.1.0",
  35. "node-telegram-bot-api": "^0.51.0",
  36. "ws": "^7.4.1"
  37. },
  38. "devDependencies": {
  39. "@types/node-schedule": "^1.3.2",
  40. "@types/node-telegram-bot-api": "^0.51.0",
  41. "ts-node": "^9.0.0",
  42. "ts-node-dev": "^1.0.0-pre.63",
  43. "typescript": "^4.0.3"
  44. }
  45. }