UNPKG

react-state-form

Version:

The inspiration to build this plugin is: - The developer doesn't have to worry about the basic input-change and data management of form. - Form syntax should be as close as possible to HTML native forms. - The form should provide basic validation ru

126 lines (125 loc) 3.67 kB
{ "name": "react-state-form", "version": "2.0.2", "description": "", "main": "build/react-state-form.js", "module": "build/react-state-form.js", "scripts": { "prod": "webpack -p", "start": "webpack-dev-server --config webpack.config.babel.js --color --progress --hot --inline --mode development", "local": "webpack-dev-server --config webpack.config.babel.js --color --progress --hot --inline --mode development", "prepublishOnly": "rm -rf ./build && npm run prod", "test": "jest", "test:watch": "jest --watch --verbose true", "test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand --verbose true", "eslint:debug": "node --inspect-brk node_modules/.bin/webpack --runInBand --watch --verbose true --debug-brk" }, "repository": { "type": "git", "url": "git+https://github.com/iiison/react-form.git" }, "keywords": [ "form", "react", "forms", "react-form", "react-state", "react-state-form" ], "author": "bharat soni <i.bharat.soni@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/iiison/react-form/issues" }, "peerDependencies": { "react": "^15.0.0 || ^16.0.0" }, "dependencies": { "@babel/polyfill": "^7.2.5", "babel-jest": "^23.6.0", "jest": "^23.6.0" }, "files": [ "build" ], "homepage": "https://github.com/iiison/react-form#readme", "devDependencies": { "@babel/cli": "^7.1.5", "@babel/core": "^7.2.2", "@babel/plugin-proposal-class-properties": "^7.1.0", "@babel/plugin-proposal-export-default-from": "^7.2.0", "@babel/plugin-proposal-export-namespace-from": "^7.2.0", "@babel/preset-env": "^7.1.5", "@babel/preset-react": "^7.0.0", "@babel/register": "^7.0.0", "babel-core": "^7.0.0-bridge.0", "babel-eslint": "^10.0.1", "babel-loader": "^8.0.0-beta.6", "babel-minify-webpack-plugin": "^0.3.1", "babel-plugin-module-resolver": "^3.1.1", "babel-plugin-transform-es2015-modules-commonjs": "^6.26.2", "chalk": "^2.4.1", "enzyme": "^3.8.0", "enzyme-adapter-react-15": "^1.4.1", "enzyme-to-json": "^3.3.5", "eslint": "^5.12.1", "eslint-config-airbnb": "^17.1.0", "eslint-import-resolver-webpack": "^0.10.1", "eslint-loader": "^2.1.1", "eslint-plugin-import": "^2.15.0", "eslint-plugin-jsx-a11y": "^6.1.2", "eslint-plugin-react": "^7.12.4", "extract-text-webpack-plugin": "^3.0.2", "html-webpack-plugin": "^3.2.0", "install-peers": "^1.0.3", "jest-fetch-mock": "^2.1.0", "path": "^0.12.7", "react": "^15.6.1", "react-dom": "^15.6.1", "react-router-dom": "^4.3.1", "react-test-renderer": "^15.6.2", "webpack": "^4.25.1", "webpack-cli": "^3.1.2", "webpack-dev-server": "^3.1.10", "webpack-load-plugins": "^0.1.2" }, "jest": { "setupTestFrameworkScriptFile": "<rootDir>/__tests__/setup/setupTests.js", "testPathIgnorePatterns": [ "<rootDir>/__tests__" ], "moduleNameMapper": { "^.*[.](css|CSS)$": "<rootDir>/__tests__/setup/styleMock.js", "$TESTUTILS(.*)$": "<rootDir>/__tests__/utils" }, "transform": { "^.+\\.jsx$": "babel-jest", "^.+\\.js$": "babel-jest" }, "globals": { "env": { "isProd": false, "isDev": true, "command": "start" } }, "moduleFileExtensions": [ "js", "jsx", "json", "css" ], "modulePaths": [ "/src" ], "moduleDirectories": [ "src", "node_modules" ], "setupFiles": [ "./__tests__/setup/setupJest.js" ], "verbose": true, "automock": false } }