UNPKG

@rjsf/utils

Version:
101 lines (100 loc) 2.86 kB
{ "name": "@rjsf/utils", "version": "6.6.2", "main": "dist/index.js", "module": "lib/index.js", "typings": "lib/index.d.ts", "type": "module", "description": "Utility functions for @rjsf/core", "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" } }, "files": [ "dist", "lib", "src" ], "engineStrict": false, "engines": { "node": ">=20" }, "scripts": { "compileReplacer": "tsc -p tsconfig.replacer.json && move-file lodashReplacer.js lodashReplacer.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/utils.esm.js --sourcemap --packages=external --format=esm", "build:umd": "rollup dist/utils.esm.js --format=umd --file=dist/utils.umd.js --name=@rjsf/utils", "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:debug": "node --inspect-brk ../../node_modules/.bin/vitest --pool=forks" }, "lint-staged": { "{src,test}/**/*.{ts,tsx}": [ "oxlint --fix", "oxfmt" ] }, "peerDependencies": { "react": ">=18" }, "dependencies": { "@x0k/json-schema-merge": "^1.0.3", "fast-equals": "^6.0.0", "fast-uri": "^3.1.2", "jsonpointer": "^5.0.1", "lodash": "^4.18.1", "lodash-es": "^4.18.1", "react-is": "^18.3.1" }, "devDependencies": { "@types/json-schema": "^7.0.15", "@types/react-is": "^18.3.1", "deep-freeze-es6": "^4.0.1" }, "publishConfig": { "access": "public" }, "author": "Heath Chiavettone <heath.chiavettone@freenome.com>", "contributors": [], "keywords": [ "react-jsonschema-form", "jsonschema", "json-schema", "json", "schema", "rjsf-utils" ], "repository": { "type": "git", "url": "git+https://github.com/rjsf-team/react-jsonschema-form.git" }, "license": "Apache-2.0" }