diff options
-rw-r--r-- | package.json | 15 | ||||
-rw-r--r-- | 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 <me@sampotts.me>" - ], - "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 <sam@selz.com> (selz.com)" } @@ -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: ``` |