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:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: npm run format:check
|
- run: npm run format:ci
|
||||||
- run: npm run lint
|
- run: npm run lint
|
||||||
- run: npm run build
|
- run: npm run build
|
||||||
- run: npm run test:cov
|
- run: npm run test:cov
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
"prebuild": "rimraf lib",
|
"prebuild": "rimraf lib",
|
||||||
"build": "tsc",
|
"build": "tsc",
|
||||||
"format": "prettier --write \"src/**/*.ts\"",
|
"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",
|
"lint": "eslint -c .eslintrc.json --ext .ts --max-warnings 0 src",
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
"test:watch": "jest --watch",
|
"test:watch": "jest --watch",
|
||||||
|
Loading…
Reference in New Issue
Block a user