diff --git a/package.json b/package.json index 05cef5e1b..ecc52d564 100644 --- a/package.json +++ b/package.json @@ -17,12 +17,12 @@ }, "scripts": { "commitlint": "commitlint --from=master", - "lint:prettier": "prettier \"{**/*,*}.{js,json,md,yml,css}\" --list-different", + "fmt:check": "prettier \"{**/*,*}.{js,json,md,yml,css}\" --list-different", "lint:js": "eslint --cache src test", - "lint": "npm-run-all -l -p \"lint:**\"", - "fix:prettier": "npm run lint:prettier -- --write", + "lint": "npm-run-all lint:js fmt:check", + "fmt": "npm run fmt:check -- --write", "fix:js": "npm run lint:js -- --fix", - "fix": "npm-run-all fix:js fix:prettier", + "fix": "npm-run-all fix:js fmt", "prepare": "husky install && npm run build", "build": "del dist && babel src -d dist --copy-files", "release": "standard-version",