install and run prettier

This commit is contained in:
Kent C. Dodds
2019-07-31 20:38:32 -06:00
parent fb1aa446f5
commit fbb81df6c9
3 changed files with 16 additions and 8 deletions

View File

@@ -5,12 +5,14 @@
"license": "GPLv3",
"scripts": {
"build": "babel src --out-dir dist",
"lint": "eslint --ignore-path .gitignore ."
"lint": "eslint --ignore-path .gitignore .",
"format": "prettier --ignore-path .gitignore --write \"**/*.+(js|json)\""
},
"devDependencies": {
"@babel/cli": "^7.7.0",
"@babel/core": "^7.7.2",
"@babel/preset-env": "^7.7.1",
"eslint": "^6.6.0"
"eslint": "^6.6.0",
"prettier": "^1.19.1"
}
}