Add Prettier for formatting (#5)

This commit is contained in:
Justin Fagnani
2019-12-18 13:13:30 -08:00
committed by GitHub
parent 51806b8d86
commit 07f4413342
5 changed files with 22 additions and 2 deletions

View File

@@ -9,6 +9,7 @@
"build": "tsc",
"build:watch": "tsc --watch",
"lint": "lit-analyzer && eslint 'src/**/*.ts'",
"format": "prettier src/* --write",
"serve": "es-dev-server --app-index demo/index.html --node-resolve --watch --open",
"test": "karma start karma.conf.cjs",
"test:watch": "karma start karma.conf.cjs --auto-watch=true --single-run=false",
@@ -41,6 +42,7 @@
"karma-mocha": "^1.3.0",
"lit-analyzer": "^1.1.9",
"mocha": "^6.2.2",
"prettier": "^1.19.1",
"typescript": "^3.7.2"
}
}