-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
124 lines (124 loc) · 2.77 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
{
"name": "@lit-labs/compiler",
"description": "Compiler to prepare Lit templates at build time",
"version": "1.0.3",
"author": "Google LLC",
"homepage": "https://github.com/Lit/Lit/tree/main/packages/labs/compiler",
"license": "BSD-3-Clause",
"type": "module",
"main": "index.js",
"module": "index.js",
"files": [
"/lib/",
"/index.{d.ts,d.ts.map,js,js.map}"
],
"exports": {
".": {
"types": "./index.d.ts",
"default": "./index.js"
}
},
"repository": {
"type": "git",
"url": "https://github.com/Lit/Lit.git",
"directory": "packages/labs/compiler"
},
"bugs": {
"url": "https://github.com/lit/lit/issues"
},
"scripts": {
"build": "wireit",
"build:ts": "wireit",
"build:rollup-source-map-tests": "wireit",
"test": "wireit",
"update-goldens": "wireit"
},
"wireit": {
"build": {
"dependencies": [
"build:ts",
"build:rollup-source-map-tests"
]
},
"build:ts": {
"command": "tsc --build --pretty",
"dependencies": [
"../../lit-html:build:ts:types",
"../../lit-html:build:rollup",
"../analyzer:build"
],
"files": [
"src/**/*.ts",
"tsconfig.json"
],
"output": [
"lib",
"test",
"tsconfig.tsbuildinfo",
"index.{d.ts,d.ts.map,js,js.map}"
],
"clean": "if-file-deleted"
},
"build:rollup-source-map-tests": {
"command": "rollup -c rollup.source_map_tests.js",
"dependencies": [
"build:ts"
],
"files": [
"test_files/source_map_tests/*.ts",
"test_files/source_map_tests/tsconfig.json",
"rollup.source_map_tests.js"
],
"output": [
"test_files/source_map_tests/*.js",
"test_files/source_map_tests/*.js.map"
]
},
"test": {
"command": "uvu test \".*_test\\.js$\"",
"dependencies": [
"build"
],
"files": [
"test_files/*.ts",
"test_files/*.js"
]
},
"update-goldens": {
"command": "uvu test \".*_test\\.js$\"",
"dependencies": [
"build:ts"
],
"files": [
"test_files/*.ts",
"test_files/*.js",
"!test_files/*.golden.js"
],
"output": [
"test_files/*.golden.js"
],
"env": {
"UPDATE_LIT_COMPILER_GOLDENS": "true"
}
}
},
"dependencies": {
"@lit-labs/analyzer": "^0.12.0",
"@parse5/tools": "^0.3.0",
"lit-html": "^3.1.2",
"parse5": "^7.1.2",
"typescript": "~5.3.3"
},
"devDependencies": {
"@rollup/plugin-typescript": "11.1.6",
"rollup": "^3.27.2",
"source-map": "^0.7.4",
"uvu": "^0.5.6"
},
"engines": {
"node": ">=14.17"
},
"publishConfig": {
"access": "public"
}
}