Skip to content

Commit

Permalink
Merge pull request #2 from upfrontIO/ci-integration
Browse files Browse the repository at this point in the history
CI integration
  • Loading branch information
peyerluk authored Mar 20, 2018
2 parents bb793a8 + 8a57e3d commit b43f43b
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 2 deletions.
17 changes: 17 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
dist: trusty
language: node_js
node_js:
- 8
notifications:
email: false
install:
- npm install -g npm@"$(jq -r '.engines.npm' package.json)"
- npm install
script:
- npm ls
- npm test
deploy:
provider: script
skip_cleanup: true
script:
- npx semantic-release
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# microschema

<p align="center">
<a href="https://travis-ci.org/upfrontIO/microschema">
<img alt="Travis" src="https://img.shields.io/travis/upfrontIO/microschema/master.svg">
</a>
<a href="https://semantic-release.gitbooks.io/semantic-release/content/#highlights">
<img alt="semantic-release" src="https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg">
</a>
<a href="https://www.npmjs.com/package/microschema">
<img alt="npm latest version" src="https://img.shields.io/npm/v/microschema/latest.svg">
</a>
</p>


Helper library to create JSON Schemas in a concise way.

Example:
Expand Down
13 changes: 11 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
"version": "1.0.0",
"description": "Helper library to create JSON Schemas in a concise way.",
"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/upfrontIO/microschema"
},
"scripts": {
"test": "ava test.js && eslint ."
},
Expand All @@ -16,8 +20,13 @@
],
"license": "MIT",
"devDependencies": {
"ava": "^0.23.0",
"eslint": "^4.10.0"
"ava": "^0.25.0",
"eslint": "^4.19.0",
"semantic-release": "15.1.3"
},
"engines": {
"node": ">=8.9.0",
"npm": ">=5.2.0"
},
"ava": {
"failWithoutAssertions": false
Expand Down

0 comments on commit b43f43b

Please sign in to comment.