-
-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpackage.json
More file actions
98 lines (98 loc) · 3.13 KB
/
package.json
File metadata and controls
98 lines (98 loc) · 3.13 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
{
"name": "sprae",
"description": "DOM microhydration",
"version": "13.3.4",
"main": "./sprae.js",
"module": "./sprae.js",
"umd:main": "dist/sprae.umd.js",
"unpkg": "dist/sprae.umd.js",
"types": "types/sprae.d.ts",
"type": "module",
"exports": {
".": {
"types": "./types/sprae.d.ts",
"default": "./sprae.js"
},
"./core": {
"types": "./types/core.d.ts",
"default": "./core.js"
},
"./store": {
"types": "./types/store.d.ts",
"default": "./store.js"
},
"./signal": {
"types": "./types/signal.d.ts",
"default": "./signal.js"
}
},
"files": [
"core.js",
"sprae.js",
"store.js",
"signal.js",
"directive",
"dist",
"types"
],
"devDependencies": {
"@preact/signals": "^2.0.4",
"@preact/signals-core": "^1.8.0",
"@webreflection/signal": "^2.1.2",
"alpinejs": "^3.15.6",
"define-element": "^1.3.0",
"es-module-shims": "^1.10.0",
"esbuild": "^0.23.0",
"esbuild-plugin-umd-wrapper": "^2.0.3",
"happy-dom": "^20.4.0",
"hyperf": "^1.7.0",
"jsdom": "^27.0.0",
"lit": "^3.3.2",
"petite-vue": "^0.4.1",
"ractive": "^1.4.4",
"requestidlecallback": "^0.3.0",
"signal-polyfill": "^0.1.1",
"subscript": "^10.1.8",
"tst": "^9.2.1",
"ulive": "^1.0.7",
"usignal": "^0.9.0",
"wait-please": "^3.1.0"
},
"scripts": {
"test": "node -r ./test/register.cjs test/test.js && SPRAE_COMPILER=jessie node -r ./test/register.cjs test/test.js && SPRAE_SIGNALS=preact node -r ./test/register.cjs test/test.js",
"test:base": "node -r ./test/register.cjs test/test.js",
"test:jessie": "SPRAE_COMPILER=jessie node -r ./test/register.cjs test/test.js",
"test:preact": "SPRAE_SIGNALS=preact node -r ./test/register.cjs test/test.js",
"test:mem": "node --expose-gc -r ./test/register.cjs test/test.js",
"test:browser": "node test/browser.js",
"bench": "node --expose-gc -r ./test/register-happy.cjs test/bench.js",
"perf": "node --expose-gc -r ./test/register-happy.cjs test/profile.js",
"perf:cpu": "node --cpu-prof --cpu-prof-dir=/tmp --expose-gc -r ./test/register-happy.cjs test/profile.js",
"perf:heap": "node --heap-prof --heap-prof-dir=/tmp --expose-gc -r ./test/register-happy.cjs test/profile.js",
"build": "node .esbuild.js",
"types": "tsc --declaration --declarationMap --emitDeclarationOnly --outDir types --target ESNext --module ESNext --moduleResolution bundler --allowJs --skipLibCheck --noEmitOnError false sprae.js core.js store.js signal.js directive/*.js",
"prepublishOnly": "npm test && npm run build && npm run types",
"site": "bundle exec jekyll serve --livereload"
},
"repository": {
"type": "git",
"url": "git+https://github.com/dy/sprae.git"
},
"keywords": [
"hydration",
"progressive",
"progressive enhancement",
"signals",
"directives",
"preact-signals",
"reactive",
"template-parts",
"templating"
],
"author": "Dmitry Iv <df.creative@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/dy/sprae/issues"
},
"homepage": "https://github.com/dy/sprae#readme"
}