Skip to content

Commit

Permalink
Merge branch 'master' into ng15
Browse files Browse the repository at this point in the history
  • Loading branch information
maxisam committed Apr 10, 2023
2 parents 6e85966 + 72c7ec4 commit 9eaca49
Show file tree
Hide file tree
Showing 3 changed files with 124 additions and 75 deletions.
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

yarn lint-staged
13 changes: 4 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"node": ">=14.20.0"
},
"scripts": {
"prepare": "husky install",
"ng": "ng",
"prettier": "prettier --write \"**/*.{json,md,ts,html,component.html}\"",
"start": "ng serve",
Expand Down Expand Up @@ -53,30 +54,24 @@
"eslint": "^8.28.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"husky": "7.0.4",
"husky": "8.0.3",
"jasmine-core": "~3.10.1",
"jasmine-spec-reporter": "~7.0.0",
"karma": "~6.3.9",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage-istanbul-reporter": "~3.0.3",
"karma-jasmine": "~4.0.1",
"karma-jasmine-html-reporter": "^1.7.0",
"lint-staged": "12.0.2",
"ng-packagr": "^15.1.2",
"lint-staged": "13.1.1",
"prettier": "2.4.1",
"protractor": "~7.0.0",
"ts-node": "~10.4.0",
"typescript": "~4.8.4"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{json,md,ts,html,component.html}": [
"prettier --write",
"git add"
"prettier --write"
]
}
}

0 comments on commit 9eaca49

Please sign in to comment.