Skip to content

Commit

Permalink
fix: fix badges and fix npm deployment files
Browse files Browse the repository at this point in the history
- properly include source files in NPM deployment package
- fix README badges
  • Loading branch information
nolde committed Jul 15, 2019
1 parent 61885b5 commit d510b87
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
Vue.js Events Plugin
====================

[![npm](https://img.shields.io/npm/v/vue-plugin-events.svg)](https://www.npmjs.com/package/vue-plugin-events)
[![vue2](https://img.shields.io/badge/vue-2.x-brightgreen.svg)](https://vuejs.org/)
[![build](https://travis-ci.com/nolde/vue-plugin-events.svg?branch=master)](https://travis-ci.com/nolde/vue-plugin-events)
[![size](https://packagephobia.now.sh/badge?p=vue-plugin-events)](https://packagephobia.now.sh/result?p=vue-plugin-events)
[![standard](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com/)
[![npm version](https://img.shields.io/npm/v/vue-plugin-events.svg)](https://www.npmjs.com/package/vue-plugin-events)
[![vue 2.x](https://img.shields.io/badge/vue-2.x-brightgreen.svg)](https://vuejs.org/)
[![build status](https://img.shields.io/circleci/build/gh/nolde/vue-plugin-events/master.svg)](https://circleci.com/gh/nolde/vue-plugin-events)
[![minzipped size](https://badgen.net/bundlephobia/minzip/vue-plugin-events)](https://bundlephobia.com/result?p=vue-plugin-events)
[![code style: standard + prettier](https://img.shields.io/badge/code%20style-standard%20%2B%20prettier-ff69b4.svg)](https://standardjs.com/)

Simple global event bus for Vue.js applications with automatic subscription control.
> Simple global event bus for Vue.js applications with automatic subscription control. Zero dependencies.
----------------

Expand Down Expand Up @@ -43,10 +43,10 @@ Vue.use(VueEvents)
```html
<!-- Include after Vue -->
<!-- Local files -->
<script src="vue-plugin-events/dist/vue-plugin-events.js"></script>
<script src="vue-plugin-events/dist/vue-plugin-events.umd.js"></script>

<!-- From CDN -->
<script src="https://unpkg.com/vue-plugin-events"></script>
<script src="https://cdn.jsdelivr.net/npm/vue-plugin-events"></script>
```

Usage
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"module": "dist/vue-plugin-events.esm.js",
"browser": "dist/vue-plugin-events.umd.js",
"files": [
"dist"
"dist",
"src"
],
"scripts": {
"build": "rollup -c",
Expand Down

0 comments on commit d510b87

Please sign in to comment.