UNPKG

@canard/schema-form

Version:

React-based component library that renders forms based on JSON Schema with plugin system support for validators and UI components

89 lines 2.5 kB
{ "name": "@canard/schema-form", "version": "0.9.6", "description": "React-based component library that renders forms based on JSON Schema with plugin system support for validators and UI components", "keywords": [ "react", "@canard/schema-form", "schema-form", "canard-form", "json-schema", "form", "form-builder", "form-generator", "validation", "ui-components", "typescript" ], "repository": { "type": "git", "url": "https://github.com/vincent-kk/albatrion.git", "directory": "packages/canard/schema-form" }, "license": "MIT", "author": { "name": "Vincent K. Kelvin", "email": "lunox273@gmail.com" }, "sideEffects": false, "type": "module", "exports": { ".": { "types": "./dist/index.d.ts", "source": "./src/index.ts", "import": "./dist/index.mjs", "require": "./dist/index.cjs" } }, "main": "dist/index.cjs", "module": "dist/index.mjs", "types": "dist/index.d.ts", "files": [ "dist", "README.md" ], "scripts": { "build": "rollup -c && yarn build:types", "build:publish:npm": "yarn build && yarn publish:npm", "build:types": "tsc -p ./tsconfig.declarations.json && tsc-alias -p ./tsconfig.declarations.json", "build-storybook": "storybook build", "format": "prettier --write \"src/**/*.{ts,tsx}\"", "lint": "eslint \"src/**/*.{ts,tsx}\"", "make-dependency-graph": "npx depcruise src --config .dependency-cruiser.js --output-type dot > dependency-graph.dot && dot -Tpng dependency-graph.dot -o dependency-graph.png", "publish:npm": "yarn npm publish --access public", "size-limit": "size-limit", "start": "yarn build && yarn storybook", "storybook": "storybook dev -p 6006", "test": "vitest", "version:major": "yarn version major", "version:minor": "yarn version minor", "version:patch": "yarn version patch" }, "dependencies": { "@winglet/common-utils": "^0.9.0", "@winglet/json": "^0.9.1", "@winglet/json-schema": "^0.9.3", "@winglet/react-utils": "^0.9.0" }, "devDependencies": { "@types/react": "^19.0.0", "@types/react-dom": "^19.0.0", "ajv": "^8.17.1", "react": "^19.0.0", "react-dom": "^19.0.0" }, "peerDependencies": { "react": ">=18 <20", "react-dom": ">=18 <20" }, "size-limit": [ { "path": "dist/index.cjs", "limit": "20 KB" }, { "path": "dist/index.mjs", "limit": "20 KB" } ] }