Add lint-staged
This commit is contained in:
parent
28d2b2d38b
commit
2375765503
15 changed files with 511 additions and 211 deletions
|
|
@ -7,12 +7,12 @@
|
|||
"scripts": {
|
||||
"build": "npx spack",
|
||||
"lint": "npx eslint src/",
|
||||
"prepare": "husky install",
|
||||
"test": "jest",
|
||||
"test": "jest --passWithNoTests",
|
||||
"push": "yarn build && node ./upload.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@types/screeps": "^3.3.8"
|
||||
"@types/screeps": "^3.3.8",
|
||||
"screeps-profiler": "^3.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@eslint/js": "^9.39.2",
|
||||
|
|
@ -22,6 +22,7 @@
|
|||
"@swc/jest": "^0.2.39",
|
||||
"@types/jest": "^30.0.0",
|
||||
"@types/node": "^25.0.3",
|
||||
"@types/screeps-profiler": "^1.2.6",
|
||||
"@typescript-eslint/eslint-plugin": "^8.50.0",
|
||||
"@typescript-eslint/parser": "^8.50.0",
|
||||
"dotenv": "^17.2.3",
|
||||
|
|
@ -30,6 +31,7 @@
|
|||
"husky": "^9.1.7",
|
||||
"jest": "^30.2.0",
|
||||
"jiti": "^2.6.1",
|
||||
"lint-staged": "^16.2.7",
|
||||
"screeps-jest": "^2.0.3",
|
||||
"ts-node": "^10.9.2",
|
||||
"typescript": "^5.9.3",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue