From 7edc3ccd53224073b23b0465a3f51e1a3eb30624 Mon Sep 17 00:00:00 2001 From: Sam Potts Date: Tue, 26 Jan 2016 10:08:19 +1100 Subject: [PATCH] NPM updates and published (fixes #146) --- package.json | 15 +++++++++++---- readme.md | 6 ++++++ 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 0ac5bc7f..3aebb5c5 100644 --- a/package.json +++ b/package.json @@ -33,8 +33,15 @@ "type": "git", "url": "git://github.com/selz/plyr.git" }, - "authors": [ - "Sam Potts " - ], - "license": "MIT" + "license": "MIT", + "bugs": { + "url": "https://github.com/selz/plyr/issues" + }, + "directories": { + "doc": "docs" + }, + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "author": "Sam Potts (selz.com)" } diff --git a/readme.md b/readme.md index 87073fd5..f4bde103 100644 --- a/readme.md +++ b/readme.md @@ -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` +### Node Package Manager (NPM) +Using NPM, you can grab Plyr: +``` +npm install plyr +``` + ### Bower If bower is your thang, you can grab Plyr using: ```