Reverted RegEx on Prettier Script

This commit is contained in:
Ralph 2018-03-30 17:28:16 -04:00 committed by GitHub
parent 0449daefd0
commit e693dd5528
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,11 +19,11 @@
"wget": "^0.0.1" "wget": "^0.0.1"
}, },
"scripts": { "scripts": {
"prettier": "prettier --write * --single-quote --print-width 240", "prettier": "prettier --write '{bot,.}/**/*.{js,json}' --single-quote --print-width 240",
"build": "babel bot -d dist", "build": "babel bot -d dist",
"prod": "babel bot -d dist & node dist/bot.js", "prod": "babel bot -d dist & node dist/bot.js",
"lint": "prettier --write bot/**/*.js --single-quote --print-width 240", "lint": "prettier --write '{bot,.}/**/*.{js,json}' --single-quote --print-width 240",
"precommit": "prettier --write bot/**/*.js --single-quote true --print-width 240" "precommit": "prettier --write '{bot,.}/**/*.{js,json}' --single-quote --print-width 240"
}, },
"devDependencies": { "devDependencies": {
"husky": "^0.14.3", "husky": "^0.14.3",