-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpackage.json
More file actions
70 lines (70 loc) · 2.74 KB
/
package.json
File metadata and controls
70 lines (70 loc) · 2.74 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
{
"name": "aberdeen",
"version": "1.12.1",
"author": "Frank van Viegen",
"main": "dist/src/aberdeen.js",
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@types/bun": "^1.3.12",
"typedoc": "^0.28.2",
"typedoc-plugin-markdown": "^4.9.0",
"typescript": "^5.8.3"
},
"exports": {
".": {
"development": "./dist/src/aberdeen.js",
"default": "./dist/src/aberdeen.js",
"types": "./dist/src/aberdeen.d.ts"
},
"./route": {
"development": "./dist/src/route.js",
"default": "./dist/src/route.js",
"types": "./dist/src/route.d.ts"
},
"./transitions": {
"development": "./dist/src/transitions.js",
"default": "./dist/src/transitions.js",
"types": "./dist/src/transitions.d.ts"
},
"./prediction": {
"development": "./dist/src/prediction.js",
"default": "./dist/src/prediction.js",
"types": "./dist/src/prediction.d.ts"
},
"./dispatcher": {
"development": "./dist/src/dispatcher.js",
"default": "./dist/src/dispatcher.js",
"types": "./dist/src/dispatcher.d.ts"
},
"./test-helpers": {
"bun": "./tests/helpers.ts",
"default": "./dist/tests/helpers.js",
"types": "./dist/tests/helpers.d.ts"
},
"./package.json": "./package.json"
},
"description": "Build fast reactive UIs in pure TypeScript/JavaScript without a virtual DOM.",
"files": [
"dist",
"dist-docs",
"src",
"skill"
],
"bin": {
"html-to-aberdeen": "./html-to-aberdeen"
},
"license": "MIT",
"scripts": {
"build": "bun run build:clean && bun run build:src && bun run build:types && bun run build:tests && bun run build:docs && bun run build:skill",
"build:clean": "rm -rf dist dist-docs",
"build:src": "bun build src/aberdeen.ts src/dispatcher.ts src/prediction.ts src/route.ts src/transitions.ts --sourcemap --target browser --external '*/aberdeen.js' --outdir dist/src/",
"build:types": "tsc",
"build:tests": "bun build tests/helpers.ts tests/fakedom.ts --sourcemap --target bun --external 'aberdeen' --outdir dist/tests/",
"build:docs": "typedoc && rm -rf dist-docs/assets/aberdeen && cp -r dist/src dist-docs/assets/aberdeen",
"build:skill": "typedoc --plugin typedoc-plugin-markdown --out skill --tsconfig tsconfig.json --entryPoints src/aberdeen.ts src/dispatcher.ts src/prediction.ts src/route.ts src/transitions.ts --excludeInternal --excludePrivate --hideGenerator --readme none --router module && rm -rf skill/assets skill/documents skill/README.md && cat SKILL.md > skill/SKILL.md && awk '/^-+$/ { count++; next } count >= 2' docs/Tutorial.md >> skill/SKILL.md",
"test": "bun test --bail",
"prepack": "bun test && bun run build"
},
"type": "module",
"types": "dist/src/aberdeen.d.ts"
}