UNPKG

react-jsonschema-form-conditionals

Version:

Extension of react-jsonschema-form with conditional field support

124 lines (123 loc) 3.99 kB
{ "name": "react-jsonschema-form-conditionals", "description": "Extension of react-jsonschema-form with conditional field support", "private": false, "author": "mavarazy@gmail.com", "version": "0.3.17", "scripts": { "build:lib": "rimraf lib && cross-env NODE_ENV=production babel -d lib/ src/", "build:dist": "rimraf dist && cross-env NODE_ENV=production webpack --config webpack.config.dist.js --optimize-minimize", "build:playground": "rimraf build && cross-env NODE_ENV=production webpack --config webpack.config.prod.js --optimize-minimize && cp playground/index.prod.html build/index.html", "cs-check": "prettier -l $npm_package_prettierOptions '{playground,src,test}/**/*.js'", "cs-format": "prettier $npm_package_prettierOptions '{playground,src,test}/**/*.js' --write", "dist": "npm run build:lib && npm run build:dist", "lint": "eslint --fix src test playground", "precommit": "lint-staged", "prepush": "npm test", "publish-to-gh-pages": "npm run build:playground && gh-pages --dist build/", "publish-to-npm": "npm run dist && npm publish && npm version patch", "start": "webpack-dev-server", "tdd": "jest --watchAll", "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": "lib/index.js", "files": [ "dist", "lib" ], "engineStrict": false, "engines": { "node": ">=8" }, "peerDependencies": { "prop-types": "^15.5.10", "react": "^16.0.0", "react-jsonschema-form": "^1.0.0" }, "dependencies": { "deepcopy": "^0.6.3", "selectn": "^1.1.2" }, "devDependencies": { "atob": "^2.0.3", "babel-cli": "^6.0.0", "babel-core": "^6.0.0", "babel-eslint": "^8.0.1", "babel-jest": "^21.0.2", "babel-loader": "^7.1.2", "babel-plugin-transform-class-properties": "^6.24.1", "babel-plugin-transform-object-rest-spread": "^6.26.0", "babel-polyfill": "^6.26.0", "babel-preset-env": "^1.6.0", "babel-preset-react": "^6.24.1", "babel-preset-stage-0": "^6.24.1", "babel-register": "^6.26.0", "coveralls": "^3.0.0", "cross-env": "^5.0.5", "css-loader": "^0.28.7", "enzyme": "^3.1.0", "enzyme-adapter-react-16": "^1.0.3", "eslint": "^4.6.1", "eslint-plugin-jest": "^21.0.2", "eslint-plugin-react": "^7.3.0", "eslint-plugin-standard": "^3.0.1", "exit-hook": "^1.1.1", "express": "^4.15.4", "extract-text-webpack-plugin": "^3.0.0", "gh-pages": "^1.0.0", "has-flag": "^2.0.0", "html": "1.0.0", "husky": "^0.14.3", "jest": "^21.0.2", "jest-cli": "^21.1.0", "jsdom": "^11.2.0", "json-rules-engine": "^2.0.2", "json-rules-engine-simplified": "^0.1.11", "lint-staged": "^4.1.3", "prettier": "^1.6.1", "react": "^16.0.0", "react-dom": "^16.0.0", "react-jsonschema-form": "^1.0.0", "react-test-renderer": "^16.0.0", "react-transform-catch-errors": "^1.0.2", "react-transform-hmr": "^1.0.4", "regenerator-runtime": "^0.11.0", "rimraf": "^2.6.1", "sinon": "^4.0.2", "style-loader": "^0.19.0", "webpack": "^3.5.6", "webpack-dev-server": "^2.7.1", "webpack-hot-middleware": "^2.19.1" }, "directories": { "test": "test" }, "repository": { "type": "git", "url": "git+https://github.com/RxNT/react-jsonschema-form-conditionals.git" }, "keywords": [ "react", "form", "json-schema", "conditional", "predicate" ], "license": "Apache-2.0", "homepage": "https://github.com/RxNT/react-jsonschema-form-conditionals#readme" }