Skip to content

Commit

Permalink
chore: add lint:ts script
Browse files Browse the repository at this point in the history
  • Loading branch information
VChet committed Jul 29, 2024
1 parent ee369d4 commit 25b2016
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ jobs:
with:
node-version: "20"
- run: npm ci
- run: npm run lint
- run: npm run lint:all
- run: npm run generate all
13 changes: 6 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 7 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,22 +19,24 @@
"scripts": {
"generate": "tsx src/generate.ts",
"build": "npm run generate all",
"lint": "eslint .",
"lint:fix": "npm run lint -- --fix",
"lint:ts": "tsc --noEmit",
"lint:js": "eslint .",
"lint:js:fix": "npm run lint -- --fix",
"lint:all": "npm run lint:ts && npm run lint:js",
"preversion": "npm run generate all",
"version": "tsx src/bump.ts"
},
"dependencies": {
"archiver": "^7.0.1",
"picocolors": "^1.0.1",
"pngjs": "^7.0.0",
"tsx": "^4.16.2"
"tsx": "^4.16.2",
"typescript": "^5.5.4"
},
"devDependencies": {
"@types/archiver": "^6.0.2",
"@types/pngjs": "^6.0.5",
"eslint": "^9.8.0",
"neostandard": "^0.11.1",
"typescript": "^5.5.3"
"neostandard": "^0.11.1"
}
}

0 comments on commit 25b2016

Please sign in to comment.