Skip to content

Commit 4e5aa6e

Browse files
authored
chore: update npm scripts (#920)
1 parent a0ccee7 commit 4e5aa6e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717
},
1818
"scripts": {
1919
"commitlint": "commitlint --from=master",
20-
"lint:prettier": "prettier \"{**/*,*}.{js,json,md,yml,css}\" --list-different",
20+
"fmt:check": "prettier \"{**/*,*}.{js,json,md,yml,css}\" --list-different",
2121
"lint:js": "eslint --cache src test",
22-
"lint": "npm-run-all -l -p \"lint:**\"",
23-
"fix:prettier": "npm run lint:prettier -- --write",
22+
"lint": "npm-run-all lint:js fmt:check",
23+
"fmt": "npm run fmt:check -- --write",
2424
"fix:js": "npm run lint:js -- --fix",
25-
"fix": "npm-run-all fix:js fix:prettier",
25+
"fix": "npm-run-all fix:js fmt",
2626
"prepare": "husky install && npm run build",
2727
"build": "del dist && babel src -d dist --copy-files",
2828
"release": "standard-version",

0 commit comments

Comments
 (0)