-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
155 lines (155 loc) · 3.79 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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
{
"name": "@lit/localize-tools",
"version": "0.8.0",
"publishConfig": {
"access": "public"
},
"description": "Localization tooling for lit-html",
"license": "BSD-3-Clause",
"author": "Google LLC",
"homepage": "https://github.com/lit/lit/tree/main/packages/localize-tools",
"repository": {
"type": "git",
"url": "https://github.com/lit/lit.git",
"directory": "packages/localize-tools"
},
"bin": {
"lit-localize": "bin/lit-localize.js"
},
"main": "lit-localize.js",
"type": "module",
"scripts": {
"build": "wireit",
"build:ts": "wireit",
"generate-json-schema": "wireit",
"test": "wireit",
"test:unit": "wireit",
"test:unit:ssr": "wireit",
"test:update-goldens": "wireit",
"test:check-tsc": "wireit"
},
"wireit": {
"build": {
"dependencies": [
"build:ts",
"generate-json-schema",
"../lit:build",
"../labs/ssr:build"
]
},
"build:ts": {
"command": "tsc --build --pretty",
"clean": "if-file-deleted",
"#comment": [
"TODO(aomarks) We depend on a test utility from ts-transformers.",
"It should be moved into the tests/ package and the dep removed."
],
"dependencies": [
"../localize:build:ts",
"../lit:build:ts:types",
"../labs/ssr:build:ts",
"../ts-transformers:build:ts",
"../tests:build"
],
"files": [
"src/**/*.ts",
"tsconfig.json"
],
"output": [
"lib"
]
},
"generate-json-schema": {
"command": "typescript-json-schema tsconfig.schema.json ConfigFile --include=lib/types/config.d.ts --required --noExtraProps > config.schema.json",
"dependencies": [
"build:ts"
],
"files": [
"tsconfig.schema.json"
],
"output": [
"config.schema.json"
]
},
"test": {
"dependencies": [
"test:unit",
"test:unit:ssr",
"test:check-tsc"
]
},
"test:unit": {
"command": "uvu lib/tests \"\\.test\\.js$\" --ignore \"ssr\\.unit\\.test\\.js$\"",
"dependencies": [
"build"
],
"files": [
"testdata/*/input",
"testdata/*/goldens"
],
"output": [
"testdata/*/output"
]
},
"test:unit:ssr": {
"command": "uvu lib/tests \"ssr\\.unit\\.test\\.js$\"",
"dependencies": [
"build"
],
"files": [],
"output": []
},
"test:update-goldens": {
"command": "UPDATE_TEST_GOLDENS=true uvu lib/tests \"\\.test\\.js$\" --ignore \"ssr\\.unit\\.test\\.js$\"",
"dependencies": [
"build"
],
"files": [
"testdata/*/input"
],
"output": [
"testdata/*/goldens"
]
},
"test:check-tsc": {
"command": "ls testdata/*/output/tsconfig.json | xargs -n 1 tsc --noEmit --project",
"#comment": "Depends on test:unit because it inspects that script's output",
"dependencies": [
"test:unit"
],
"files": [],
"output": []
}
},
"files": [
"/src/",
"!/src/tests/",
"/lib/",
"!/lib/tests/",
"!/lib/.tsbuildinfo",
"/config.schema.json"
],
"dependencies": {
"@lit/localize": "^0.12.0",
"@parse5/tools": "^0.3.0",
"@xmldom/xmldom": "^0.8.2",
"fast-glob": "^3.2.7",
"fs-extra": "^10.0.0",
"jsonschema": "^1.4.0",
"lit": "^3.2.0",
"minimist": "^1.2.5",
"parse5": "^7.1.1",
"source-map-support": "^0.5.19",
"typescript": "~5.5.0"
},
"devDependencies": {
"@lit-internal/tests": "0.0.1",
"@lit-labs/ssr": "^3.2.2",
"@lit/ts-transformers": "^2.0.1",
"@types/fs-extra": "^9.0.1",
"@types/minimist": "^1.2.0",
"@types/prettier": "^2.0.1",
"rimraf": "^3.0.2",
"typescript-json-schema": "^0.54.0"
}
}