Skip to content

Commit

Permalink
add single lint script, re-name scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
cloverich committed Jan 20, 2024
1 parent d73f373 commit 6e4d611
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ jobs:
with:
node-version: 20.x
- run: yarn install
- run: yarn run lint:check:prettier
- run: yarn run lint:check:types
- run: yarn run lint:prettier:check
- run: yarn run lint:types:check
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@
"main": "main.bundle.js",
"license": "UNLICENSED",
"scripts": {
"lint:check:prettier": "prettier . --check",
"lint:check:types": "tsc --noEmit --skipLibCheck",
"lint": "yarn run lint:prettier:check && yarn run lint:types:check",
"lint:prettier:check": "prettier . --check",
"lint:prettier:write": "prettier . --write",
"lint:types:check": "tsc --noEmit --skipLibCheck",
"start": "node ./scripts/dev.js",
"test": "mocha -r esm -r ts-node/register src/**/*.test.ts",
"test:one": "mocha -r ts-node/register -r esm"
Expand Down

0 comments on commit 6e4d611

Please sign in to comment.