UNPKG

@imtf/rjsf-conditionals

Version:

Extension of @rjsf/core with conditional field support

134 lines (133 loc) 4.25 kB
{ "name": "@imtf/rjsf-conditionals", "description": "Extension of @rjsf/core with conditional field support", "private": false, "contributors": [ "mavarazy <mavarazy@gmail.com>", "Aivaras Prudnikovas <ivar.prudnikov@gmail.com>", "Luca Pillonel <luca.pillonel@imtf.ch>" ], "version": "5.1.1", "scripts": { "patch-package": "patch-package", "build": "rimraf dist lib && npm run build:es && npm run build:es:lib", "build:es": "cross-env NODE_ENV=production babel ./src --out-dir ./dist/es --ignore \"node_modules,*/__mocks__\"", "build:es:lib": "cross-env NODE_ENV=production babel ./src --out-dir ./lib --ignore \"node_modules,*/__mocks__\"", "cs-check": "prettier -l $npm_package_prettierOptions '{playground,src,test}/**/*.js'", "cs-format": "prettier $npm_package_prettierOptions '{playground,src,test}/**/*.js' --write", "lint": "eslint src test playground", "precommit": "lint-staged", "prepush": "npm test", "playground:build": "rimraf build && cross-env NODE_ENV=production webpack --config webpack.playground.prod.js --mode production", "playground:run:dev": "webpack-dev-server --config webpack.playground.dev.js --mode development", "playground:run:dist": "npm run playground:build && http-server build --port 8080", "start": "npm run playground:run:dev", "test": "jest" }, "prettierOptions": "--trailing-comma es5 --semi", "lint-staged": { "{playground,src,test}/**/*.js": [ "npm run lint", "npm run cs-format", "git add" ] }, "main": "dist/es/index.js", "module": "dist/es/index.js", "files": [ "dist", "lib" ], "engineStrict": false, "engines": { "node": ">=18" }, "peerDependencies": { "react": "^18.2.0 || ^19.0.0" }, "dependencies": { "@rjsf/core": "^6.2.0", "@rjsf/utils": "^6.2.0" }, "devDependencies": { "@babel/cli": "^7.4.4", "@babel/core": "^7.21.4", "@babel/eslint-parser": "^7.21.3", "@babel/plugin-proposal-class-properties": "^7.4.4", "@babel/plugin-proposal-object-rest-spread": "^7.4.4", "@babel/plugin-transform-object-assign": "^7.8.3", "@babel/plugin-transform-runtime": "^7.4.4", "@babel/preset-env": "^7.21.4", "@babel/preset-react": "^7.0.0", "@babel/register": "^7.4.4", "@babel/runtime-corejs2": "^7.8.7", "@rjsf/validator-ajv8": "^6.2.0", "@testing-library/jest-dom": "^6.9.1", "@testing-library/react": "^16.3.1", "babel-jest": "^29.5.0", "babel-loader": "^9.1.2", "clean-webpack-plugin": "^4.0.0", "cross-env": "^7.0.2", "css-loader": "^6.7.3", "deepcopy": "^2.0.0", "eslint": "^8.38.0", "eslint-plugin-jest": "^27.2.1", "eslint-plugin-react": "^7.32.2", "eslint-plugin-react-hooks": "^4.6.0", "exit-hook": "^3.2.0", "html": "1.0.0", "html-loader": "^4.2.0", "html-webpack-plugin": "^5.5.1", "http-server": "^14.1.1", "husky": "^8.0.3", "jest": "^29.5.0", "jest-cli": "^29.5.0", "jest-environment-jsdom": "^30.2.0", "json-rules-engine": "^7.2.1", "json-rules-engine-simplified": "^0.2.0", "lint-staged": "^15.2.10", "mini-css-extract-plugin": "^2.7.5", "patch-package": "^8.0.0", "postinstall-postinstall": "^2.1.0", "prettier": "^2.0.5", "react": "^18.2.0", "react-dom": "^18.2.0", "rimraf": "^5.0.0", "selectn": "^1.1.2", "sinon": "^21.0.1", "style-loader": "^3.3.2", "terser-webpack-plugin": "^5.3.7", "webpack": "^5.104.1", "webpack-cli": "^6.0.1", "webpack-dev-server": "^5.2.3" }, "directories": { "test": "test" }, "repository": { "type": "git", "url": "git+https://github.com/ivarprudnikov/rjsf-conditionals.git" }, "keywords": [ "react", "form", "rjsf", "json-schema", "conditional", "predicate" ], "license": "Apache-2.0", "homepage": "https://github.com/ivarprudnikov/rjsf-conditionals#readme", "jest": { "testEnvironment": "jsdom", "setupFilesAfterEnv": [ "<rootDir>/test/setup.js" ], "transform": { "^.+\\.jsx?$": "babel-jest" }, "transformIgnorePatterns": [ "node_modules/(?!(@rjsf|@x0k|json-rules-engine|jsonpath-plus|sinon)/)" ] } }