UNPKG

rjsf-conditionals

Version:

Extension of @rjsf/core with conditional field support

135 lines (134 loc) 4.54 kB
{ "name": "rjsf-conditionals", "description": "Extension of @rjsf/core with conditional field support", "private": false, "contributors": [ "mavarazy <mavarazy@gmail.com>", "Aivaras Prudnikovas <ivar.prudnikov@gmail.com>" ], "version": "1.5.0", "scripts": { "build": "rimraf dist lib && npm run build:umd && npm run build:cjs && npm run build:es && npm run build:es:lib", "build:umd": "cross-env NODE_ENV=production BABEL_ENV=umd webpack --config webpack.config.dist.js", "build:cjs": "cross-env NODE_ENV=production BABEL_ENV=cjs babel ./src --out-dir ./dist/cjs --ignore \"node_modules,*/__mocks__\"", "build:es": "cross-env NODE_ENV=production BABEL_ENV=es babel ./src --out-dir ./dist/es --ignore \"node_modules,*/__mocks__\"", "build:es:lib": "cross-env NODE_ENV=production BABEL_ENV=es 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/**/*.js' 'test/**/*.js' 'playground/**/*.js'", "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 serve --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" }, "jest": { "verbose": true, "collectCoverage": true, "collectCoverageFrom": [ "src/**/*.{js,jsx}" ] }, "prettierOptions": "--jsx-bracket-same-line --trailing-comma es5 --semi", "lint-staged": { "{playground,src,test}/**/*.js": [ "npm run lint", "npm run cs-format", "git add" ] }, "main": "dist/cjs/index.js", "module": "dist/es/index.js", "files": [ "dist", "lib" ], "engineStrict": false, "engines": { "node": ">=10" }, "peerDependencies": { "@rjsf/core": ">=2.0.0", "core-js": "^2.5.7", "prop-types": "^15.7.2", "react": "^16.9.0" }, "dependencies": { "deepcopy": "^2.0.0", "lodash.isequalwith": "^4.4.0", "selectn": "^1.1.2" }, "devDependencies": { "@babel/cli": "^7.4.4", "@babel/core": "^7.9.6", "@babel/eslint-parser": "^7.19.1", "@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.4.5", "@babel/preset-react": "^7.0.0", "@babel/register": "^7.4.4", "@babel/runtime-corejs2": "^7.8.7", "@material-ui/core": "^4.11.3", "@material-ui/icons": "^4.11.2", "@material-ui/styles": "^4.11.4", "@rjsf/core": "^3.2.1", "@rjsf/material-ui": "^3.2.1", "@testing-library/jest-dom": "^5.16.2", "@testing-library/react": "^12.0.0", "babel-jest": "^27.4.6", "babel-loader": "^8.1.0", "clean-webpack-plugin": "^4.0.0", "cross-env": "^7.0.2", "css-loader": "^5.2.7", "enzyme": "^3.11.0", "enzyme-adapter-react-16": "^1.15.2", "eslint": "^8.27.0", "eslint-plugin-jest": "^26.9.0", "eslint-plugin-react": "^7.3.0", "eslint-plugin-standard": "^5.0.0", "exit-hook": "^3.0.0", "html": "1.0.0", "html-loader": "^1.1.0", "html-webpack-plugin": "^4.3.0", "http-server": "^14.1.0", "husky": "^7.0.4", "jest": "^26.6.3", "jest-cli": "^27.4.3", "json-rules-engine": "^5.0.3", "json-rules-engine-simplified": "^0.1.17", "lint-staged": "^12.3.3", "mini-css-extract-plugin": "^1.0.0", "optimize-css-assets-webpack-plugin": "^6.0.1", "prettier": "^2.0.5", "react": "^16.9.0", "react-dom": "^16.9.0", "rimraf": "^3.0.2", "sinon": "^13.0.1", "style-loader": "^2.0.0", "terser-webpack-plugin": "^4.2.2", "webpack": "^4.46.0", "webpack-cli": "^4.5.0", "webpack-dev-server": "^4.7.4" }, "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" }