Skip to content

Commit

Permalink
Edit scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
scottrosen14 committed Nov 21, 2024
1 parent 46b5771 commit b452c14
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@
"build": "react-scripts build",
"test": "jest",
"eject": "react-scripts eject",
"fix": "eslint --fix --ext js,jsx,ts,tsx . && prettier -w .",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,css,scss}\"",
"lint": "eslint --ext js,jsx --max-warnings 0 . && prettier -c .",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,md}\"",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"lint:fix": "npm run lint --fix && npm run format",
"prepare-husky": "husky",
"cy:dev": "npm start & wait-on http://localhost:3000 && STAGE_ENV=development cypress run",
"cy:prod": "npm run build && STAGE_ENV=production cypress run",
Expand All @@ -88,8 +88,8 @@
]
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": "eslint --fix",
"*": "prettier -w"
"*.{js,jsx,ts,tsx}": "npm run lint:fix",
"*": "npm run format"
},
"devDependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
Expand Down

0 comments on commit b452c14

Please sign in to comment.