|
3 | 3 | "description": "GitHub Action to manage labels on GitHub", |
4 | 4 | "main": "src/main.ts", |
5 | 5 | "scripts": { |
6 | | - "build": "ncc build --source-map --minify --license licenses.txt", |
7 | | - "lint": "eslint src/**/*.ts __tests__/**/*.ts", |
8 | | - "format": "eslint --fix src/**/*.ts __tests__/**/*.ts", |
9 | | - "test": "jest --coverage" |
| 6 | + "build": "ncc build src/main.ts --source-map --minify --license licenses.txt", |
| 7 | + "lint": "yarn run prettier && yarn run eslint", |
| 8 | + "format": "yarn run prettier:fix && yarn run eslint:fix", |
| 9 | + "eslint": "eslint --max-warnings=0 .", |
| 10 | + "eslint:fix": "eslint --fix .", |
| 11 | + "prettier": "prettier --check \"./**/*.ts\"", |
| 12 | + "prettier:fix": "prettier --write \"./**/*.ts\"", |
| 13 | + "test": "jest", |
| 14 | + "all": "yarn run build && yarn run format && yarn test" |
10 | 15 | }, |
11 | 16 | "repository": { |
12 | 17 | "type": "git", |
|
28 | 33 | }, |
29 | 34 | "devDependencies": { |
30 | 35 | "@types/node": "^20.6.0", |
31 | | - "@typescript-eslint/eslint-plugin": "^5.59.2", |
32 | | - "@typescript-eslint/parser": "^5.59.2", |
33 | | - "@vercel/ncc": "^0.36.1", |
34 | | - "dotenv": "^16.0.3", |
35 | | - "eslint": "^8.40.0", |
36 | | - "eslint-config-prettier": "^8.8.0", |
37 | | - "eslint-plugin-jest": "^27.2.1", |
38 | | - "eslint-plugin-prettier": "^4.2.1", |
39 | | - "jest": "^29.5.0", |
40 | | - "prettier": "^2.8.8", |
41 | | - "ts-jest": "^29.1.0", |
| 36 | + "@typescript-eslint/eslint-plugin": "^6.6.0", |
| 37 | + "@typescript-eslint/parser": "^6.6.0", |
| 38 | + "@vercel/ncc": "^0.38.0", |
| 39 | + "dotenv": "^16.3.1", |
| 40 | + "eslint": "^8.49.0", |
| 41 | + "eslint-config-prettier": "^9.0.0", |
| 42 | + "eslint-plugin-jest": "^27.2.3", |
| 43 | + "eslint-plugin-prettier": "^5.0.0", |
| 44 | + "jest": "^29.6.4", |
| 45 | + "prettier": "^3.0.3", |
| 46 | + "ts-jest": "^29.1.1", |
42 | 47 | "ts-node": "^10.9.1", |
43 | | - "typescript": "^4.9.5" |
| 48 | + "typescript": "^5.2.2" |
44 | 49 | } |
45 | 50 | } |
0 commit comments