package.json
{
"name": "@svelte-dev/session",
"version": "0.1.0",
"description": "Simple Session Storage Management for Svelte",
"author": "Willin Wang <willin@willin.org> (https://willin.wang/)",
"keywords": [
"svelte",
"cookie",
"session",
"cache",
"store",
"strategies"
],
"homepage": "https://github.com/willin/svelte-session#readme",
"scripts": {
"dev": "vite dev",
"dev:docs": "typedoc --watch",
"build": "vite build && npm run package",
"build:docs": "typedoc",
"preview": "vite preview",
"package": "svelte-kit sync && svelte-package && publint",
"prepublishOnly": "npm run package",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"version": "conventional-changelog -p angular -i CHANGELOG.md -s && git add CHANGELOG.md",
"test": "vitest",
"coverage": "vitest run --coverage",
"lint": "prettier --write . && eslint . --fix"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"svelte": "./dist/index.js"
}
},
"files": [
"dist",
"!dist/**/*.test.*",
"!dist/**/*.spec.*"
],
"peerDependencies": {
"@sveltejs/kit": "^1.0.0",
"svelte": "^5.0.0||^4.0.0"
},
"optionalDependencies": {
"@cloudflare/workers-types": "^4.0.0"
},
"dependencies": {},
"devDependencies": {
"@cloudflare/workers-types": "^4.20231121.0",
"@commitlint/cli": "latest",
"@commitlint/config-conventional": "latest",
"@miniflare/kv": "^2.14.1",
"@miniflare/storage-memory": "^2.14.1",
"@sveltejs/adapter-auto": "^2.0.0",
"@sveltejs/adapter-cloudflare": "^2.3.3",
"@sveltejs/kit": "^1.27.4",
"@sveltejs/package": "^2.0.0",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"@vitest/coverage-istanbul": "^0.34.6",
"bun-types": "^1.0.15",
"conventional-changelog-cli": "latest",
"eslint": "^8.28.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-svelte": "^2.30.0",
"husky": "latest",
"lint-staged": "latest",
"prettier": "^3.0.0",
"prettier-plugin-svelte": "^3.0.0",
"publint": "^0.1.9",
"svelte": "^5.0.0-next.1",
"svelte-check": "^3.6.0",
"tslib": "^2.4.1",
"typedoc-plugin-extras": "^3.0.0",
"typedoc-plugin-google-ads": "^1.6.0",
"typedoc-plugin-keywords": "^1.6.0",
"typedocs": "^0.6.7",
"typescript": "^5.0.0",
"vite": "^4.4.2",
"vitest": "^0.34.0"
},
"svelte": "./dist/index.js",
"types": "./dist/index.d.ts",
"type": "module",
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/willin/svelte-session.git"
},
"bugs": {
"url": "https://github.com/willin/svelte-session/issues"
},
"lint-staged": {
"*.+(js|jsx|json|yml|yaml|css|less|scss|ts|tsx|md|graphql|mdx|vue)": [
"prettier --write"
],
"*.+(js|jsx|ts|tsx|vue)": [
"eslint --fix"
]
}
}