-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
108 lines (108 loc) · 3.25 KB
/
Copy pathpackage.json
File metadata and controls
108 lines (108 loc) · 3.25 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
{
"name": "@zeix/le-truc",
"version": "2.5.0",
"description": "Le Truc - the thing for type-safe reactive web components",
"keywords": [
"Le Truc",
"Web Components",
"Custom Elements",
"Reactivity",
"State Management",
"Signals",
"Effects"
],
"homepage": "https://zeixcom.github.io/le-truc/",
"bugs": {
"url": "https://github.com/zeixcom/le-truc/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/zeixcom/le-truc.git"
},
"license": "MIT",
"author": "Esther Brunner",
"type": "module",
"main": "index.js",
"types": "types/index.d.ts",
"exports": {
".": {
"types": "./types/index.d.ts",
"bun": "./index.ts",
"default": "./index.js"
},
"./package.json": "./package.json",
"./custom-elements.json": "./custom-elements.json"
},
"files": [
"index.js",
"index.ts",
"src",
"!src/tests",
"types",
"!types/src/tests",
"custom-elements.json",
"SECURITY.md"
],
"customElements": "custom-elements.json",
"directories": {
"doc": "docs",
"example": "examples"
},
"scripts": {
"build:prod": "bun build index.ts --outdir ./ --define process.env.DEV_MODE='\"false\"'",
"build": "bun run build:prod && bunx tsc -p tsconfig.build.json && bun run lint",
"build:docs": "bun ./server/build.ts",
"build:docs:watch": "bun ./server/build.ts --watch",
"build:examples:js": "bun run build && bun build examples/main.ts --outdir docs/assets --target browser --define process.env.DEV_MODE='\"true\"' --minify",
"build:examples:css": "bun build examples/main.css --outdir docs/assets --target browser --minify",
"build:examples": "bun run build:examples:js && bun run build:examples:css",
"dev": "NODE_ENV=development bun --watch server/dev.ts",
"lint": "bunx biome check --write ./src",
"lint:examples": "bunx biome check --write ./examples",
"serve": "bun server/serve.ts",
"serve:docs": "bun server/serve.ts --build-first",
"serve:examples": "bun run build:examples && PLAYWRIGHT=1 bun server/serve.ts",
"test": "bun test src/tests && node node_modules/.bin/playwright test examples",
"test:component": "bun scripts/test-component.ts",
"test:src": "bun test src/tests",
"test:server": "bun test server/tests",
"test:server:unit": "bun test server/tests --bail",
"test:server:integration": "bun test server/tests --timeout 10000",
"test:server:watch": "bun test server/tests --watch",
"check:links": "bun scripts/check-doc-links.ts",
"check:size": "bun test test/regression-bundle.test.ts",
"build:cem": "cem analyze && bun run verify:cem",
"verify:cem": "bun run scripts/verify-cem.ts"
},
"dependencies": {
"@zeix/cause-effect": "^1.5.0"
},
"devDependencies": {
"@biomejs/biome": "^2.5.8",
"@custom-elements-manifest/analyzer": "^0.11.0",
"@markdoc/markdoc": "^0.5.9",
"@playwright/test": "^1.62.1",
"@types/bun": "^1.3.14",
"@types/culori": "^4.0.1",
"@types/node": "^26.2.0",
"@zeix/cem-plugin-le-truc": "^0.3.3",
"culori": "^4.0.2",
"dompurify": "^3.4.13",
"lightningcss-cli": "^1.33.0",
"shiki": "^4.4.3",
"typedoc": "^0.28.20",
"typedoc-plugin-markdown": "^4.12.0",
"typescript": "^6.0.3"
},
"peerDependencies": {
"typescript": ">=5.8.0"
},
"peerDependenciesMeta": {
"typescript": {
"optional": true
}
},
"overrides": {
"brace-expansion": "^5.0.9"
}
}