Add husky and pretty-quick

This commit is contained in:
Matan Kushner
2019-03-16 13:34:46 -04:00
parent 794f1b650a
commit 0a31c1890c
2 changed files with 644 additions and 5 deletions

View File

@@ -2,10 +2,6 @@
"name": "bird-box",
"version": "0.0.1",
"description": "🐦💬 Update a gist to contain your latest tweets",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Matan Kushner <hello@matchai.me>",
"license": "ISC",
"dependencies": {
@@ -14,5 +10,15 @@
"dotenv": "^7.0.0",
"twitter": "^1.7.1",
"wordwrap": "^1.0.0"
},
"devDependencies": {
"husky": "^1.3.1",
"prettier": "^1.16.4",
"pretty-quick": "^1.10.0"
},
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
}
}