@rjsf/validator-ajv8
v5.21.2 react-jsonschema-form jsonschema json-schema json schema form react ajv-8 rjsf-validator and 1 more...
build:ts
tsc -b
build:cjs
esbuild ./src/index.ts --bundle --outfile=dist/index.js --sourcemap --packages=external --format=cjs && esbuild ./src/compileSchemaValidators.ts --bundle --outfile=dist/compileSchemaValidators.js --sourcemap --packages=external --format=cjs
build:esm
esbuild ./src/index.ts --bundle --outfile=dist/validator-ajv8.esm.js --sourcemap --packages=external --format=esm && esbuild ./src/compileSchemaValidators.ts --bundle --outfile=dist/compileSchemaValidators.esm.js --sourcemap --packages=external --format=esm
build:umd
rollup dist/validator-ajv8.esm.js --format=umd --file=dist/validator-ajv8.umd.js --name=@rjsf/validator-ajv8
build
npm run build:ts && npm run build:cjs && npm run build:esm && npm run build:umd
cs-check
prettier -l "{src,test}/**/*.ts?(x)"
cs-format
prettier "{src,test}/**/*.ts?(x)" --write
lint
eslint src test
precommit
lint-staged
compileSchemas
node test/harness/compileTestSchema.js
test
npm run compileSchemas && jest