Skip to content

Commit

Permalink
feat: add husky pre-commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
buuhuu committed Jul 19, 2024
1 parent a9b2b01 commit dc170f1
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
Empty file added .husky/pre-commit
Empty file.
16 changes: 16 additions & 0 deletions package-lock.json

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

4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"build:json": "npm-run-all -p build:json:models build:json:definitions build:json:filters",
"build:json:models": "merge-json-cli -i 'models/_component-models.json' -o 'component-models.json'",
"build:json:definitions": "merge-json-cli -i 'models/_component-definition.json' -o 'component-definition.json'",
"build:json:filters": "merge-json-cli -i 'models/_component-filters.json' -o 'component-filters.json'"
"build:json:filters": "merge-json-cli -i 'models/_component-filters.json' -o 'component-filters.json'",
"prepare": "husky"
},
"repository": {
"type": "git",
Expand All @@ -29,6 +30,7 @@
"eslint-plugin-import": "2.29.1",
"eslint-plugin-json": "3.1.0",
"eslint-plugin-xwalk": "github:adobe-rnd/eslint-plugin-xwalk#v0.1.0",
"husky": "^9.1.1",
"merge-json-cli": "github:buuhuu/merge-json-cli",
"npm-run-all": "^4.1.5",
"stylelint": "16.6.1",
Expand Down

0 comments on commit dc170f1

Please sign in to comment.