Skip to content

Commit

Permalink
Merge tag 'v0.0.0' into develop
Browse files Browse the repository at this point in the history
Version 0.0.0
  • Loading branch information
dhurlburtusa committed Jan 22, 2018
2 parents ff99a6a + 0aac0d0 commit 1684b83
Show file tree
Hide file tree
Showing 6 changed files with 63 additions and 10 deletions.
6 changes: 6 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
language: node_js
node_js:
- "8"
script: npm run travisci
after_success:
- npm run coveralls
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# qc-redux-form_utils

[![Build Status][travis-svg]][travis-url]
[![Coverage Status][coverage-image]][coverage-url]
[![License][license-image]][license-url]
[![Downloads][downloads-image]][downloads-url]

Expand Down Expand Up @@ -53,10 +55,13 @@ const ReduxAwareForm = reduxForm({
})(MyForm)
```


[coverage-image]: https://coveralls.io/repos/github/hypersoftllc/qc-redux-form_utils/badge.svg?branch=master
[coverage-url]: https://coveralls.io/github/hypersoftllc/qc-redux-form_utils?branch=master
[downloads-image]: http://img.shields.io/npm/dm/qc-redux-form_utils.svg
[downloads-url]: http://npm-stat.com/charts.html?package=qc-redux-form_utils
[license-image]: http://img.shields.io/npm/l/qc-redux-form_utils.svg
[license-url]: LICENSE
[npm-badge-png]: https://nodei.co/npm/qc-redux-form_utils.png?downloads=true&stars=true
[package-url]: https://npmjs.org/package/qc-redux-form_utils
[travis-svg]: https://travis-ci.org/hypersoftllc/qc-redux-form_utils.svg?branch=master
[travis-url]: https://travis-ci.org/hypersoftllc/qc-redux-form_utils
35 changes: 34 additions & 1 deletion package-lock.json

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

7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "qc-redux-form_utils",
"version": "0.0.0-alpha",
"version": "0.0.0",
"description": "A set of utilities for working with redux-form.",
"keywords": [
"errors",
Expand Down Expand Up @@ -42,15 +42,18 @@
"build:dev": "node scripts/build.js",
"clean": "rimraf flattenErrors.js index.js lib/",
"coverage": "jest --coverage",
"coveralls": "cat ./coverage/lcov.info | coveralls",
"lint": "eslint --max-warnings 0 src/",
"prepare": "npm run build",
"test": "jest --watch"
"test": "jest --watch",
"travisci": "npm run coverage"
},
"dependencies": {},
"devDependencies": {
"babel-core": "^6.26.0",
"babel-jest": "^20.0.3",
"babel-preset-env": "^1.6.1",
"coveralls": "^3.0.0",
"cross-env": "^5.1.3",
"eslint": "^4.16.0",
"fs-extra": "^3.0.1",
Expand Down
15 changes: 9 additions & 6 deletions src/__tests__/flattenErrors.spec.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/* eslint-env jest */
/* eslint padded-blocks: "off" */

import flattenErrors from '../flattenErrors'

describe('flattenErrors.js', function () {
Expand Down Expand Up @@ -66,19 +69,19 @@ describe('flattenErrors.js', function () {
line1: 'Required',
line2: undefined,
city: 'Required',
}
},
},
others: [
{
name: {
last: 'Required'
}
last: 'Required',
},
},
{
address: {
state: 'Required'
}
}
state: 'Required',
},
},
],
}
outErrors = flattenErrors(inErrors)
Expand Down
3 changes: 3 additions & 0 deletions src/__tests__/index.spec.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/* eslint-env jest */
/* eslint padded-blocks: "off" */

import ReduxFormUtils from '../'
import flattenErrors from '../flattenErrors'

Expand Down

0 comments on commit 1684b83

Please sign in to comment.