Skip to content

Commit b042e08

Browse files
chore: update npm scripts (#3346)
Co-authored-by: Alexander Akait <[email protected]>
1 parent 216b0d3 commit b042e08

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@
1414
"node": ">= 12.13.0"
1515
},
1616
"scripts": {
17-
"lint:prettier": "prettier \"{**/*,*}.{js,json,md,yml,css}\" --list-different",
17+
"fmt:check": "prettier \"{**/*,*}.{js,json,md,yml,css,ts}\" --list-different",
1818
"lint:js": "eslint . --cache",
19-
"lint": "npm-run-all -l -p \"lint:**\"",
2019
"lint:type": "tsc --noEmit",
21-
"fix:prettier": "npm run lint:prettier -- --write",
20+
"lint": "npm-run-all lint:js lint:type fmt:check",
21+
"fmt": "npm run fmt:check -- --write",
2222
"fix:js": "npm run lint:js -- --fix",
23-
"fix": "npm-run-all fix:js fix:prettier",
23+
"fix": "npm-run-all fix:js fmt",
2424
"commitlint": "commitlint --from=master",
2525
"test:only": "jest --forceExit",
2626
"test:coverage": "npm run test:only -- --coverage",

0 commit comments

Comments
 (0)