UNPKG

@tuentyfaiv/svelte-form

Version:

A form library for Svelte. It is built on top of Svelte and Typescript. Inspired by Formik and React Hook Form.

100 lines 2.83 kB
{ "name": "@tuentyfaiv/svelte-form", "description": "A form library for Svelte. It is built on top of Svelte and Typescript. Inspired by Formik and React Hook Form.", "version": "0.4.4", "type": "module", "keywords": [ "Svelte", "Form", "UI", "Inputs", "Faivform", "TuentyFaiv" ], "author": "Tonalli López <contact@tuentyfaiv.com>", "license": "MIT", "files": [ "dist", "!dist/**/*.test.*", "!dist/**/*.spec.*" ], "exports": { ".": { "types": "./dist/index.d.ts", "svelte": "./dist/index.js", "default": "./dist/index.js" }, "./components": { "types": "./dist/components/index.d.ts", "svelte": "./dist/components/index.js", "default": "./dist/components/index.js" }, "./stores": { "types": "./dist/logic/stores/index.d.ts", "svelte": "./dist/logic/stores/index.js", "default": "./dist/logic/stores/index.js" }, "./styles.css": { "default": "./dist/styles/globals.css" }, "./package.json": "./package.json" }, "main": "./dist/index.js", "svelte": "./dist/index.js", "types": "./dist/index.d.ts", "peerDependencies": { "lucide-svelte": "^0.453.0", "svelte": "^4.0.0" }, "devDependencies": { "@playwright/test": "^1.41.2", "@sveltejs/adapter-auto": "^3.1.1", "@sveltejs/kit": "^2.5.0", "@sveltejs/package": "^2.3.2", "@sveltejs/vite-plugin-svelte": "^3.0.2", "@types/eslint": "8.56.2", "@typescript-eslint/eslint-plugin": "^6.21.0", "@typescript-eslint/parser": "^6.21.0", "eslint": "^8.56.0", "lucide-svelte": "^0.453.0", "publint": "^0.2.7", "svelte": "^4.2.10", "svelte-check": "^3.8.4", "tslib": "^2.6.2", "typescript": "^5.3.3", "vite": "^5.3.2", "vitest": "^1.2.2", "@repo/eslint-config": "0.0.0" }, "engines": { "npm": ">=8.0.0", "pnpm": ">=8.0.0", "node": ">=18.0.0" }, "repository": { "type": "git", "url": "git+https://github.com/TuentyFaiv/svelte-form/tree/main/packages/form" }, "bugs": { "url": "https://github.com/TuentyFaiv/svelte-form/issues" }, "homepage": "https://forms.tuentyfaiv.com/", "directories": { "test": "tests" }, "scripts": { "dev:web": "vite dev", "build:web": "vite build && pnpm build", "preview:web": "vite preview", "sync": "svelte-kit sync", "dev": "pnpm sync && svelte-package -w", "build": "pnpm sync && svelte-package && publint", "test": "pnpm test:integration && pnpm test:unit", "check": "pnpm sync && svelte-check --tsconfig ./tsconfig.json", "check:watch": "pnpm sync && svelte-check --tsconfig ./tsconfig.json --watch", "lint": "eslint .", "lint:fix": "eslint --fix .", "test:integration": "playwright test", "test:unit": "vitest" } }