UNPKG

@snups/rjsf-utils

Version:
100 lines (99 loc) 2.88 kB
{ "name": "@snups/rjsf-utils", "version": "6.0.0-beta.15.4", "main": "dist/index.js", "module": "lib/index.js", "typings": "lib/index.d.ts", "description": "Utility functions for @snups/rjsf-core", "exports": { ".": { "types": "./lib/index.d.ts", "require": "./dist/index.js", "import": "./lib/index.js" }, "./lib": { "types": "./lib/index.d.ts", "require": "./dist/index.js", "import": "./lib/index.js" }, "./lib/*.js": { "types": "./lib/*.d.ts", "require": "./dist/*.js", "import": "./lib/*.js" }, "./dist": { "types": "./lib/index.d.ts", "require": "./dist/index.js", "import": "./lib/index.js" }, "./dist/*.js": { "types": "./lib/*.d.ts", "require": "./dist/*.js", "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.js --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=@snups/rjsf-utils", "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", "test": "jest", "test:debug": "node --inspect-brk ../../node_modules/.bin/jest" }, "lint-staged": { "{src,test}/**/*.ts?(x)": [ "eslint --fix" ] }, "peerDependencies": { "react": ">=18" }, "dependencies": { "fast-uri": "^3.0.6", "json-schema-merge-allof": "^0.8.1", "jsonpointer": "^5.0.1", "lodash": "^4.17.21", "lodash-es": "^4.17.21", "react-is": "^18.3.1" }, "devDependencies": { "@types/json-schema": "^7.0.15", "@types/json-schema-merge-allof": "^0.6.5", "@types/react-is": "^18.3.1", "deep-freeze-es6": "^4.0.1", "eslint": "^8.57.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/thesnups/react-jsonschema-form.git" }, "license": "Apache-2.0" }