1 | {
|
2 | "name": "lit",
|
3 | "version": "2.0.0-rc.2",
|
4 | "publishConfig": {
|
5 | "access": "public"
|
6 | },
|
7 | "description": "A library for building fast, lightweight web components",
|
8 | "license": "BSD-3-Clause",
|
9 | "repository": {
|
10 | "type": "git",
|
11 | "url": "https://github.com/lit/lit.git"
|
12 | },
|
13 | "author": "Google LLC",
|
14 | "homepage": "https://lit.dev/",
|
15 | "main": "index.js",
|
16 | "module": "index.js",
|
17 | "type": "module",
|
18 | "exports": {
|
19 | ".": {
|
20 | "default": "./index.js"
|
21 | },
|
22 | "./decorators.js": {
|
23 | "default": "./decorators.js"
|
24 | },
|
25 | "./decorators/": {
|
26 | "default": "./decorators/"
|
27 | },
|
28 | "./directive-helpers.js": {
|
29 | "default": "./directive-helpers.js"
|
30 | },
|
31 | "./directive.js": {
|
32 | "default": "./directive.js"
|
33 | },
|
34 | "./directives/": {
|
35 | "default": "./directives/"
|
36 | },
|
37 | "./async-directive.js": {
|
38 | "default": "./async-directive.js"
|
39 | },
|
40 | "./html.js": {
|
41 | "default": "./html.js"
|
42 | },
|
43 | "./experimental-hydrate-support.js": {
|
44 | "default": "./experimental-hydrate-support.js"
|
45 | },
|
46 | "./experimental-hydrate.js": {
|
47 | "default": "./experimental-hydrate.js"
|
48 | },
|
49 | "./polyfill-support.js": {
|
50 | "default": "./polyfill-support.js"
|
51 | },
|
52 | "./static-html.js": {
|
53 | "default": "./static-html.js"
|
54 | }
|
55 | },
|
56 | "scripts": {
|
57 | "build": "npm run clean && npm run build:ts && rollup -c",
|
58 | "build:watch": "rollup -c --watch",
|
59 | "build:ts": "tsc --build && treemirror development . '**/*.d.ts{,.map}'",
|
60 | "build:ts:watch": "tsc --build --watch",
|
61 | "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",
|
62 | "publish-dev": "VERSION=${npm_package_version%-*}-dev.`git rev-parse --short HEAD` && npm version --no-git-tag-version $VERSION && npm publish --tag dev",
|
63 | "regen-package-lock": "rm -rf node_modules package-lock.json; npm install",
|
64 | "test": "MODE=prod cd ../tests && npx wtr '../lit/test/**/*_test.(js|html)'"
|
65 | },
|
66 | "files": [
|
67 | "/async-directive.{d.ts.map,d.ts,js.map,js}",
|
68 | "/decorators.{d.ts.map,d.ts,js.map,js}",
|
69 | "/directive-helpers.{d.ts.map,d.ts,js.map,js}",
|
70 | "/directive.{d.ts.map,d.ts,js.map,js}",
|
71 | "/html.{d.ts.map,d.ts,js.map,js}",
|
72 | "/experimental-hydrate-support.{d.ts.map,d.ts,js.map,js}",
|
73 | "/experimental-hydrate.{d.ts.map,d.ts,js.map,js}",
|
74 | "/index.{d.ts.map,d.ts,js.map,js}",
|
75 | "/polyfill-support.{d.ts.map,d.ts,js.map,js}",
|
76 | "/static-html.{d.ts.map,d.ts,js.map,js}",
|
77 | "/decorators/",
|
78 | "/directives/",
|
79 | "/src/",
|
80 | "!/src/demo/",
|
81 | "!/src/test/"
|
82 | ],
|
83 | "dependencies": {
|
84 | "@lit/reactive-element": "^1.0.0-rc.2",
|
85 | "lit-element": "^3.0.0-rc.2",
|
86 | "lit-html": "^2.0.0-rc.3"
|
87 | },
|
88 | "devDependencies": {
|
89 | "@esm-bundle/chai": "^4.1.5",
|
90 | "@types/chai": "^4.0.1",
|
91 | "@types/mocha": "^8.0.3",
|
92 | "@webcomponents/shadycss": "^1.8.0",
|
93 | "@webcomponents/template": "^1.4.4",
|
94 | "@webcomponents/webcomponentsjs": "^2.5.0",
|
95 | "chokidar-cli": "^2.1.0",
|
96 | "downlevel-dts": "^0.6.0",
|
97 | "internal-scripts": "^1.0.0",
|
98 | "mocha": "^8.1.1",
|
99 | "rollup": "^2.26.4",
|
100 | "tslib": "^2.0.3",
|
101 | "typescript": "^4.1.3"
|
102 | },
|
103 | "typings": "index.d.ts"
|
104 | }
|