| 1 | { |
| 2 | "name": "root", |
| 3 | "private": true, |
| 4 | "devDependencies": { |
| 5 | "@typescript-eslint/eslint-plugin": "^7.18.0", |
| 6 | "@typescript-eslint/parser": "^7.18.0", |
| 7 | "eslint": "^8.57.1", |
| 8 | "eslint-config-airbnb": "^19.0.4", |
| 9 | "eslint-config-prettier": "^9.1.0", |
| 10 | "eslint-plugin-import": "^2.29.1", |
| 11 | "eslint-plugin-prettier": "^5.2.1", |
| 12 | "husky": "^9.1.6", |
| 13 | "lint-staged": "^15.2.10", |
| 14 | "prettier": "3.3.3", |
| 15 | "turbo": "^2.1.3" |
| 16 | }, |
| 17 | "scripts": { |
| 18 | "lint": "eslint .", |
| 19 | "lint:fix": "pnpm lint --fix", |
| 20 | "build": "pnpm run -r build", |
| 21 | "test": "pnpm run -r test", |
| 22 | "test:overwrite": "pnpm run -r test:overwrite", |
| 23 | "postinstall": "husky install && pnpm build", |
| 24 | "pre-commit": "lint-staged && pnpm test", |
| 25 | "clean": "git clean -Xdf ." |
| 26 | }, |
| 27 | "packageManager": "[email protected]", |
| 28 | "workspaces": [ |
| 29 | "eslint/*", |
| 30 | "types", |
| 31 | "types/docs-generator", |
| 32 | "shared", |
| 33 | "generators", |
| 34 | "helpers", |
| 35 | "hooks", |
| 36 | "merge", |
| 37 | "integrations/oclif", |
| 38 | "integrations/commander", |
| 39 | "cli/create-completion-spec", |
| 40 | "cli/publish-spec", |
| 41 | "cli/tools-cli" |
| 42 | ], |
| 43 | "lint-staged": { |
| 44 | "*.{ts,js,tsx}": "eslint --fix" |
| 45 | }, |
| 46 | "fig": { |
| 47 | "lint": { |
| 48 | "description": "Lint the code and find errors", |
| 49 | "icon": "🔍" |
| 50 | }, |
| 51 | "lint:fix": { |
| 52 | "description": "Lint the code and fix errors", |
| 53 | "icon": "🧰" |
| 54 | } |
| 55 | } |
| 56 | } |