UNPKG

sprae

Version:

DOM microhydration

101 lines (100 loc) 3.29 kB
{ "name": "sprae", "description": "DOM microhydration", "version": "13.3.8", "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", "playwright": "^1.48.0", "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", "verify:jfb": "npm run build && node test/verify-jfb.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" }