Skip to content

Commit

Permalink
Fix up prettier, use prepare script
Browse files Browse the repository at this point in the history
  • Loading branch information
blakeembrey committed Jan 28, 2019
1 parent 2ace0d4 commit 05e1904
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

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

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
],
"scripts": {
"prettier": "prettier --write",
"format": "npm run prettier -- \"{.,src/**}/*.{js,ts,json,md,yml}\"",
"format": "npm run prettier -- \"{.,src/**}/*.{js,ts,json,md,yml,css}\"",
"lint": "tslint \"src/**/*.ts\" --project tsconfig.json",
"build": "rm -rf dist/ && tsc",
"specs": "jest --coverage",
"test": "npm run lint && npm run build && npm run specs",
"prepublish": "npm run build"
"prepare": "npm run build"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -59,7 +59,7 @@
}
},
"lint-staged": {
"*.{js,json,css,md}": [
"*.{js,ts,json,md,yml,css}": [
"npm run prettier",
"git add"
]
Expand Down

0 comments on commit 05e1904

Please sign in to comment.