Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
115 lines (115 loc) · 2.98 KB
/
Copy pathpackage.json
File metadata and controls
115 lines (115 loc) · 2.98 KB
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
{
"name": "todomvc-lit",
"private": true,
"type": "module",
"engines": {
"node": ">=20.19.0",
"npm": ">=10.0.0"
},
"scripts": {
"serve": "wireit",
"dev": "wireit",
"build": "wireit",
"tsc": "wireit",
"rollup": "wireit",
"copy-index-html": "wireit"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^16.0.3",
"@rollup/plugin-terser": "^1.0.0",
"@rollup/plugin-typescript": "^12.3.0",
"@web/dev-server": "^0.4.6",
"rollup": "^4.60.2",
"rollup-plugin-html-literals": "^2.0.1",
"todomvc-common": "^1.0.5",
"tslib": "^2.8.1",
"typescript": "^5.9.3",
"wireit": "^0.14.12"
},
"dependencies": {
"lit": "^3.3.2"
},
"wireit": {
"serve": {
"dependencies": [
"build"
],
"files": [
"web-dev-server.config.js"
],
"service": true,
"command": "wds"
},
"dev": {
"#comment": "like serve, only it doesn't do the slow rollup build",
"dependencies": [
"tsc"
],
"files": [
"web-dev-server.config.js"
],
"service": true,
"command": "wds"
},
"build": {
"dependencies": [
"tsc",
"rollup",
"copy-index-html",
"copy-base-js",
"copy-base-css"
]
},
"tsc": {
"files": [
"src/**/*.ts",
"tsconfig.json"
],
"output": [
"index.js",
"index.js.map",
"lib",
".tsbuildinfo"
],
"clean": false,
"command": "tsc"
},
"rollup": {
"files": [
"src/**/*.ts",
"rollup.config.mjs"
],
"output": [
"dist/index.js"
],
"command": "rollup --config rollup.config.mjs"
},
"copy-index-html": {
"command": "mkdir -p dist && cp index.html dist/index.html",
"files": [
"index.html"
],
"output": [
"dist/index.html"
]
},
"copy-base-js": {
"command": "mkdir -p dist && cp node_modules/todomvc-common/base.js dist/base.js",
"files": [
"node_modules/todomvc-common/base.js"
],
"output": [
"dist/base.js"
]
},
"copy-base-css": {
"command": "mkdir -p dist && cp node_modules/todomvc-common/base.css dist/base.css",
"files": [
"node_modules/todomvc-common/base.css"
],
"output": [
"dist/base.css"
]
}
}
}