|
17 | 17 | "url": "https://github.com/typescript-eslint/typescript-eslint/issues"
|
18 | 18 | },
|
19 | 19 | "scripts": {
|
20 |
| - "postinstall": "lerna bootstrap && yarn build && lerna link", |
21 |
| - "test": "lerna run test --parallel", |
22 | 20 | "build": "lerna run build",
|
23 | 21 | "clean": "lerna clean && lerna run clean",
|
24 |
| - "typecheck": "lerna run typecheck", |
25 |
| - "lint": "eslint . --ext .js,.ts", |
26 |
| - "lint-fix": "eslint . --ext .js,.ts --fix", |
27 | 22 | "cz": "git-cz",
|
28 |
| - "check-format": "prettier --list-different \"./**/*.{ts,js,json,md}\"", |
| 23 | + "generate-contributors": "yarn ts-node ./tools/generate-contributors.ts && yarn all-contributors generate", |
29 | 24 | "format": "prettier --write \"./**/*.{ts,js,json,md}\"",
|
| 25 | + "format-check": "prettier --list-different \"./**/*.{ts,js,json,md}\"", |
30 | 26 | "integration-tests": "docker-compose -f tests/integration/docker-compose.yml up",
|
31 | 27 | "kill-integration-test-containers": "docker-compose -f tests/integration/docker-compose.yml down -v --rmi local",
|
32 |
| - "generate-contributors": "yarn ts-node ./tools/generate-contributors.ts && yarn all-contributors generate" |
| 28 | + "lint": "eslint . --ext .js,.ts", |
| 29 | + "lint-fix": "eslint . --ext .js,.ts --fix", |
| 30 | + "pre-commit": "yarn lint-staged", |
| 31 | + "pre-push": "yarn lint && yarn typecheck && yarn format-check", |
| 32 | + "postinstall": "lerna bootstrap && yarn build && lerna link", |
| 33 | + "test": "lerna run test --parallel", |
| 34 | + "typecheck": "lerna run typecheck" |
33 | 35 | },
|
34 | 36 | "config": {
|
35 | 37 | "commitizen": {
|
|
0 commit comments