Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
* develop:
  release 1.0.0 🎉
  fix: includes travis.yml
  fix: package.json script
  feat: adds tests
  • Loading branch information
Rodrigo Solis committed Jan 20, 2018
2 parents 9b258fe + 0babd33 commit 1620f79
Show file tree
Hide file tree
Showing 10 changed files with 3,613 additions and 110 deletions.
23 changes: 17 additions & 6 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
{
"presets": [
["env", { "modules": false }],
"stage-3",
"flow"
],
"plugins": ["external-helpers"]
"env": {
"test": {
"presets": [
["env"],
"stage-3",
"flow"
]
},
"production": {
"presets": [
["env", { "modules": false }],
"stage-3",
"flow"
],
"plugins": ["external-helpers"],
}
}
}
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
lib/*.js
node_modules/*.js
tests/*.js
1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
.editorconfig
.eslintignore
examples/**
tests/**
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
language: node_js
node_js:
- 8
script:
- node --version
- npm run test
notifications:
email:
on_failure: change
cache:
directories:
- node_modules
12 changes: 11 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
<a name="1.0.0"></a>
# [1.0.0](https://github.com/sorodrigo/proxy-validator/compare/v0.1.3...v1.0.0) (2018-01-20)

### Features

* adds tests
* links to medium post
* add travis ci hook


<a name="0.1.3"></a>
## [0.1.3](https://github.com/sorodrigo/proxy-validator/compare/v0.1.2...v0.1.3) (2017-12-27)

Expand All @@ -9,7 +19,7 @@


<a name="0.1.2"></a>
# [0.1.2](https://github.com/sorodrigo/proxy-validator/compare/v0.1.1...v0.1.2) (2017-12-27)
## [0.1.2](https://github.com/sorodrigo/proxy-validator/compare/v0.1.1...v0.1.2) (2017-12-27)

### Bug Fixes

Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
[![Build Status](https://travis-ci.org/sorodrigo/proxy-validator.svg?branch=master)](https://travis-ci.org/sorodrigo/proxy-validator)
# proxy-validator

Small package that leverages the power of ES6 Proxy to validate and sanitize objects.

Learn More, read the article:

[How I made a validation library using ES6 Proxy](https://hackernoon.com/how-i-made-a-validation-library-using-es6-proxy-59df82c1a4c0)

### Installation
```bash
$ npm i proxy-validator
Expand Down
Loading

0 comments on commit 1620f79

Please sign in to comment.