UNPKG

@xraph/smartform-react

Version:

React library for rendering and validating SmartForms with shadcn components

121 lines 3.43 kB
{ "name": "@xraph/smartform-react", "version": "0.0.2", "description": "React library for rendering and validating SmartForms with shadcn components", "main": "dist/index.cjs", "module": "dist/index.mjs", "types": "dist/types/index.d.ts", "sideEffects": [ "**/*.css", "**/*.scss" ], "style": "dist/smartform-react.css", "files": [ "dist" ], "publishConfig": { "access": "public" }, "exports": { ".": { "types": "./dist/types/index.d.ts", "require": "./dist/index.cjs", "import": "./dist/index.mjs" }, "./styles": { "require": "./dist/smartform-react.css", "import": "./dist/smartform-react.css" }, "./core": { "types": "./dist/types/core.d.ts", "import": "./dist/core.mjs", "require": "./dist/core.cjs" }, "./components": { "types": "./dist/types/components.d.ts", "import": "./dist/components.mjs", "require": "./dist/components.cjs" }, "./logger": { "types": "./dist/types/logger.d.ts", "import": "./dist/logger.mjs", "require": "./dist/logger.cjs" } }, "keywords": [ "react", "forms", "dynamic-forms", "conditional-forms", "validation", "shadcn", "form-builder", "typescript" ], "author": "Rex Raphael", "license": "MIT", "repository": { "type": "git", "url": "https://github.com/xraph/smartform.git" }, "homepage": "https://github.com/xraph/smartform#readme", "peerDependencies": { "react": "^19.0.0", "react-dom": "^19.0.0" }, "dependencies": { "@heroui/ripple": "^2.2.14", "@hookform/resolvers": "^3.10.0", "@radix-ui/react-checkbox": "^1.3.2", "@radix-ui/react-dialog": "^1.1.14", "@radix-ui/react-label": "^2.1.7", "@radix-ui/react-popover": "^1.1.14", "@radix-ui/react-radio-group": "^1.3.7", "@radix-ui/react-select": "^2.2.5", "@radix-ui/react-slot": "^1.2.3", "@tailwindcss/vite": "^4.1.7", "class-variance-authority": "^0.7.1", "classnames": "^2.3.2", "clsx": "^2.1.1", "cmdk": "^1.1.1", "date-fns": "^4.1.0", "lucide-react": "^0.511.0", "react-day-picker": "8.10.1", "react-hook-form": "^7.56.4", "tailwind-merge": "^3.3.0", "tailwindcss": "^4.1.7", "zod": "^3.25.30" }, "devDependencies": { "@testing-library/jest-dom": "^6.1.3", "@testing-library/react": "^14.0.0", "@types/jest": "^29.5.4", "@types/node": "^22.15.23", "@types/react": "^18.2.21", "@types/react-dom": "^18.2.7", "@typescript-eslint/eslint-plugin": "^6.6.0", "@typescript-eslint/parser": "^6.6.0", "@vitejs/plugin-react": "^4.5.0", "eslint": "^8.49.0", "eslint-plugin-react": "^7.33.2", "eslint-plugin-react-hooks": "^4.6.0", "glob": "^11.0.1", "jest": "^29.6.4", "jest-environment-jsdom": "^29.6.4", "prettier": "^3.0.3", "rimraf": "^5.0.5", "ts-jest": "^29.1.1", "tsconfig-paths": "^4.2.0", "tw-animate-css": "^1.3.0", "typescript": "^5.8.2", "vite": "^6.3.5" }, "scripts": { "build": "vite build && tsc --emitDeclarationOnly --declaration --declarationDir dist/types", "clean:dist": "rimraf dist", "clean": "git clean -xdf .cache .turbo dist node_modules", "typecheck": "tsc --noEmit --emitDeclarationOnly false", "lint": "eslint ./ --ext .ts,.tsx", "format": "prettier --write \"**/*.{ts,tsx}\"" } }