NPM updates and published (fixes #146)

This commit is contained in:
Sam Potts 2016-01-26 10:08:19 +11:00
parent b217e23880
commit 7edc3ccd53
2 changed files with 17 additions and 4 deletions

View File

@ -33,8 +33,15 @@
"type": "git", "type": "git",
"url": "git://github.com/selz/plyr.git" "url": "git://github.com/selz/plyr.git"
}, },
"authors": [ "license": "MIT",
"Sam Potts <me@sampotts.me>" "bugs": {
], "url": "https://github.com/selz/plyr/issues"
"license": "MIT" },
"directories": {
"doc": "docs"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Sam Potts <sam@selz.com> (selz.com)"
} }

View File

@ -42,6 +42,12 @@ Check `docs/index.html` and `docs/dist/docs.js` for an example setup.
**Heads up:** the example `index.html` file needs to be served from a webserver (such as Apache, Nginx, IIS or similar) unless you change the file sources to include http or https. e.g. change `//cdn.plyr.io/1.5.9/plyr.js` to `https://cdn.plyr.io/1.5.9/plyr.js` **Heads up:** the example `index.html` file needs to be served from a webserver (such as Apache, Nginx, IIS or similar) unless you change the file sources to include http or https. e.g. change `//cdn.plyr.io/1.5.9/plyr.js` to `https://cdn.plyr.io/1.5.9/plyr.js`
### Node Package Manager (NPM)
Using NPM, you can grab Plyr:
```
npm install plyr
```
### Bower ### Bower
If bower is your thang, you can grab Plyr using: If bower is your thang, you can grab Plyr using:
``` ```