UNPKG

sveltekit-superforms

Version:

Making SvelteKit forms a pleasure to use!

231 lines 5.95 kB
{ "name": "sveltekit-superforms", "version": "2.27.0", "author": "Andreas Söderlund <ciscoheat@gmail.com> (https://blog.encodeart.dev)", "description": "Making SvelteKit forms a pleasure to use!", "keywords": [ "sveltekit", "svelte", "form", "validation", "forms", "schema", "arktype", "class-validator", "effect", "joi", "json-schema", "superstruct", "schemasafe", "typebox", "valibot", "vinejs", "yup", "zod" ], "license": "MIT", "homepage": "https://superforms.rocks", "bugs": "https://github.com/ciscoheat/sveltekit-superforms/issues", "repository": { "url": "https://github.com/ciscoheat/sveltekit-superforms" }, "funding": [ { "type": "github", "url": "https://github.com/sponsors/ciscoheat" }, { "type": "ko-fi", "url": "https://ko-fi.com/ciscoheat" }, { "type": "paypal", "url": "https://www.paypal.com/donate/?hosted_button_id=NY7F5ALHHSVQS" } ], "exports": { ".": { "types": "./dist/index.d.ts", "svelte": "./dist/index.js", "default": "./dist/index.js" }, "./client": { "types": "./dist/client/index.d.ts", "svelte": "./dist/client/index.js", "default": "./dist/client/index.js" }, "./client/SuperDebug.svelte": { "types": "./dist/client/SuperDebug.svelte.d.ts", "svelte": "./dist/client/SuperDebug.svelte" }, "./SuperDebug.svelte": { "types": "./dist/client/SuperDebugRuned.svelte.d.ts", "svelte": "./dist/client/SuperDebugRuned.svelte" }, "./server": { "types": "./dist/server/index.d.ts", "svelte": "./dist/server/index.js", "default": "./dist/server/index.js" }, "./adapters": { "types": "./dist/adapters/index.d.ts", "svelte": "./dist/adapters/index.js", "default": "./dist/adapters/index.js" } }, "typesVersions": { ">4.0": { "index.d.ts": [ "./dist/index.d.ts" ], "server": [ "./dist/server/index.d.ts" ], "client": [ "./dist/client/index.d.ts" ], "client/SuperDebug.svelte": [ "./dist/client/SuperDebug.svelte.d.ts" ], "adapters": [ "./dist/adapters/index.d.ts" ] } }, "files": [ "dist", "!dist/**/*.test.*", "!dist/**/*.spec.*" ], "peerDependencies": { "@exodus/schemasafe": "^1.3.0", "@sinclair/typebox": "^0.34.28", "@sveltejs/kit": "1.x || 2.x", "@typeschema/class-validator": "^0.3.0", "@vinejs/vine": "^1.8.0 || ^2.0.0 || ^3.0.0", "arktype": ">=2.0.0-rc.23", "class-validator": "^0.14.1", "effect": "^3.13.7", "joi": "^17.13.1", "superstruct": "^2.0.2", "svelte": "3.x || 4.x || >=5.0.0-next.51", "valibot": "^1.0.0", "yup": "^1.4.0", "zod": "^3.25.0" }, "peerDependenciesMeta": { "@exodus/schemasafe": { "optional": true }, "@sinclair/typebox": { "optional": true }, "@typeschema/class-validator": { "optional": true }, "class-validator": { "optional": true }, "arktype": { "optional": true }, "joi": { "optional": true }, "superstruct": { "optional": true }, "valibot": { "optional": true }, "yup": { "optional": true }, "zod": { "optional": true }, "@vinejs/vine": { "optional": true }, "effect": { "optional": true } }, "optionalDependencies": { "@exodus/schemasafe": "^1.3.0", "@gcornut/valibot-json-schema": "^0.42.0", "@sinclair/typebox": "^0.34.35", "@typeschema/class-validator": "^0.3.0", "@vinejs/vine": "^3.0.1", "arktype": "^2.1.20", "class-validator": "^0.14.2", "effect": "^3.16.7", "joi": "^17.13.3", "json-schema-to-ts": "^3.1.1", "superstruct": "^2.0.2", "valibot": "^1.1.0", "yup": "^1.6.1", "zod": "^3.25.64", "zod-to-json-schema": "^3.24.5" }, "dependencies": { "devalue": "^5.1.1", "memoize-weak": "^1.0.2", "ts-deepmerge": "^7.0.3" }, "devDependencies": { "@eslint/compat": "^1.3.0", "@eslint/eslintrc": "^3.3.1", "@eslint/js": "^9.29.0", "@sveltejs/adapter-auto": "^6.0.1", "@sveltejs/kit": "^2.21.5", "@sveltejs/package": "^2.3.11", "@sveltejs/vite-plugin-svelte": "^5.1.0", "@types/json-schema": "^7.0.15", "@types/node": "^22.15.32", "@types/throttle-debounce": "^5.0.2", "@types/uuid": "^9.0.8", "@valibot/i18n": "1.0.0", "decimal.js": "^10.5.0", "eslint": "^9.29.0", "eslint-config-prettier": "^10.1.5", "eslint-plugin-dci-lint": "^0.9.1", "eslint-plugin-svelte": "^3.9.2", "globals": "^16.2.0", "i18next": "^23.16.8", "only-allow": "^1.2.1", "prettier": "^3.5.3", "prettier-plugin-svelte": "^3.4.0", "publint": "^0.3.12", "sass": "^1.89.2", "svelte": "^5.34.3", "svelte-check": "^4.2.1", "svelte-french-toast": "^1.2.0", "sveltekit-flash-message": "^2.4.6", "sveltekit-rate-limiter": "^0.6.1", "throttle-debounce": "^5.0.2", "tslib": "^2.8.1", "typescript": "^5.8.3", "typescript-eslint": "^8.34.0", "uuid": "^9.0.1", "vite": "^6.3.5", "vitest": "^3.2.3", "zod-i18n-map": "^2.27.0" }, "svelte": "./dist/index.js", "types": "./dist/index.d.ts", "type": "module", "scripts": { "alpha:bump": "npm version prerelease", "alpha:pub": "npm publish --tag alpha", "dev": "vite dev", "build": "vite build && npm run prepack", "preview": "vite preview", "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch", "check:adapters": "node types-exist.js", "test": "vitest run", "lint": "prettier --check . && eslint .", "format": "prettier --write ." } }