UNPKG

form-atoms

Version:
161 lines (160 loc) 4.11 kB
{ "name": "form-atoms", "version": "3.3.1", "description": "Form primitives for Jotai", "license": "MIT", "author": "Jared Lunde <jared.lunde@gmail.com> (https://jaredlunde.com/)", "homepage": "https://github.com/form-atoms/form-atoms#readme", "repository": "github:form-atoms/form-atoms", "bugs": "https://github.com/form-atoms/form-atoms/issues", "exports": { ".": { "import": "./dist/index.mjs", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "./valibot": { "import": "./dist/valibot.mjs", "module": "./dist/valibot.mjs", "types": "./dist/valibot.d.ts", "default": "./dist/valibot.js" }, "./zod": { "import": "./dist/zod.mjs", "module": "./dist/zod.mjs", "types": "./dist/zod.d.ts", "default": "./dist/zod.js" }, "./*": { "import": "./dist/*.mjs", "module": "./dist/*.mjs", "types": "./dist/*.d.ts", "default": "./dist/*.js" }, "./package.json": "./package.json" }, "main": "dist/index.js", "module": "dist/index.mjs", "files": [ "/dist" ], "scripts": { "build": "tsup", "check-types": "tsc --noEmit --incremental --tsBuildInfoFile .typescript/tsconfig.tsbuildinfo", "dev": "tsup --watch", "format": "prettier --write \"{,!(node_modules|dist|coverage)/**/}*.{ts,tsx,js,jsx,md,yml,json}\"", "prepare": "husky install", "test": "vitest", "validate": "pnpm run check-types && pnpm test run -- --coverage" }, "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } }, "sideEffects": false, "types": "dist/index.d.ts", "peerDependencies": { "jotai": "^2.0.0", "react": ">=16.8" }, "devDependencies": { "@commitlint/cli": "^19.4.0", "@commitlint/config-conventional": "^19.2.2", "@semantic-release/changelog": "^6.0.2", "@semantic-release/git": "^10.0.1", "@testing-library/jest-dom": "^6.4.8", "@testing-library/react": "^16.0.0", "@testing-library/react-hooks": "^8.0.1", "@testing-library/user-event": "^13.5.0", "@types/node": "^22.4.1", "@types/react": "^18.3.3", "@types/react-dom": "^18.3.0", "@vitejs/plugin-react": "^4.3.1", "@vitest/coverage-c8": "^0.33.0", "@vitest/coverage-v8": "^2.0.5", "cz-conventional-changelog": "^3.3.0", "happy-dom": "^14.12.3", "husky": "^8.0.3", "jotai": "^2.9.3", "lint-staged": "^15.2.9", "prettier": "^3.3.3", "prettier-package-json": "^2.8.0", "react": "^18.0.0", "react-dom": "^18.0.0", "react-test-renderer": "^18.3.1", "semantic-release": "^24.1.0", "tsup": "^8.2.4", "typescript": "^5.5.4", "valibot": "^0.37.0", "vitest": "^2.0.5", "zod": "^3.23.8" }, "keywords": [ "atomic form", "form atoms", "form hooks", "jotai", "jotai form", "jotai form atoms", "jotai forms", "react", "react form", "react form library", "react hook", "react hook form" ], "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "lint-staged": { "package.json": [ "prettier-package-json --write" ], "**/*.{md,yml,yaml,json,ts,tsx,js,cjs,mjs,jsx}": [ "prettier --write" ] }, "release": { "branches": [ "main", { "name": "next", "prerelease": true }, { "name": "alpha", "prerelease": true } ], "plugins": [ "@semantic-release/commit-analyzer", "@semantic-release/release-notes-generator", "@semantic-release/changelog", "@semantic-release/npm", [ "@semantic-release/git", { "assets": [ "CHANGELOG.md" ], "message": "chore(release): ${nextRelease.version}\n\n${nextRelease.notes}" } ], "@semantic-release/github" ] }, "typesVersions": { "*": { "valibot": [ "dist/valibot.d.ts" ], "zod": [ "dist/zod.d.ts" ] } } }