Skip to content

Commit

Permalink
build: split pre-commit as two part
Browse files Browse the repository at this point in the history
  • Loading branch information
ElonH committed Jun 8, 2020
1 parent aa3fc66 commit 5530adb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"author": "ElonH <elonhhuang@gmail.com>",
"license": "MIT",
"scripts": {
"pre-commit": "pretty-quick --staged && ng lint --fix",
"format": "pretty-quick --staged",
"lint:fix": "ng lint --fix",
"commit": "git-cz",
"build:prod": "npm run build -- --prod --aot",
"start": "ng serve",
Expand Down

0 comments on commit 5530adb

Please sign in to comment.