@rjsf/antd
Version:
Ant Design theme, fields and widgets for react-jsonschema-form
117 lines (116 loc) • 3.35 kB
JSON
{
"name": "@rjsf/antd",
"version": "6.6.2",
"description": "Ant Design theme, fields and widgets for react-jsonschema-form",
"main": "dist/index.js",
"module": "lib/index.js",
"typings": "lib/index.d.ts",
"type": "module",
"exports": {
".": {
"types": "./lib/index.d.ts",
"require": "./dist/index.cjs",
"import": "./lib/index.js"
},
"./lib": {
"types": "./lib/index.d.ts",
"require": "./dist/index.cjs",
"import": "./lib/index.js"
},
"./lib/*.js": {
"types": "./lib/*.d.ts",
"require": "./dist/*.cjs",
"import": "./lib/*.js"
},
"./dist": {
"types": "./lib/index.d.ts",
"require": "./dist/index.cjs",
"import": "./lib/index.js"
},
"./dist/*.cjs": {
"types": "./lib/*.d.ts",
"require": "./dist/*.cjs",
"import": "./lib/*.js"
}
},
"scripts": {
"compileReplacer": "tsc -p tsconfig.replacer.json && move-file lodashReplacer.js lodashReplacer.cjs && move-file antdIconsReplacer.js antdIconsReplacer.cjs",
"build:ts": "npm run compileReplacer && rimraf ./lib && tsc -b tsconfig.build.json && tsc-alias -p tsconfig.build.json",
"build:cjs": "esbuild ./src/index.ts --bundle --outfile=dist/index.cjs --sourcemap --packages=external --format=cjs",
"build:esm": "esbuild ./src/index.ts --bundle --outfile=dist/antd.esm.js --sourcemap --packages=external --format=esm",
"build:umd": "rollup dist/antd.esm.js --format=umd --file=dist/antd.umd.js --name=@rjsf/antd",
"build": "npm run build:ts && npm run build:cjs && npm run build:esm && npm run build:umd",
"cs-check": "oxfmt --check \"{src,test}/**/*.{ts,tsx}\"",
"cs-format": "oxfmt \"{src,test}/**/*.{ts,tsx}\"",
"lint": "oxlint src test",
"precommit": "lint-staged",
"test": "vitest run",
"test:update": "vitest run --update"
},
"lint-staged": {
"{src,test}/**/*.{ts,tsx}": [
"oxlint --fix",
"oxfmt"
]
},
"files": [
"dist",
"lib",
"src"
],
"engineStrict": false,
"engines": {
"node": ">=20"
},
"peerDependencies": {
"@ant-design/icons": "^6.0.0",
"@rjsf/core": "^6.6.x",
"@rjsf/utils": "^6.6.x",
"antd": "^5 || >6.3.5",
"dayjs": "^1.8.0",
"react": ">=18"
},
"dependencies": {
"classnames": "^2.5.1",
"lodash": "^4.18.1",
"lodash-es": "^4.18.1",
"rc-picker": "^4.11.3"
},
"devDependencies": {
"@ant-design/icons": "^6.2.5",
"@rjsf/core": "6.6.2",
"@rjsf/snapshot-tests": "6.6.2",
"@rjsf/utils": "6.6.2",
"@rjsf/validator-ajv8": "6.6.2",
"@rollup/plugin-replace": "^6.0.3",
"antd": "^6.4.3",
"atob": "^2.1.2",
"dayjs": "^1.11.21"
},
"repository": {
"type": "git",
"url": "git+https://github.com/rjsf-team/react-jsonschema-form.git"
},
"keywords": [
"antd",
"ant-design",
"react",
"react-jsonschema-form",
"jsonschema",
"json-schema",
"json",
"rjsf-antd"
],
"author": "Delyan Ruskov <d.ruskov@gmail.com>",
"contributors": [
"Heath Chiavettone <heath.chiavettone@freenome.com"
],
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/rjsf-team/react-jsonschema-form/issues"
},
"homepage": "https://github.com/rjsf-team/react-jsonschema-form",
"publishConfig": {
"access": "public"
}
}