56 lines
1.8 KiB
JSON
56 lines
1.8 KiB
JSON
{
|
|
"name": "lit-element-starter-ts",
|
|
"version": "0.0.0",
|
|
"description": "A simple web component",
|
|
"main": "my-element.js",
|
|
"module": "my-element.js",
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"build:watch": "tsc --watch",
|
|
"lint": "lit-analyzer && eslint 'src/**/*.ts'",
|
|
"format": "prettier src/* --write",
|
|
"docs": "npm run analyze & eleventy --config=.eleventy.cjs",
|
|
"docs:watch": "eleventy --config=.eleventy.cjs --watch",
|
|
"analyze": "wca analyze \"src/**/*.ts\" --outFile custom-elements.json",
|
|
"serve": "es-dev-server --node-resolve --watch",
|
|
"test": "karma start karma.conf.cjs",
|
|
"test:watch": "karma start karma.conf.cjs --auto-watch=true --single-run=false",
|
|
"test:update-snapshots": "karma start karma.conf.cjs --update-snapshots",
|
|
"test:prune-snapshots": "karma start karma.conf.cjs --prune-snapshots",
|
|
"checksize": "rollup -c ; cat my-element.bundled.js | gzip -9 | wc -c ; rm my-element.bundled.js"
|
|
},
|
|
"keywords": [
|
|
"web component",
|
|
"lit-element",
|
|
"typescript"
|
|
],
|
|
"author": "The Polymer Authors",
|
|
"license": "BSD-3-Clause",
|
|
"dependencies": {
|
|
"lit-element": "^2.2.1"
|
|
},
|
|
"devDependencies": {
|
|
"@11ty/eleventy": "^0.9.0",
|
|
"@11ty/eleventy-plugin-syntaxhighlight": "^2.0.3",
|
|
"@open-wc/testing": "^2.4.2",
|
|
"@open-wc/testing-karma": "^3.2.19",
|
|
"@types/chai": "^4.2.7",
|
|
"@types/mocha": "^5.2.7",
|
|
"@typescript-eslint/eslint-plugin": "^2.12.0",
|
|
"@typescript-eslint/parser": "^2.12.0",
|
|
"chai": "^4.2.0",
|
|
"deepmerge": "^4.2.2",
|
|
"es-dev-server": "^1.23.1",
|
|
"eslint": "^6.7.2",
|
|
"karma": "^4.4.1",
|
|
"karma-chai": "^0.1.0",
|
|
"karma-mocha": "^1.3.0",
|
|
"lit-analyzer": "^1.1.9",
|
|
"mocha": "^6.2.2",
|
|
"prettier": "^1.19.1",
|
|
"typescript": "^3.7.2",
|
|
"web-component-analyzer": "^1.0.0"
|
|
}
|
|
}
|