Skip to content

Commit

Permalink
📺 Use prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
Robin Pokorny committed Jul 7, 2019
1 parent 6da2267 commit ea9fef2
Show file tree
Hide file tree
Showing 2 changed files with 3,357 additions and 1,898 deletions.
19 changes: 16 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@
"main": "./index.js",
"scripts": {
"prepublish": "yarn test",
"test": "standard && jest"
"test": "jest"
},
"author": "Robin Pokorny <me@robinpokorny.com> (http://robinpokorny.com)",
"license": "MIT",
"devDependencies": {
"jest": "21.0.0",
"standard": "11.0.0"
"husky": ">=1",
"jest": "24.8.0",
"lint-staged": ">=8",
"prettier": "1.18.2"
},
"keywords": [
"EventEmitter",
Expand All @@ -31,5 +33,16 @@
"repository": {
"type": "git",
"url": "https://github.com/robinpokorny/dead-simple"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,css,json,md}": [
"prettier --write",
"git add"
]
}
}
Loading

0 comments on commit ea9fef2

Please sign in to comment.