package.json 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. {
  2. "name": "@growi/slackbot-proxy",
  3. "version": "7.0.9-slackbot-proxy.0",
  4. "license": "MIT",
  5. "private": "true",
  6. "scripts": {
  7. "build": "yarn tsc && tsc-alias -p tsconfig.build.json",
  8. "clean": "shx rm -rf dist",
  9. "cp:public": "cp -RT ./src/public ./dist/public",
  10. "cp:views": "cp -RT ./src/views ./dist/views",
  11. "cp:bootstrap": "cp -RT ../../node_modules/bootstrap/dist ./dist/public/bootstrap",
  12. "cp:bootstrap:dev": "cp -RT ../../node_modules/bootstrap/dist ./src/public/bootstrap",
  13. "tsc": "tsc -p tsconfig.build.json",
  14. "tsc:w": "yarn tsc -w",
  15. "dev:ci": "yarn dev --ci",
  16. "dev": "cross-env NODE_ENV=development ts-node-dev -r tsconfig-paths/register -r dotenv-flow/config --transpile-only src/index.ts",
  17. "start:prod:ci": "yarn start:prod --ci",
  18. "start:prod": "cross-env NODE_ENV=production node -r dotenv-flow/config dist/index.js",
  19. "postbuild": "yarn cp:public && yarn cp:views && yarn cp:bootstrap",
  20. "predev": "yarn cp:bootstrap:dev",
  21. "lint:js": "yarn eslint src/**/*.{js,ts}",
  22. "lint:styles": "stylelint --allow-empty-input \"src/**/*.scss\" \"src/**/*.css\"",
  23. "lint:typecheck": "tsc",
  24. "lint": "run-p lint:*",
  25. "version": "yarn version --no-git-tag-version --preid=slackbot-proxy"
  26. },
  27. "// comments for dependencies": {
  28. "read-pkg-up": "v8 doesn't support CommonJS anymore. https://github.com/sindresorhus/read-pkg-up/issues/17",
  29. "typeorm": "Upgrading to v0.3.x requires significant changes. https://github.com/tsedio/tsed/blob/production/docs/tutorials/typeorm.md"
  30. },
  31. "dependencies": {
  32. "@godaddy/terminus": "^4.9.0",
  33. "@growi/slack": "link:../../packages/slack",
  34. "@slack/oauth": "^2.0.1",
  35. "@slack/web-api": "^6.2.4",
  36. "@tsed/common": "^6.43.0",
  37. "@tsed/di": "^6.43.0",
  38. "@tsed/platform-express": "^6.43.0",
  39. "@tsed/swagger": "^6.43.0",
  40. "@tsed/typeorm": "^6.43.0",
  41. "axios": "^0.24.0",
  42. "browser-bunyan": "^1.6.3",
  43. "bunyan": "^1.8.15",
  44. "compression": "^1.7.4",
  45. "cookie-parser": "^1.4.5",
  46. "date-fns": "^3.6.0",
  47. "express-bunyan-logger": "^1.3.3",
  48. "extensible-custom-error": "^0.0.7",
  49. "helmet": "^4.6.0",
  50. "http-errors": "^2.0.0",
  51. "method-override": "^3.0.0",
  52. "mysql2": "^2.2.5",
  53. "read-pkg-up": "^7.0.1",
  54. "typeorm": "=0.2.45",
  55. "universal-bunyan": "^0.9.2"
  56. },
  57. "// comments for devDependencies": {
  58. "bootstrap": "v5.3.3 has a bug. refs: https://github.com/twbs/bootstrap/issues/39798"
  59. },
  60. "devDependencies": {
  61. "@popperjs/core": "^2.11.8",
  62. "@tsed/core": "^6.43.0",
  63. "@tsed/exceptions": "^6.43.0",
  64. "@tsed/json-mapper": "^6.43.0",
  65. "@tsed/schema": "^6.43.0",
  66. "bootstrap": "=5.3.2",
  67. "browser-bunyan": "^1.6.3",
  68. "eslint-plugin-regex": "^1.8.0",
  69. "morgan": "^1.10.0",
  70. "tsc-alias": "^1.2.9"
  71. }
  72. }