Skip to content

Commit

Permalink
feat:common-configuration-firecamp-dev#85-Husky
Browse files Browse the repository at this point in the history
  • Loading branch information
bathini79 committed Nov 5, 2023
1 parent d0f1f26 commit 259a85a
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,14 @@
"lint": "eslint packages/firecamp-rest/src/**/*.{ts|tsx} packages/*.js packages-clients/*.js scripts webpack/*.js",
"test": "jest",
"prettify": "prettier --write \"platform/firecamp-platform/src/**/*.(ts|tsx)\" \"packages/firecamp-rest/src/**/*.(ts|tsx)\" \"packages/firecamp-graphql/src/**/*.(ts|tsx)\"",
"precommit": "lint-staged",
"preinstall": "npx only-allow pnpm"
"pre-commit": "pnpm --filter=@firecamp/platform --filter=@firecamp/ui pre-commit",
"preinstall": "npx only-allow pnpm",
"prepare": "husky install"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"**/*.ts": [
Expand Down Expand Up @@ -72,11 +78,11 @@
"eslint-plugin-react": "^7.20.5",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.5.0",
"husky": "^8.0.1",
"husky": "^8.0.3",
"ignore-loader": "^0.1.2",
"jest-css-modules": "^2.1.0",
"jest-css-modules-transform": "^4.4.2",
"lint-staged": "^13.1.2",
"lint-staged": "^15.0.2",
"node-polyfill-webpack-plugin": "^2.0.0",
"npm-run-all": "^4.1.5",
"postcss-loader": "^7.0.2",
Expand Down

0 comments on commit 259a85a

Please sign in to comment.