-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
47 lines (47 loc) · 1.6 KB
/
Copy pathpackage.json
File metadata and controls
47 lines (47 loc) · 1.6 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
{
"name": "@temples",
"version": "0.9.0",
"type": "module",
"sideEffects": [
"./dist/ssr.js"
],
"exports": {
"./engine": {
"types": "./dist/engine.d.ts",
"default": "./dist/engine.js"
},
"./components": {
"types": "./dist/component.d.ts",
"default": "./dist/component.js"
},
"./ssr": {
"types": "./dist/ssr.d.ts",
"default": "./dist/ssr.js"
},
"./jquery": {
"types": "./dist/jquery.d.ts",
"default": "./dist/jquery.js"
}
},
"scripts": {
"dev": "bun --hot example/index.html",
"test": "bun test",
"lint": "biome lint .",
"format": "biome format --write .",
"format:check": "biome format .",
"check": "biome check .",
"typecheck": "tsc --noEmit",
"build": "tsc --noEmit && bun build src/component.ts src/engine.ts src/ssr.ts src/jquery.ts --outdir dist --format esm --target browser --packages external --entry-naming \"[name].[ext]\" && bun build src/component.ts src/engine.ts src/ssr.ts src/jquery.ts --outdir dist --format esm --target browser --packages external --minify --entry-naming \"[name].min.[ext]\" && bun build src/ssr.ts --outdir dist --format esm --target node --packages external --entry-naming \"[name].[ext]\" && bun build src/ssr.ts --outdir dist --format esm --target node --packages external --minify --entry-naming \"[name].min.[ext]\" && tsc -p tsconfig.build.json && biome format --write dist",
"demo": "bun example/index.html"
},
"devDependencies": {
"@biomejs/biome": "^2.5.9",
"@types/bun": "latest",
"@types/jquery": "^4.0.1",
"jquery": "^4.0.0",
"linkedom": "^0.18.13"
},
"peerDependencies": {
"typescript": "^5.9.3"
}
}