Skip to content

Commit

Permalink
refactor(scully): add husky and pretty-quick (#147)
Browse files Browse the repository at this point in the history
* refactor(scully): add husky and precise-commits

#143

* style(scully): change precise-commits by pretty-quick

#43
  • Loading branch information
Villanuevand authored and aaronfrost committed Jan 7, 2020
1 parent 1461e5c commit 68658ec
Show file tree
Hide file tree
Showing 3 changed files with 297 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .huskyrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"hooks": {
"pre-commit": "pretty-quick --staged"
}
}
290 changes: 290 additions & 0 deletions package-lock.json

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

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"scully:dev:run": "nodemon ./scully/bin/scully.js --ext js",
"scully:serve": "nodemon ./scully/bin/scully.js serve --ext js ",
"scully:dev:all": "ng build @scullyio/ng-lib && ng build && npm run scully:dev:compile && node ./scully/bin/scully",
"commitmsg": "node ./scripts/git/commit-msg.js",
"commit": "git add . && npx git-cz",
"build-bazel": "bazel build //...",
"test-bazel": "bazel test //...",
Expand Down Expand Up @@ -73,6 +72,7 @@
"front-matter": "^3.0.2",
"fs-extra": "^8.1.0",
"guess-parser": "^0.4.12",
"husky": "^4.0.0-beta.5",
"jasmine-core": "~3.5.0",
"jasmine-spec-reporter": "~4.2.1",
"jsonc": "^2.0.0",
Expand All @@ -85,6 +85,7 @@
"ng-packagr": "^9.0.0-rc.1",
"nodemon": "^1.19.4",
"prettier": "^1.19.1",
"pretty-quick": "^2.0.1",
"protractor": "~5.4.2",
"puppeteer": "^2.0.0",
"ts-node": "^8.3.0",
Expand Down

0 comments on commit 68658ec

Please sign in to comment.