Skip to content

Commit 68658ec

Browse files
Villanuevandaaronfrost
authored andcommitted
refactor(scully): add husky and pretty-quick (#147)
* refactor(scully): add husky and precise-commits #143 * style(scully): change precise-commits by pretty-quick #43
1 parent 1461e5c commit 68658ec

File tree

3 files changed

+297
-1
lines changed

3 files changed

+297
-1
lines changed

.huskyrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"hooks": {
3+
"pre-commit": "pretty-quick --staged"
4+
}
5+
}

package-lock.json

Lines changed: 290 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
"scully:dev:run": "nodemon ./scully/bin/scully.js --ext js",
2222
"scully:serve": "nodemon ./scully/bin/scully.js serve --ext js ",
2323
"scully:dev:all": "ng build @scullyio/ng-lib && ng build && npm run scully:dev:compile && node ./scully/bin/scully",
24-
"commitmsg": "node ./scripts/git/commit-msg.js",
2524
"commit": "git add . && npx git-cz",
2625
"build-bazel": "bazel build //...",
2726
"test-bazel": "bazel test //...",
@@ -73,6 +72,7 @@
7372
"front-matter": "^3.0.2",
7473
"fs-extra": "^8.1.0",
7574
"guess-parser": "^0.4.12",
75+
"husky": "^4.0.0-beta.5",
7676
"jasmine-core": "~3.5.0",
7777
"jasmine-spec-reporter": "~4.2.1",
7878
"jsonc": "^2.0.0",
@@ -85,6 +85,7 @@
8585
"ng-packagr": "^9.0.0-rc.1",
8686
"nodemon": "^1.19.4",
8787
"prettier": "^1.19.1",
88+
"pretty-quick": "^2.0.1",
8889
"protractor": "~5.4.2",
8990
"puppeteer": "^2.0.0",
9091
"ts-node": "^8.3.0",

0 commit comments

Comments
 (0)