-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
62 lines (62 loc) · 1.92 KB
/
package.json
File metadata and controls
62 lines (62 loc) · 1.92 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
{
"name": "@elucidata/pulse",
"version": "2.2.4",
"description": "Microscopic signals with automatic dependency tracking.",
"module": "dist/index.js",
"type": "module",
"main": "dist/index.js",
"author": "Matthew McCray",
"maintainers": [
{
"name": "Matthew McCray"
}
],
"license": "MIT",
"exports": {
".": {
"import": "./dist/index.js"
},
"./react": {
"import": "./dist/react/index.js"
},
"./utils": {
"import": "./dist/utils/index.js"
},
"./view": {
"import": "./dist/view/index.js"
},
"./view-legacy/html": {
"import": "./dist/view-legacy/html.js"
},
"./view-legacy": {
"import": "./dist/view-legacy/index.js"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/elucidata/pulse.git"
},
"scripts": {
"dist:tsup": "rm -rf dist && tsup ./src/index.ts ./src/utils/index.ts ./src/react/index.ts ./src/view/index.ts ./src/view/html.ts --dts --format esm --minify --external react && bun run stats",
"dist": "rm -rf dist && tsc && bun run stats",
"dist:dev": "rm -rf dist && tsup ./src/index.ts ./src/utils/index.ts ./src/react/index.ts ./src/view/index.ts ./src/view/html.ts --dts --format esm --external react --no-splitting && bun run stats",
"prompt": "bun run ./tools/prompt.ts",
"stats": "bun run ./tools/stats.ts",
"stats:old": "echo \"all gzipped:\" && bun run stats:all",
"stats:all": "gzip -c9 dist/index.js dist/chunk*.js dist/utils/index.js dist/react/index.js dist/view/index.js dist/view/html.js | wc -c | numfmt --to=si",
"prepublishOnly": "bun run dist",
"test": "bun test"
},
"devDependencies": {
"@happy-dom/global-registrator": "^15.7.4",
"@types/bun": "^1.1.6",
"tsup": "^8.2.4",
"@types/react": "^18.3.5",
"typescript": "^5.0.0"
},
"optionalDependencies": {
"preact": "^10.23.1",
"react": "^18.3.1",
"htm": "^3.1.1"
}
}