Skip to content

Commit bef23f5

Browse files
committed
Use wireit in lit
1 parent 8bf1083 commit bef23f5

File tree

4 files changed

+639
-4
lines changed

4 files changed

+639
-4
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ libraries/*/results
77
docs/libraries
88
out
99
.firebase
10+
.wireit

libraries/lit/package.json

+21-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"scripts": {
3-
"test": "cross-env LIBRARY_NAME=lit karma start",
4-
"build": "npm run test"
3+
"test": "wireit",
4+
"build": "wireit"
55
},
66
"library_repo": "lit/lit",
77
"devDependencies": {
@@ -18,5 +18,24 @@
1818
},
1919
"dependencies": {
2020
"lit": "2.2.7"
21+
},
22+
"wireit": {
23+
"test": {
24+
"files": [
25+
"karma.conf.js",
26+
"tests.webpack.js",
27+
"src",
28+
"meta"
29+
],
30+
"output": [
31+
"results"
32+
],
33+
"command": "cross-env LIBRARY_NAME=lit karma start"
34+
},
35+
"build": {
36+
"dependencies": [
37+
"test"
38+
]
39+
}
2140
}
2241
}

0 commit comments

Comments
 (0)