Permalink
Browse files

Publish 0.1.0

  • Loading branch information...
zackify committed Aug 8, 2017
1 parent 2499a88 commit 714d5767a5e5aac09e450f96f4e8c11858ade927
Showing with 13 additions and 12 deletions.
  1. +3 −3 example/package-lock.json
  2. +1 −1 example/package.json
  3. +7 −6 example/src/App.js
  4. +2 −2 package.json
  5. 0 { → src}/form.js

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -8,7 +8,7 @@
"dependencies": {
"react": "^15.6.1",
"react-dom": "^15.6.1",
"react-validify": "0.0.5",
"react-validify": "^0.1.0",
"validatorjs": "^3.13.3"
},
"scripts": {
View
@@ -10,12 +10,13 @@ class App extends Component {
<Form rules={{ email: 'email|required', password: 'required|min:8' }}>
<Input name="email" />
<Input name="password" type="password" />
<div
submit
onClick={values => console.log('if validation passes, this logs')}
>
Submit!
<div>
<div
submit
onClick={values => console.log('if validation passes, this logs')}
>
Submit!
</div>
</div>
</Form>
</div>
View
@@ -1,6 +1,6 @@
{
"name": "react-validify",
"version": "0.0.14",
"version": "0.1.0",
"description": "Form validation made easy",
"main": "dist/form.js",
"directories": {
@@ -22,7 +22,7 @@
"collectCoverage": false
},
"scripts": {
"build": "babel form.js --out-dir dist",
"build": "babel src --out-dir dist",
"test": "jest",
"test-ci": "jest --coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
},
View
File renamed without changes.

0 comments on commit 714d576

Please sign in to comment.