moex-vibe/package.json

35 lines
1.1 KiB
JSON

{
"name": "moex-vibe",
"private": true,
"workspaces": [
"apps/backend",
"apps/frontend",
"apps/docs"
],
"scripts": {
"dev:backend": "npm run start:dev -w apps/backend",
"dev:frontend": "npm run dev -w apps/frontend",
"build:backend": "npm run build -w apps/backend",
"build:frontend": "npm run build -w apps/frontend",
"test:backend": "npm run test -w apps/backend",
"test:frontend": "npm run test -w apps/frontend",
"lint": "npm run lint -w apps/backend && npm run lint -w apps/frontend",
"format": "prettier --write \"**/*.{ts,tsx}\"",
"format:check": "prettier --check \"**/*.{ts,tsx}\"",
"dev:docs": "npm run dev -w apps/docs",
"build:docs": "npm run build -w apps/docs",
"prepare": "husky"
},
"lint-staged": {
"apps/backend/src/**/*.ts": ["eslint --max-warnings=0"],
"apps/backend/test/**/*.ts": ["eslint --max-warnings=0"],
"apps/frontend/src/**/*.{ts,tsx}": ["eslint --max-warnings=0"],
"**/*.{ts,tsx}": ["prettier --check"]
},
"devDependencies": {
"husky": "^9.1.7",
"lint-staged": "^16.4.0",
"prettier": "^3.0.0"
}
}