Skip to content

Commit

Permalink
Publish 0.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
zackify committed Aug 8, 2017
1 parent 2499a88 commit 714d576
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 12 deletions.
6 changes: 3 additions & 3 deletions example/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion example/package.json
Expand Up @@ -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": {
Expand Down
13 changes: 7 additions & 6 deletions example/src/App.js
Expand Up @@ -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>
Expand Down
4 changes: 2 additions & 2 deletions package.json
@@ -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": {
Expand All @@ -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"
},
Expand Down
File renamed without changes.

0 comments on commit 714d576

Please sign in to comment.