UNPKG

svelte-session-manager

Version:

Session store for svelte (currently only for JWT)

144 lines (143 loc) 3.98 kB
{ "name": "svelte-session-manager", "version": "3.0.45", "publishConfig": { "access": "public", "provenance": true }, "exports": { ".": { "svelte": "./src/index.svelte" }, "./css": "./src/entitlement.css" }, "description": "Session store for svelte (currently only for JWT)", "keywords": [ "JWT", "component", "session", "svelte", "vite", "web" ], "contributors": [ { "name": "Markus Felten", "email": "markus.felten@gmx.de" } ], "license": "0BSD", "scripts": { "prepare": "node --run prepare:vite", "prepare:vite": "vite build", "start": "vite", "test": "node --run test:ava && node --run test:cafe", "test:cafe": "testcafe $BROWSER:headless tests/cafe/*-cafe.mjs --esm -s build/test --page-request-timeout 5000 --app-init-delay 8000 --app vite", "test:ava": "ava --timeout 4m tests/*-ava.mjs tests/*-ava-node.mjs", "cover": "c8 -x 'tests/**/*' --temp-directory build/tmp ava --timeout 4m tests/*-ava.mjs tests/*-ava-node.mjs && c8 report -r lcov -o build/coverage --temp-directory build/tmp", "docs": "documentation readme --section=API ./src**/*.mjs", "lint": "node --run lint:docs", "lint:docs": "documentation lint ./src**/*.mjs", "preview": "vite preview" }, "devDependencies": { "@semantic-release/commit-analyzer": "^13.0.1", "@semantic-release/exec": "^7.1.0", "@semantic-release/github": "^11.0.3", "@semantic-release/release-notes-generator": "^14.0.3", "@sveltejs/vite-plugin-svelte": "^5.1.0", "ava": "^6.4.0", "c8": "^10.1.3", "documentation": "^14.0.3", "jsonwebtoken": "^9.0.2", "mf-styling": "^3.2.13", "npm-pkgbuild": "^18.2.11", "semantic-release": "^24.2.5", "svelte": "^5.34.1", "svelte-common": "^6.19.15", "testcafe": "^3.7.2", "vite": "^6.3.5", "vite-plugin-compression2": "^2.0.1" }, "peerDependencies": { "svelte": "^5.34.0" }, "optionalDependencies": { "mf-hosting-cloudflare": "^1.0.8", "mf-hosting-frontend": "^3.9.3" }, "repository": { "type": "git", "url": "git+https://github.com/arlac77/svelte-session-manager.git" }, "bugs": { "url": "https://github.com/arlac77/svelte-session-manager/issues" }, "homepage": "https://github.com/arlac77/svelte-session-manager#readme", "pkgbuild": { "content": { "${install.dir}": "build/" }, "api": "api/login", "example": true, "frontend": true }, "release": { "plugins": [ "@semantic-release/commit-analyzer", "@semantic-release/release-notes-generator", "@semantic-release/npm", [ "@semantic-release/exec", { "publishCmd": "npx npm-pkgbuild --publish dist" } ], [ "@semantic-release/github", { "assets": [ { "path": "dist/*.deb", "label": "any Debian Package" }, { "path": "dist/*any.pkg.*", "label": "any Arch Linux Package" }, { "path": "dist/*x86_64.pkg.*", "label": "x86_64 Arch Linux Package" }, { "path": "dist/*aarch64.pkg.*", "label": "arm64 Arch Linux Package" }, { "path": "dist/*noarch.rpm", "label": "noarch RPM" }, { "path": "dist/*x86_64.rpm", "label": "x86_64 RPM" }, { "path": "dist/*aarch64.rpm", "label": "arm64 RPM" } ] } ] ] }, "template": { "inheritFrom": [ "arlac77/template-arlac77-github", "arlac77/template-ava-coverage", "arlac77/template-cloudflare", "arlac77/template-npm-pkgbuild", "arlac77/template-svelte-component", "arlac77/template-vite" ] } }