Socket
Socket
Sign inDemoInstall

formact

Package Overview
Dependencies
6
Maintainers
1
Versions
39
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.3 to 2.0.0

index.js

63

package.json
{
"name": "formact",
"version": "1.0.3",
"description": "A React Context for Form Components",
"main": "lib/index.js",
"scripts": {
"build:clean": "del lib",
"build:compile": "babel src --out-dir lib",
"build:flow": "flow-copy-source src lib",
"build:types": "cp ./lib/types.js.flow ./types.js",
"build":
"yarn build:clean && yarn build:compile && yarn build:flow && yarn build:types",
"flow": "yarn build && flow",
"lint": "eslint ./src",
"jest": "jest",
"coverage": "jest --coverage",
"test": "yarn lint && yarn flow",
"start": "npm test && yarn build",
"prepublishOnly": "npm start"
},
"version": "2.0.0",
"description": "Context for React form components with validation",
"repository": {

@@ -25,5 +9,3 @@ "type": "git",

},
"keywords": ["react", "form", "input"],
"author": "Diogo Perillo <diogo.perillo@gmail.com>",
"license": "MIT",
"author": "Diogo Perillo",
"bugs": {

@@ -33,37 +15,10 @@ "url": "https://github.com/diogoperillo/formact/issues"

"homepage": "https://github.com/diogoperillo/formact#readme",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"license": "MIT",
"peerDependencies": {
"react": "^15.0.0"
},
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-core": "^6.25.0",
"babel-eslint": "^7.2.3",
"babel-jest": "^20.0.3",
"babel-preset-latest": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-1": "^6.24.1",
"del-cli": "^1.1.0",
"enzyme": "^2.9.1",
"eslint": "^4.2.0",
"eslint-config-prettier": "^2.3.0",
"eslint-plugin-flowtype": "^2.34.1",
"eslint-plugin-prettier": "^2.1.2",
"eslint-plugin-react": "^7.1.0",
"flow-bin": "^0.55.0",
"flow-copy-source": "^1.2.0",
"jest": "^20.0.4",
"prettier": "^1.7.2",
"react": "^15.6.1",
"react-dom": "^15.6.1",
"react-test-renderer": "^15.6.1"
},
"jest": {
"collectCoverage": true,
"coverageDirectory": "coverage/"
},
"dependencies": {
"formact": "^1.0.1",
"hoist-non-react-statics": "^2.2.1",
"lodash": "^4.17.4"
"react": "^16.13.1"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc