2023-02-26 01:30
This commit is contained in:
71
lit-element-starter-ts/package.json
Normal file
71
lit-element-starter-ts/package.json
Normal file
@@ -0,0 +1,71 @@
|
||||
{
|
||||
"name": "@lit/lit-starter-ts",
|
||||
"private": true,
|
||||
"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",
|
||||
"clean": "rimraf my-element.{d.ts,d.ts.map,js,js.map} test/my-element.{d.ts,d.ts.map,js,js.map} test/my-element_test.{d.ts,d.ts.map,js,js.map}",
|
||||
"lint": "npm run lint:lit-analyzer && npm run lint:eslint",
|
||||
"lint:eslint": "eslint 'src/**/*.ts'",
|
||||
"lint:lit-analyzer": "lit-analyzer",
|
||||
"format": "prettier \"**/*.{cjs,html,js,json,md,ts}\" --ignore-path ./.eslintignore --write",
|
||||
"docs": "npm run docs:clean && npm run build && npm run analyze && npm run docs:build && npm run docs:assets && npm run docs:gen",
|
||||
"docs:clean": "rimraf docs",
|
||||
"docs:gen": "eleventy --config=.eleventy.cjs",
|
||||
"docs:gen:watch": "eleventy --config=.eleventy.cjs --watch",
|
||||
"docs:build": "rollup -c --file docs/my-element.bundled.js",
|
||||
"docs:assets": "cp node_modules/prismjs/themes/prism-okaidia.css docs/",
|
||||
"docs:serve": "wds --root-dir=docs --node-resolve --watch",
|
||||
"analyze": "wca analyze \"src/**/*.ts\" --outFile custom-elements.json",
|
||||
"serve": "wds --watch",
|
||||
"test": "wtr",
|
||||
"test:watch": "npm run test -- --watch",
|
||||
"checksize": "rollup -c ; cat my-element.bundled.js | gzip -9 | wc -c ; rm my-element.bundled.js"
|
||||
},
|
||||
"keywords": [
|
||||
"web-components",
|
||||
"lit-element",
|
||||
"typescript",
|
||||
"lit"
|
||||
],
|
||||
"author": "Google LLC",
|
||||
"license": "BSD-3-Clause",
|
||||
"dependencies": {
|
||||
"lit": "^2.0.0-rc.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@11ty/eleventy": "^0.12.1",
|
||||
"@11ty/eleventy-plugin-syntaxhighlight": "^3.0.1",
|
||||
"@esm-bundle/chai": "^4.1.5",
|
||||
"@open-wc/testing": "^2.5.32",
|
||||
"@open-wc/testing-karma": "^4.0.9",
|
||||
"@rollup/plugin-node-resolve": "^9.0.0",
|
||||
"@rollup/plugin-replace": "^2.3.3",
|
||||
"@types/mocha": "^7.0.2",
|
||||
"@typescript-eslint/eslint-plugin": "^2.27.0",
|
||||
"@typescript-eslint/parser": "^2.27.0",
|
||||
"@web/dev-server": "0.0.29",
|
||||
"@web/dev-server-legacy": "^0.1.4",
|
||||
"@web/dev-server-rollup": "^0.2.7",
|
||||
"@web/test-runner": "^0.12.15",
|
||||
"@web/test-runner-mocha": "^0.3.5",
|
||||
"@web/test-runner-playwright": "^0.8.4",
|
||||
"@webcomponents/webcomponentsjs": "^2.5.0",
|
||||
"deepmerge": "^4.2.2",
|
||||
"eslint": "^6.8.0",
|
||||
"lit-analyzer": "^1.1.10",
|
||||
"mocha": "^7.1.1",
|
||||
"prettier": "^2.0.4",
|
||||
"rimraf": "^3.0.2",
|
||||
"rollup": "^2.28.2",
|
||||
"rollup-plugin-summary": "^1.2.3",
|
||||
"rollup-plugin-terser": "^7.0.2",
|
||||
"typescript": "^3.8.3",
|
||||
"web-component-analyzer": "^1.0.3"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user