UNPKG

svelte-common

Version:

common components and utils used in svelte apps

165 lines (164 loc) 5.05 kB
{ "name": "svelte-common", "version": "6.19.80", "publishConfig": { "access": "public", "provenance": true }, "packageManager": "npm@11.10.0", "types": "./types/module.d.mjs", "exports": { ".": { "svelte": "./src/index.svelte", "types": "./types/module.d.mjs", "default": "./src/index.svelte" }, "./css": "./src/common.css" }, "description": "common components and utils used in svelte apps", "keywords": [ "component", "filtering", "paginator", "sorting", "svelte", "vite", "web" ], "contributors": [ { "name": "Markus Felten", "email": "markus.felten@gmx.de" } ], "license": "0BSD", "scripts": { "prepare": "node --run prepare:vite && node --run prepare:typescript", "prepare:vite": "vite build", "prepare:typescript": "tsc --allowJs --declaration --emitDeclarationOnly --declarationDir types --resolveJsonModule --target esnext --lib esnext --lib dom -m esnext --module nodenext --moduleResolution nodenext --rootDir src ./src**/*.mjs", "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:css && node --run lint:docs && node --run lint:typescript", "lint:docs": "documentation lint ./src**/*.mjs", "lint:css": "stylelint ./src**/*.css", "lint:typescript": "tsc --allowJs --checkJs --noEmit --resolveJsonModule --target esnext --lib esnext --lib dom -m esnext --module nodenext --moduleResolution nodenext ./src**/*.mjs", "preview": "vite preview" }, "dependencies": { "pacc": "^9.2.6", "svelte-command": "^3.0.60", "svelte-entitlement": "^2.0.69" }, "devDependencies": { "@playwright/test": "^1.58.2", "@semantic-release/commit-analyzer": "^13.0.1", "@semantic-release/exec": "^7.1.0", "@semantic-release/github": "^12.0.6", "@semantic-release/release-notes-generator": "^14.1.0", "@sveltejs/vite-plugin-svelte": "^7.0.0", "@types/node": "^25.5.0", "@typescript-eslint/types": "^8.49.0", "ava": "^7.0.0", "c8": "^11.0.0", "documentation": "^14.0.3", "mf-styling": "^3.3.12", "npm-pkgbuild": "^20.6.4", "playwright": "^1.58.2", "semantic-release": "^25.0.3", "stylelint": "^17.4.0", "stylelint-config-standard": "^40.0.0", "svelte": "^5.54.0", "typescript": "^5.9.3", "vite": "^8.0.1", "vite-plugin-compression2": "^2.5.1" }, "peerDependencies": { "svelte": "^5.54.0" }, "optionalDependencies": { "mf-hosting-cloudflare": "^2.0.0", "mf-hosting-frontend": "^4.0.2" }, "repository": { "type": "git", "url": "git+https://github.com/arlac77/svelte-common.git" }, "bugs": { "url": "https://github.com/arlac77/svelte-common/issues" }, "homepage": "https://github.com/arlac77/svelte-common#readme", "pkgbuild": { "content": { "${install_dir}": "build/", "${install_dir}/anchor/": "tests/anchor/" }, "csp_script_src": "script-src 'self' 'unsave-inline' https://unpkg.com/;", "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-css", "arlac77/template-npm-pkgbuild", "arlac77/template-playwright", "arlac77/template-svelte-component", "arlac77/template-typescript", "arlac77/template-web-component" ] } }