From e323616d6da181f82da60c3b5310bbd38c10312a Mon Sep 17 00:00:00 2001 From: Jason Zhu Date: Fri, 2 Jun 2023 22:20:23 +1000 Subject: [PATCH] change package.json command from npm to yarn --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 22775c8..753f2f7 100644 --- a/package.json +++ b/package.json @@ -24,12 +24,12 @@ "test:watchAll": "react-scripts test --watchAll", "eject": "react-scripts eject", "prettier": "prettier \"src/**/*.{js,jsx,ts,tsx,css,scss,md}\" --write", - "format:check": "npm run prettier -- --check", - "format:write": "npm run prettier -- --write", + "format:check": "yarn prettier -- --check", + "format:write": "yarn prettier -- --write", "types:check": "tsc --noEmit --pretty", "lint": "eslint --ext .js,.jsx,.ts,.tsx src --no-error-on-unmatched-pattern", "lint:fix": "eslint --ext .js,.jsx,.ts,.tsx src --fix --no-error-on-unmatched-pattern", - "fix": "npm run format:write && npm run lint:fix", + "fix": "yarn format:write && yarn lint:fix", "storybook": "storybook dev -p 6006 -s public", "build-storybook": "storybook build -s public", "chromatic": "npx chromatic --project-token=chpt_df2240e310a4eff"