From bd9d06a296b5715a0081d7624de37c69b4bebd41 Mon Sep 17 00:00:00 2001 From: brandonocasey Date: Mon, 11 Jun 2018 16:52:42 -0400 Subject: [PATCH 01/12] chore: update to generator v6 --- .gitignore | 4 - .nvmrc | 1 + .travis.yml | 1 + .yo-rc.json | 19 + README.md | 4 + index.html | 2 +- package-lock.json | 7878 ++++++++++++----- package.json | 85 +- scripts/banner.ejs | 6 - scripts/banner.js | 11 + scripts/browserslist.js | 4 + scripts/jsdoc.json | 3 + scripts/karma.conf.js | 100 + scripts/modules.rollup.config.js | 68 - scripts/postcss.config.js | 58 + ...up-replace.js => primed-rollup-plugins.js} | 36 +- scripts/rollup.config.js | 116 + scripts/test.rollup.config.js | 66 - scripts/umd.rollup.config.js | 54 - src/plugin.css | 30 + src/plugin.scss | 11 +- src/video-canvas.js | 91 + test/index.html | 18 - test/karma.conf.js | 42 - 24 files changed, 6296 insertions(+), 2412 deletions(-) create mode 100644 .nvmrc create mode 100644 .yo-rc.json delete mode 100644 scripts/banner.ejs create mode 100644 scripts/banner.js create mode 100644 scripts/browserslist.js create mode 100644 scripts/jsdoc.json create mode 100644 scripts/karma.conf.js delete mode 100644 scripts/modules.rollup.config.js create mode 100644 scripts/postcss.config.js rename scripts/{rollup-replace.js => primed-rollup-plugins.js} (63%) create mode 100644 scripts/rollup.config.js delete mode 100644 scripts/test.rollup.config.js delete mode 100644 scripts/umd.rollup.config.js create mode 100644 src/plugin.css create mode 100644 src/video-canvas.js delete mode 100644 test/index.html delete mode 100644 test/karma.conf.js diff --git a/.gitignore b/.gitignore index efc5fcfd..6349436c 100644 --- a/.gitignore +++ b/.gitignore @@ -25,10 +25,6 @@ npm-debug.log* bower_components/ node_modules/ -# Yeoman meta-data -.yo-rc.json - # Build-related directories dist/ docs/api/ -test/dist/ diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 00000000..b009dfb9 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +lts/* diff --git a/.travis.yml b/.travis.yml index e89d007b..0955e1ac 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,3 +18,4 @@ addons: - google-chrome packages: - google-chrome-stable + diff --git a/.yo-rc.json b/.yo-rc.json new file mode 100644 index 00000000..5f2482a4 --- /dev/null +++ b/.yo-rc.json @@ -0,0 +1,19 @@ +{ + "generator-videojs-plugin": { + "author": { + "name": "James Broberg", + "email": "james.broberg@metacdn.com" + }, + "scope": "", + "name": "vr", + "description": "A plugin to add 360 and VR video support to video.js.", + "license": "apache2", + "sass": true, + "ie8": true, + "docs": true, + "lang": true, + "husky": "lint", + "pluginType": "advanced", + "css": true + } +} \ No newline at end of file diff --git a/README.md b/README.md index 604d1707..d0ae5818 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,10 @@ # VR +[![Build Status](https://travis-ci.org/videojs/videojs-vr.svg?branch=master)](https://travis-ci.org/videojs/videojs-vr.svg) [![Greenkeeper badge](https://badges.greenkeeper.io/videojs/videojs-vr.svg)](https://greenkeeper.io/) +[![Slack Status](http://slack.videojs.com/badge.svg)](http://slack.videojs.com) + +[![NPM](https://nodei.co/npm/videojs-vr.png?downloads=true&downloadRank=true)](https://nodei.co/npm/videojs-vr/) A video.js plugin that turns a video element into a HTML5 Panoramic 360 video player. Project video onto different shapes. Optionally supports Oculus Rift, HTC Vive and the GearVR. diff --git a/index.html b/index.html index d8e2970b..7de71c04 100644 --- a/index.html +++ b/index.html @@ -11,7 +11,7 @@