3
0
Fork 0
mirror of https://github.com/ZeppelinBot/Zeppelin.git synced 2025-03-14 21:31:50 +00:00
zeppelin/package.json
Dragory 509d96ce83
refactor: new dev/prod containers
- Use a single Dockerfile for all Zeppelin services
- Add a Dockerfile in project root that can be used by
  app hosting services
- Provide a standalone and lightweight prod setup
  - Standalone is the same as the old setup, with mysql+nginx
  - Lightweight only runs bot+backend+dash, no mysql/nginx
- Remove mounted mysql data folders for dev and prod
  - This resolves permission issues caused by the mount
  - The mysql service uses a regular named volume now
- Simplify .env options and clearly separate different prod setups
- Remove update.sh
  - Different setups require different update procedures, so a common
    update.sh no longer works
2024-03-17 18:49:31 +02:00

45 lines
1.3 KiB
JSON

{
"name": "@zeppelinbot/zeppelin",
"version": "0.0.1",
"description": "",
"private": true,
"scripts": {
"format": "prettier --write \"./backend/src/**/*.{css,html,js,json,ts,tsx}\" \"./dashboard/src/**/*.{css,html,js,json,ts,tsx}\"",
"lint": "eslint \"./backend/src/**/*.{js,ts,tsx}\" \"./dashboard/src/**/*.{js,ts,tsx}\"",
"codestyle-check": "prettier --check \"./backend/src/**/*.{css,html,js,json,ts,tsx}\" \"./dashboard/src/**/*.{css,html,js,json,ts,tsx}\"",
"start-bot": "cd backend && npm run start-bot-prod",
"start-api": "cd backend && npm run start-api-prod",
"start-dashboard": "cd dashboard && node serve.js"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.59.5",
"@typescript-eslint/parser": "^5.59.5",
"eslint": "^8.40.0",
"eslint-config-prettier": "^8.8.0",
"husky": "^3.0.9",
"lint-staged": "^9.4.2",
"prettier": "^2.8.4",
"prettier-plugin-organize-imports": "^3.2.2",
"ts-toolbelt": "^9.6.0",
"tsc-watch": "^6.0.4",
"typescript": "^5.0.4"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.ts": [
"eslint",
"prettier --write",
"git add"
]
},
"workspaces": [
"shared",
"backend",
"dashboard"
]
}