lit
Version:
105 lines (104 loc) • 3.31 kB
JSON
{
"name": "lit",
"version": "2.0.0-rc.2",
"publishConfig": {
"access": "public"
},
"description": "A library for building fast, lightweight web components",
"license": "BSD-3-Clause",
"repository": {
"type": "git",
"url": "https://github.com/lit/lit.git"
},
"author": "Google LLC",
"homepage": "https://lit.dev/",
"main": "index.js",
"module": "index.js",
"type": "module",
"exports": {
".": {
"default": "./index.js"
},
"./decorators.js": {
"default": "./decorators.js"
},
"./decorators/": {
"default": "./decorators/"
},
"./directive-helpers.js": {
"default": "./directive-helpers.js"
},
"./directive.js": {
"default": "./directive.js"
},
"./directives/": {
"default": "./directives/"
},
"./async-directive.js": {
"default": "./async-directive.js"
},
"./html.js": {
"default": "./html.js"
},
"./experimental-hydrate-support.js": {
"default": "./experimental-hydrate-support.js"
},
"./experimental-hydrate.js": {
"default": "./experimental-hydrate.js"
},
"./polyfill-support.js": {
"default": "./polyfill-support.js"
},
"./static-html.js": {
"default": "./static-html.js"
}
},
"scripts": {
"build": "npm run clean && npm run build:ts && rollup -c",
"build:watch": "rollup -c --watch",
"build:ts": "tsc --build && treemirror development . '**/*.d.ts{,.map}'",
"build:ts:watch": "tsc --build --watch",
"clean": "rm -rf {async-directive,decorators,directive-helpers,directive,html,experimental-hydrate-support,experimental-hydrate,index,polyfill-support,static-html}.{d.ts.map,d.ts,js.map,js} test/ decorators/ directives/ development/ *.tsbuildinfo",
"publish-dev": "VERSION=${npm_package_version%-*}-dev.`git rev-parse --short HEAD` && npm version --no-git-tag-version $VERSION && npm publish --tag dev",
"regen-package-lock": "rm -rf node_modules package-lock.json; npm install",
"test": "MODE=prod cd ../tests && npx wtr '../lit/test/**/*_test.(js|html)'"
},
"files": [
"/async-directive.{d.ts.map,d.ts,js.map,js}",
"/decorators.{d.ts.map,d.ts,js.map,js}",
"/directive-helpers.{d.ts.map,d.ts,js.map,js}",
"/directive.{d.ts.map,d.ts,js.map,js}",
"/html.{d.ts.map,d.ts,js.map,js}",
"/experimental-hydrate-support.{d.ts.map,d.ts,js.map,js}",
"/experimental-hydrate.{d.ts.map,d.ts,js.map,js}",
"/index.{d.ts.map,d.ts,js.map,js}",
"/polyfill-support.{d.ts.map,d.ts,js.map,js}",
"/static-html.{d.ts.map,d.ts,js.map,js}",
"/decorators/",
"/directives/",
"/src/",
"!/src/demo/",
"!/src/test/"
],
"dependencies": {
"@lit/reactive-element": "^1.0.0-rc.2",
"lit-element": "^3.0.0-rc.2",
"lit-html": "^2.0.0-rc.3"
},
"devDependencies": {
"@esm-bundle/chai": "^4.1.5",
"@types/chai": "^4.0.1",
"@types/mocha": "^8.0.3",
"@webcomponents/shadycss": "^1.8.0",
"@webcomponents/template": "^1.4.4",
"@webcomponents/webcomponentsjs": "^2.5.0",
"chokidar-cli": "^2.1.0",
"downlevel-dts": "^0.6.0",
"internal-scripts": "^1.0.0",
"mocha": "^8.1.1",
"rollup": "^2.26.4",
"tslib": "^2.0.3",
"typescript": "^4.1.3"
},
"typings": "index.d.ts"
}