Run Prettier on all source files

This commit is contained in:
Daniel Gasienica 2018-04-27 17:14:51 -04:00
parent 3796c276ba
commit aa7665e497

View file

@ -43,7 +43,7 @@
"jshint": "yarn grunt jshint", "jshint": "yarn grunt jshint",
"lint": "yarn eslint && yarn grunt lint && yarn tslint", "lint": "yarn eslint && yarn grunt lint && yarn tslint",
"tslint": "tslint --config tslint.json --format stylish --project .", "tslint": "tslint --config tslint.json --format stylish --project .",
"format": "prettier --require-pragma --single-quote --trailing-comma es5 --write \"ts/**/*.{ts,tsx}\"", "format": "prettier --single-quote --trailing-comma es5 --write \"*.js\" \"js/**/*.js\" \"ts/**/*.{ts,tsx}\" \"test/**/*.js\"",
"transpile": "tsc", "transpile": "tsc",
"clean-transpile": "rimraf ts/**/*.js ts/*.js", "clean-transpile": "rimraf ts/**/*.js ts/*.js",
"open-coverage": "open coverage/lcov-report/index.html", "open-coverage": "open coverage/lcov-report/index.html",