lit
Version:
162 lines (161 loc) • 5.05 kB
JSON
{
"name": "lit",
"version": "2.0.0-rc.4",
"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"
},
"./async-directive.js": {
"default": "./async-directive.js"
},
"./decorators.js": {
"default": "./decorators.js"
},
"./decorators/custom-element.js": {
"default": "./decorators/custom-element.js"
},
"./decorators/event-options.js": {
"default": "./decorators/event-options.js"
},
"./decorators/property.js": {
"default": "./decorators/property.js"
},
"./decorators/query-all.js": {
"default": "./decorators/query-all.js"
},
"./decorators/query-assigned-nodes.js": {
"default": "./decorators/query-assigned-nodes.js"
},
"./decorators/query-async.js": {
"default": "./decorators/query-async.js"
},
"./decorators/query.js": {
"default": "./decorators/query.js"
},
"./decorators/state.js": {
"default": "./decorators/state.js"
},
"./directive-helpers.js": {
"default": "./directive-helpers.js"
},
"./directive.js": {
"default": "./directive.js"
},
"./directives/async-append.js": {
"default": "./directives/async-append.js"
},
"./directives/async-replace.js": {
"default": "./directives/async-replace.js"
},
"./directives/cache.js": {
"default": "./directives/cache.js"
},
"./directives/class-map.js": {
"default": "./directives/class-map.js"
},
"./directives/guard.js": {
"default": "./directives/guard.js"
},
"./directives/if-defined.js": {
"default": "./directives/if-defined.js"
},
"./directives/live.js": {
"default": "./directives/live.js"
},
"./directives/ref.js": {
"default": "./directives/ref.js"
},
"./directives/repeat.js": {
"default": "./directives/repeat.js"
},
"./directives/style-map.js": {
"default": "./directives/style-map.js"
},
"./directives/template-content.js": {
"default": "./directives/template-content.js"
},
"./directives/unsafe-html.js": {
"default": "./directives/unsafe-html.js"
},
"./directives/unsafe-svg.js": {
"default": "./directives/unsafe-svg.js"
},
"./directives/until.js": {
"default": "./directives/until.js"
},
"./experimental-hydrate-support.js": {
"default": "./experimental-hydrate-support.js"
},
"./experimental-hydrate.js": {
"default": "./experimental-hydrate.js"
},
"./html.js": {
"default": "./html.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/"
],
"dependencies": {
"@lit/reactive-element": "^1.0.0-rc.2",
"lit-element": "^3.0.0-rc.2",
"lit-html": "^2.0.0-rc.4"
},
"devDependencies": {
"@esm-bundle/chai": "^4.1.5",
"@types/chai": "^4.0.1",
"@types/mocha": "^9.0.0",
"@webcomponents/shadycss": "^1.8.0",
"@webcomponents/template": "^1.4.4",
"@webcomponents/webcomponentsjs": "^2.6.0",
"chokidar-cli": "^3.0.0",
"downlevel-dts": "^0.7.0",
"internal-scripts": "^1.0.0",
"mocha": "^9.1.1",
"rollup": "^2.26.4",
"tslib": "^2.0.3",
"typescript": "^4.3.5"
},
"typings": "index.d.ts"
}