package.json 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. {
  2. "name": "tweb-api",
  3. "version": "1.0.0",
  4. "main": "dist/app.js",
  5. "license": "MIT",
  6. "scripts": {
  7. "build": "tsc",
  8. "start": "node dist/server.js",
  9. "dev": "ts-node-dev --respawn --transpile-only src/server.ts",
  10. "typeorm": "typeorm-ts-node-commonjs",
  11. "test": "node --env-file=.env.test ./node_modules/mocha/bin/mocha --allow-uncaught"
  12. },
  13. "dependencies": {
  14. "@fastify/cors": "^11.0.1",
  15. "@fastify/env": "^5.0.2",
  16. "@fastify/jwt": "^9.1.0",
  17. "@fastify/multipart": "^9.0.3",
  18. "@fastify/swagger": "^9.4.2",
  19. "@fastify/swagger-ui": "^5.2.2",
  20. "@types/ali-oss": "^6.16.11",
  21. "ali-oss": "^6.23.0",
  22. "bcryptjs": "^3.0.2",
  23. "class-transformer": "^0.5.1",
  24. "class-validator": "^0.14.1",
  25. "dotenv": "^16.4.7",
  26. "fastify": "^5.2.2",
  27. "mysql2": "^3.14.0",
  28. "reflect-metadata": "^0.2.2",
  29. "tronweb": "^5.3.3",
  30. "typeorm": "^0.3.21",
  31. "web3": "^4.16.0"
  32. },
  33. "devDependencies": {
  34. "@types/bcryptjs": "^3.0.0",
  35. "@types/node": "^22.13.14",
  36. "pino-pretty": "^13.0.0",
  37. "ts-node-dev": "^2.0.0",
  38. "typescript": "^5.8.2"
  39. }
  40. }