svelte-guard-history-router
Version:
svelte router for SPA (history mode only)
148 lines (147 loc) • 4.01 kB
JSON
{
"name": "svelte-guard-history-router",
"version": "7.0.26",
"publishConfig": {
"access": "public",
"provenance": true
},
"packageManager": "npm@11.18.0",
"exports": {
".": {
"svelte": "./src/index.svelte"
},
"./css": "./src/entitlement.css"
},
"description": "svelte router for SPA (history mode only)",
"keywords": [
"component",
"router",
"spa",
"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:playwright",
"test:ava": "ava --timeout 4m tests/*-ava.mjs tests/*-ava-node.mjs",
"test:playwright": "npx playwright test",
"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"
},
"dependencies": {
"multi-path-matcher": "^4.1.7",
"svelte-dnd-action": "^0.9.49"
},
"devDependencies": {
"@playwright/test": "^1.62.0",
"@semantic-release/commit-analyzer": "^13.0.1",
"@semantic-release/exec": "^7.1.0",
"@semantic-release/github": "^12.0.9",
"@semantic-release/release-notes-generator": "^14.1.1",
"@sveltejs/vite-plugin-svelte": "^7.2.0",
"ava": "^8.0.1",
"c8": "^12.0.0",
"documentation": "^14.0.3",
"mf-styling": "^3.3.28",
"npm-pkgbuild": "^20.8.7",
"playwright": "^1.62.0",
"semantic-release": "^25.0.8",
"svelte": "^5.56.8",
"svelte-common": "^6.19.80",
"vite": "^8.1.5",
"vite-plugin-compression2": "^2.5.3"
},
"peerDependencies": {
"svelte": "^5.56.0"
},
"optionalDependencies": {
"mf-hosting-cloudflare": "^2.0.2",
"mf-hosting-frontend": "^4.0.9"
},
"repository": {
"type": "git",
"url": "git+https://github.com/arlac77/svelte-guard-history-router.git"
},
"bugs": {
"url": "https://github.com/arlac77/svelte-guard-history-router/issues"
},
"homepage": "https://github.com/arlac77/svelte-guard-history-router#readme",
"pkgbuild": {
"content": {
"${install_dir}": "build/"
},
"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-playwright",
"arlac77/template-svelte-component"
]
}
}