rename format ci script
This commit is contained in:
parent
a8f107ce1f
commit
8447f4c90f
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@ -21,7 +21,7 @@ jobs:
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- run: npm ci
|
||||
- run: npm run format:check
|
||||
- run: npm run format:ci
|
||||
- run: npm run lint
|
||||
- run: npm run build
|
||||
- run: npm run test:cov
|
||||
|
@ -22,7 +22,7 @@
|
||||
"prebuild": "rimraf lib",
|
||||
"build": "tsc",
|
||||
"format": "prettier --write \"src/**/*.ts\"",
|
||||
"format:check": "prettier --list-different \"src/**/*.ts\"",
|
||||
"format:ci": "prettier --list-different \"src/**/*.ts\"",
|
||||
"lint": "eslint -c .eslintrc.json --ext .ts --max-warnings 0 src",
|
||||
"test": "jest",
|
||||
"test:watch": "jest --watch",
|
||||
|
Loading…
Reference in New Issue
Block a user