@fairfox/standalone-web
Version:
A single, standalone version of Preact, HTM and Preact Signals. No external dependencies, just one single file.
66 lines (65 loc) • 1.93 kB
JSON
{
"name": "@fairfox/standalone-web",
"version": "1.0.5",
"description": "A single, standalone version of Preact, HTM and Preact Signals. No external dependencies, just one single file.",
"type": "module",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./compat": {
"import": "./dist/compat.js",
"types": "./dist/compat.d.ts"
}
},
"files": [
"dist/",
"LICENSE"
],
"license": "MIT",
"scripts": {
"bundle": "bun build src/*.ts --outdir=./dist/ --format=esm --target=browser --minify --define:'process.env.NODE_ENV=\"production\"' --define:'__DEV__=false'",
"build": "bun run bundle && bun run build:types",
"build:types": "bunx tsc --emitDeclarationOnly --outDir ./dist",
"typecheck": "bunx tsc --noEmit",
"test": "bun test",
"e2e": "playwright test",
"lint": "biome lint .",
"lint:fix": "biome lint --write .",
"format": "biome format .",
"format:fix": "biome format --write .",
"check": "biome check .",
"check:fix": "biome check --write .",
"all": "bun run typecheck && bun run format:fix && bun run lint:fix && bun run check:fix",
"prepublishOnly": "bun run all && bun run build && bun run test",
"publish:public": "npm publish --access public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/alexjeffcott/standalone-web.git"
},
"homepage": "https://github.com/alexjeffcott/standalone-web",
"keywords": [
"preact",
"signals",
"htm",
"standalone",
"cdn",
"jsx",
"esm",
"no-build"
],
"devDependencies": {
"@playwright/test": "^1.54.2",
"@preact/signals": "^2.2.1",
"@types/bun": "^1.2.19",
"@types/node": "^22.0.0",
"htm": "3.1.1",
"preact": "^10.27.0",
"typescript": "^5.5.0"
}
}