package.json 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. {
  2. "name": "@growi/slackbot-proxy",
  3. "version": "6.0.11",
  4. "license": "MIT",
  5. "scripts": {
  6. "build": "yarn tsc && tsc-alias -p tsconfig.build.json",
  7. "clean": "npx -y shx rm -rf dist",
  8. "cp:public": "cp -RT ./src/public ./dist/public",
  9. "cp:views": "cp -RT ./src/views ./dist/views",
  10. "cp:bootstrap": "cp -RT ./node_modules/bootstrap/dist ./dist/public/bootstrap",
  11. "cp:bootstrap:dev": "cp -RT ./node_modules/bootstrap/dist ./src/public/bootstrap",
  12. "tsc": "tsc -p tsconfig.build.json",
  13. "tsc:w": "yarn tsc -w",
  14. "dev:ci": "yarn dev --ci",
  15. "dev": "cross-env NODE_ENV=development ts-node-dev -r tsconfig-paths/register -r dotenv-flow/config --transpile-only src/index.ts",
  16. "start:prod:ci": "yarn start:prod --ci",
  17. "start:prod": "cross-env NODE_ENV=production node -r dotenv-flow/config dist/index.js",
  18. "postbuild": "yarn cp:public && yarn cp:views && yarn cp:bootstrap",
  19. "predev": "yarn cp:bootstrap:dev",
  20. "test": "cross-env NODE_ENV=test jest --passWithNoTests",
  21. "lint": "eslint src --ext .ts",
  22. "lint:fix": "eslint src --ext .ts --fix"
  23. },
  24. "// comments for dependencies": {
  25. "read-pkg-up": "v8 doesn't support CommonJS anymore. https://github.com/sindresorhus/read-pkg-up/issues/17"
  26. },
  27. "dependencies": {
  28. "@godaddy/terminus": "^4.9.0",
  29. "@growi/slack": "^6.0.11",
  30. "@slack/oauth": "^2.0.1",
  31. "@slack/web-api": "^6.2.4",
  32. "@tsed/common": "^6.43.0",
  33. "@tsed/di": "^6.43.0",
  34. "@tsed/platform-express": "^6.43.0",
  35. "@tsed/swagger": "^6.43.0",
  36. "@tsed/typeorm": "^6.43.0",
  37. "axios": "^0.24.0",
  38. "browser-bunyan": "^1.6.3",
  39. "bunyan": "^1.8.15",
  40. "compression": "^1.7.4",
  41. "cookie-parser": "^1.4.5",
  42. "date-fns": "^2.23.0",
  43. "express-bunyan-logger": "^1.3.3",
  44. "extensible-custom-error": "^0.0.7",
  45. "helmet": "^4.6.0",
  46. "http-errors": "^2.0.0",
  47. "method-override": "^3.0.0",
  48. "mysql2": "^2.2.5",
  49. "read-pkg-up": "^7.0.1",
  50. "typeorm": "^0.2.31",
  51. "universal-bunyan": "^0.9.2"
  52. },
  53. "devDependencies": {
  54. "@tsed/core": "^6.43.0",
  55. "@tsed/exceptions": "^6.43.0",
  56. "@tsed/json-mapper": "^6.43.0",
  57. "@tsed/schema": "^6.43.0",
  58. "bootstrap": "^5.0.2",
  59. "browser-bunyan": "^1.6.3",
  60. "eslint-plugin-regex": "^1.8.0",
  61. "morgan": "^1.10.0",
  62. "ts-node-dev": "^2.0.0",
  63. "tsc-alias": "^1.2.9"
  64. }
  65. }