Skip to content

Commit

Permalink
feat(cli): add pretty-quick #6
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Mollweide committed Jul 18, 2019
1 parent 71b348a commit c7523f4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cli/templates/prettier/package-githooks.json
Expand Up @@ -2,7 +2,7 @@
"lint-staged": {
"linters": {
"*.{js,jsx,ts,tsx,json}": [
"prettier --list-different --write"
"pretty-quick --staged"
]
}
},
Expand All @@ -16,6 +16,7 @@
},
"devDependencies": {
"prettier": "1.18.2",
"pretty-quick": "1.11.1",
"@namics/prettier-config": "0.2.0",
"husky": "3.0.0",
"lint-staged": "9.2.0"
Expand Down
3 changes: 3 additions & 0 deletions cli/templates/webpack/package.json
Expand Up @@ -8,5 +8,8 @@
"build": "webpack --mode production",
"postinstall": "npm rebuild node-sass",
"start": "webpack-dev-server --mode development"
},
"devDependencies": {
"css-loader": "3.0.0"
}
}

0 comments on commit c7523f4

Please sign in to comment.