UNPKG

epic-state

Version:

Reactive state management for frontend libraries.

181 lines (180 loc) 4 kB
{ "name": "epic-state", "description": "Reactive state management for frontend libraries.", "version": "0.17.3", "repository": "github:tobua/epic-state", "homepage": "https://tobua.github.io/epic-state", "license": "CC-BY-NC-4.0", "author": "Matthias Giger", "contributors": [ "Daishi Kato (valtio)" ], "scripts": { "check": "biome check --write .", "types": "tsc && tsc --project ./test/tsconfig.json" }, "dependencies": { "logua": "^3.0.3" }, "devDependencies": { "@biomejs/biome": "^2.0.6", "@happy-dom/global-registrator": "^18.0.1", "@testing-library/preact": "^3.2.4", "@types/bun": "^1.2.18", "@types/jsdom": "^21.1.7", "@types/react": "^19.1.8", "epic-jsx": "^0.10.4", "preact": "^10.26.9", "ts-expect": "^1.3.0", "typescript": "^5.8.3", "zero-configuration": "^1.0.2" }, "peerDependencies": { "epic-jsx": ">= 0.6", "preact": ">= 10" }, "peerDependenciesMeta": { "epic-jsx": { "optional": true }, "preact": { "optional": true } }, "trustedDependencies": [ "zero-configuration" ], "type": "module", "sideEffects": false, "main": "./index.ts", "exports": { ".": "./index.ts", "./connect": "./plugin/epic-jsx.ts", "./preact": "./plugin/preact.ts", "./browser": "./plugin/persist/browser.ts" }, "files": [ "*.ts", "plugin", "data" ], "keywords": [ "state", "management", "frontend", "web", "store" ], "publishConfig": { "provenance": true }, "configuration": { "gitignore": "bundle", "vscode": "biome", "license": "commercial", "biome": [ { "extends": "recommended", "linter": { "rules": { "performance": { "noDelete": "off" }, "suspicious": { "noExplicitAny": "off" }, "complexity": { "noBannedTypes": "off" } } }, "files": { "includes": [ "**/*", "!demo" ] } }, { "extends": "test", "folder": "test", "root": false, "linter": { "rules": { "correctness": { "useJsxKeyInIterable": "off" }, "a11y": { "useButtonType": "off" } } } } ], "typescript": [ { "extends": "plugin", "compilerOptions": { "jsx": "react-jsx", "paths": { "react": [ "./node_modules/epic-jsx" ], "react/jsx-dev-runtime": [ "./node_modules/epic-jsx" ] } }, "files": [ "index.ts", "plugin/preact.ts", "plugin/epic-jsx.ts", "plugin/persist/browser.ts" ] }, { "extends": "plugin", "folder": "test", "compilerOptions": { "strict": false }, "include": [ "**/*.test.ts" ] }, { "extends": "plugin", "folder": "test/epic", "compilerOptions": { "strict": false, "jsx": "react-jsx", "paths": { "react": [ "./../../node_modules/epic-jsx" ], "react/jsx-dev-runtime": [ "./../../node_modules/epic-jsx" ] } } }, { "extends": "plugin", "folder": "test/preact", "compilerOptions": { "strict": false, "jsx": "react-jsx", "jsxImportSource": "preact", "paths": { "react": [ "./../../node_modules/preact" ], "react/jsx-dev-runtime": [ "./../../node_modules/preact/jsx-runtime/dist/jsxRuntime.mjs" ] } } } ] } }