86 lines
2.7 KiB
JSON
86 lines
2.7 KiB
JSON
{
|
|
"name": "lit-element",
|
|
"version": "2.5.1",
|
|
"description": "A simple base class for creating fast, lightweight web components",
|
|
"license": "BSD-3-Clause",
|
|
"homepage": "https://lit-element.polymer-project.org/",
|
|
"repository": "lit/lit-element",
|
|
"type": "module",
|
|
"main": "lit-element.js",
|
|
"module": "lit-element.js",
|
|
"directories": {
|
|
"test": "test"
|
|
},
|
|
"files": [
|
|
"/lib/",
|
|
"/src/",
|
|
"!/src/demo/",
|
|
"!/src/test/",
|
|
"/lit-element.d.ts",
|
|
"/lit-element.d.ts.map",
|
|
"/lit-element.js",
|
|
"/lit-element.js.map",
|
|
"/ts3.4/"
|
|
],
|
|
"scripts": {
|
|
"build": "tsc && rm -rf ./ts3.4 && downlevel-dts . ts3.4 && cp tsconfig.json ./ts3.4/",
|
|
"build:watch": "tsc --watch",
|
|
"build:babel-test": "babel src/test/lib/decorators_test.ts --out-file test/lib/decorators-babel_test.js",
|
|
"gen-docs": "typedoc src/lit-element.ts src/lib/updating-element.ts",
|
|
"test": "npm run build && npm run build:babel-test && wct",
|
|
"quicktest": "wct -l chrome -p",
|
|
"checksize": "rollup -c ; rm lit-element.bundled.js",
|
|
"format": "find src test | grep '\\.js$\\|\\.ts$' | xargs clang-format --style=file -i",
|
|
"lint": "tslint --project ./",
|
|
"prepublishOnly": "node check-version-tracker.cjs && npm run lint",
|
|
"prepare": "npm run build",
|
|
"regen-package-lock": "rm -rf node_modules package-lock.json; npm install",
|
|
"publish-dev": "npm test && VERSION=${npm_package_version%-*}-dev.`git rev-parse --short HEAD` && npm version --no-git-tag-version $VERSION && npm publish --tag dev",
|
|
"release": "np --any-branch --yolo"
|
|
},
|
|
"author": "Google LLC",
|
|
"devDependencies": {
|
|
"@babel/cli": "^7.13.10",
|
|
"@babel/helper-define-map": "^7.13.12",
|
|
"@babel/helper-regex": "^7.10.5",
|
|
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
|
"@babel/plugin-proposal-decorators": "^7.13.5",
|
|
"@babel/plugin-transform-typescript": "^7.13.0",
|
|
"@types/chai": "^4.2.15",
|
|
"@types/mocha": "^5.2.4",
|
|
"@webcomponents/shadycss": "^1.10.2",
|
|
"@webcomponents/webcomponentsjs": "^2.5.0",
|
|
"chai": "^4.3.3",
|
|
"clang-format": "^1.5.0",
|
|
"downlevel-dts": "^0.7.0",
|
|
"lit-element-benchmarks": "^0.1.0",
|
|
"mocha": "^6.2.2",
|
|
"np": "^7.4.0",
|
|
"rollup": "^1.26.0",
|
|
"rollup-plugin-filesize": "^6.2.0",
|
|
"rollup-plugin-node-resolve": "^5.2.0",
|
|
"rollup-plugin-terser": "^5.3.1",
|
|
"tachometer": "^0.5.8",
|
|
"tslint": "^5.20.1",
|
|
"typedoc": "^0.17.0-3",
|
|
"typescript": "^4.2.3",
|
|
"uglify-es": "^3.3.9",
|
|
"wct-mocha": "^1.0.0",
|
|
"web-component-tester": "^6.9.2"
|
|
},
|
|
"typings": "lit-element.d.ts",
|
|
"typesVersions": {
|
|
"<3.8": {
|
|
"*": [
|
|
"ts3.4/*"
|
|
]
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"lit-html": "^1.1.1"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
}
|
|
}
|