change package.json command from npm to yarn

graphql
Jason Zhu 2023-06-02 22:20:23 +10:00
parent ad2317b524
commit e323616d6d
1 changed files with 3 additions and 3 deletions

View File

@ -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"