From b1d2b1f40dd40862547421738d941dcc41b5fd42 Mon Sep 17 00:00:00 2001 From: Nitin Kumar Date: Tue, 25 May 2021 20:16:33 +0530 Subject: [PATCH] chore: update npm scripts --- package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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",