Some changes to configuration and example element

This commit is contained in:
Justin Fagnani
2019-12-12 14:33:23 -08:00
parent 387a753d1f
commit 3f1e3a1d2d
10 changed files with 902 additions and 813 deletions

View File

@@ -1,23 +1,27 @@
{
"name": "lit-element-starter-ts",
"version": "1.0.0",
"description": "",
"main": "index.js",
"version": "0.0.0",
"description": "A simple web component",
"main": "my-element.js",
"module": "my-element.js",
"type": "module",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "lit-analyzer my-element.ts && tsc",
"build:watch": "lit-analyzer my-element.ts && tsc --watch",
"start": "es-dev-server --app-index demo.html --node-resolve --watch --open"
"build": "lit-analyzer && tsc",
"build:watch": "tsc --watch",
"serve": "es-dev-server --app-index demo/index.html --node-resolve --watch --open",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"keywords": [
"web component"
],
"author": "",
"license": "ISC",
"dependencies": {
"lit-element": "^2.2.1"
},
"devDependencies": {
"es-dev-server": "^1.23.1",
"lit-analyzer": "^1.1.9",
"typescript": "^3.7.2"
},
"dependencies": {
"lit-element": "^2.2.1"
}
}