Skip to content

Commit

Permalink
feat:common-configuration-#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 c549518
Show file tree
Hide file tree
Showing 4 changed files with 60 additions and 124 deletions.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
"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"
"preinstall": "npx only-allow pnpm",
"pre-commit": "pnpm run --filter \"@platform/*\" pre-commit",
"prepare": "husky install"
},
"lint-staged": {
"**/*.ts": [
Expand Down Expand Up @@ -72,7 +74,7 @@
"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",
Expand Down
3 changes: 2 additions & 1 deletion platform/firecamp-platform/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@
"doc:json": "typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --json build/docs/typedoc.json",
"version": "standard-version",
"reset-hard": "git clean -dfx && git reset --hard && npm i",
"prepare-release": "run-s reset-hard test cov:check doc:html version doc:publish"
"prepare-release": "run-s reset-hard test cov:check doc:html version doc:publish",
"pre-commit": "lint-staged"
},
"engines": {
"node": ">=10"
Expand Down
3 changes: 2 additions & 1 deletion platform/firecamp-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
"chromatic": "npx chromatic --project-token=4db217014cde004",
"build": "cross-env BABEL_ENV=production babel src -d dist && tsc && pnpm copy-files",
"copy-files": "copyfiles -u 1 \"src/**/*.sass\" \"src/**/*.scss\" \"src/**/*.css\" dist/",
"storybook:deploy": "pnpm chromatic --project-token=$(grep 'FIRECAMP_STORYBOOK_DEPLOY' ../../.env | cut -d '=' -f 2)"
"storybook:deploy": "pnpm chromatic --project-token=$(grep 'FIRECAMP_STORYBOOK_DEPLOY' ../../.env | cut -d '=' -f 2)",
"pre-commit": "lint-staged"
},
"bugs": {
"url": "https://github.com/firecamp-dev/firecamp/issues"
Expand Down
172 changes: 52 additions & 120 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c549518

Please sign in to comment.