UNPKG

@zeix/ui-element

Version:

UIElement - minimal reactive framework based on Web Components

63 lines (62 loc) 2.37 kB
{ "name": "@zeix/ui-element", "version": "0.12.2", "description": "UIElement - minimal reactive framework based on Web Components", "main": "index.js", "types": "index.d.ts", "scripts": { "build:prod": "bun build index.ts --outdir ./ --minify --define process.env.DEV_MODE=false", "build:dev": "BUN_ENV=development bun build index.dev.ts --outdir ./ --define process.env.DEV_MODE=true", "build": "bun run build:prod && bun run build:dev && bunx tsc && bun run lint", "build:docs-js": "bun build docs-src/main.ts --outdir ./docs/assets/ --minify --define process.env.DEV_MODE=false", "build:docs-css": "lightningcss --minify --bundle --targets \">= 0.25%\" docs-src/main.css -o ./docs/assets/main.css", "build:docs-html": "bun ./docs-src/server/generate-pages.ts & bun ./docs-src/server/generate-fragments.ts", "build:docs-api": "typedoc --out ./docs/api/ index.ts --darkHighlightTheme monokai", "build:docs": "bun run build:docs-js & bun run build:docs-css & bun run build:docs-html & bun run build:docs-api", "serve:docs": "BUN_ENV=development bun run --hot ./docs-src/server/serve-docs.ts", "lint": "bunx eslint src/", "test": "bun run test:setup && bun run test:ci", "test:setup": "playwright install-deps", "test:ci": "web-test-runner \"test/*-test.html\" --node-resolve --playwright --browsers chromium firefox webkit", "test:watch": "BUN_ENV=development web-test-runner \"test/*-test.html\" --node-resolve --watch --playwright --browsers chromium firefox webkit" }, "keywords": [ "UIElement", "Web Components", "Custom Elements", "Reactivity", "States", "Signals", "Effects", "UI Accessors" ], "author": "Esther Brunner", "license": "MIT", "type": "module", "devDependencies": { "@eslint/js": "^9.27.0", "@esm-bundle/chai": "^4.3.4-fix.0", "@types/bun": "^1.2.13", "@types/eslint__js": "^8.42.3", "@types/node": "^22.15.21", "@web/test-runner": "^0.19.0", "@web/test-runner-playwright": "^0.11.0", "dotenv": "^16.5.0", "eslint": "^9.27.0", "globals": "^15.15.0", "gray-matter": "^4.0.3", "lightningcss-cli": "^1.30.1", "marked": "^15.0.12", "playwright": "^1.52.0", "prismjs": "^1.30.0", "shiki": "^2.5.0", "typedoc": "^0.27.9", "typescript-eslint": "^8.32.1" }, "peerDependencies": { "typescript": "^5.7.3" }, "dependencies": { "@zeix/cause-effect": "^0.13.2" } }