Skip to content

Commit

Permalink
ci: add npm deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
phatpham9 committed Sep 17, 2017
1 parent 4500808 commit 91d24f2
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 4 deletions.
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,16 @@ cache:
script:
- yarn build

deploy:
provider: npm
email: "hello@gorillab.co"
api_key: $NPM_AUTH_TOKEN
skip_cleanup: true
on:
tags: true
node: '8'
tag: next

notifications:
email: false
slack:
Expand Down
17 changes: 15 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,20 @@
# reader-js

[![Build Status](https://travis-ci.org/gorillab/reader-js.svg?branch=master)](https://travis-ci.org/gorillab/reader-js)
[![Dependencies Status](https://david-dm.org/gorillab/reader-js.svg)](/~https://github.com/gorillab/reader-js)
[![Build Status](https://img.shields.io/travis/gorillab/reader-js.svg)](https://travis-ci.org/gorillab/reader-js)
[![Dependencies Status](https://img.shields.io/david/gorillab/reader-js.svg)](/~https://github.com/gorillab/reader-js)
[![NPM Version](https://img.shields.io/npm/v/@gorillab/reader-js.svg)](https://www.npmjs.com/package/@gorillab/reader-js)
[![NPM Downloads](https://img.shields.io/npm/dt/@gorillab/reader-js.svg)](https://www.npmjs.com/package/@gorillab/reader-js)

reader-api client for reader-web

### installation

```
yarn add @gorillab/reader-js
```

or using `npm`

```
yarn install --save @gorillab/reader-js
```
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "reader-js",
"name": "@gorillab/reader-js",
"version": "1.0.0",
"description": "This is reader-api client for reader-web based on react",
"description": "A reader-api js client for reader-web",
"author": {
"name": "Gorillab",
"email": "hello@gorillab.co",
Expand Down

0 comments on commit 91d24f2

Please sign in to comment.