diff --git a/.travis.yml b/.travis.yml index 0742e22a..e168e2cd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,6 +10,7 @@ node_js: - '6' script: npm run verify after_success: + - npm run travis-deploy-once "npm run publish-reports" - npm run travis-deploy-once "npm run semantic-release" branches: except: diff --git a/README.md b/README.md index 093552d9..62cc291b 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,8 @@ # Tiny Types +[![npm version](https://badge.fury.io/js/tiny-types.svg)](https://badge.fury.io/js/tiny-types) [![Build Status](https://travis-ci.org/jan-molak/tiny-types.svg?branch=master)](https://travis-ci.org/jan-molak/tiny-types) +[![Coverage Status](https://coveralls.io/repos/github/jan-molak/tiny-types/badge.svg?branch=master)](https://coveralls.io/github/jan-molak/tiny-types?branch=master) [![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/) +[![npm](https://img.shields.io/npm/dm/tiny-types.svg)](https://npm-stat.com/charts.html?package=tiny-types) +[![Known Vulnerabilities](https://snyk.io/test/github/jan-molak/tiny-types/badge.svg)](https://snyk.io/test/github/jan-molak/tiny-types) \ No newline at end of file diff --git a/package.json b/package.json index c5215f64..68f0a751 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ "test": "nyc --report-dir ./reports/coverage mocha --opts ./mocha.opts 'spec/**/*.spec.*'", "package": "tsc --project tsconfig.json", "verify": "npm run clean && npm run lint && npm test && npm run package", + "publish-reports": "nyc report --reporter=text-lcov | coveralls", "commit": "git-cz", "semantic-release": "semantic-release", "travis-deploy-once": "travis-deploy-once"