Some changes to configuration and example element
This commit is contained in:
26
package.json
26
package.json
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user