-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Update using plugin generator v7.2.4 (#52)
- Loading branch information
1 parent
050c300
commit 761f547
Showing
24 changed files
with
5,581 additions
and
6,750 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
lts/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,16 @@ | ||
sudo: false | ||
dist: trusty | ||
language: node_js | ||
node_js: | ||
- 8 | ||
cache: | ||
directories: | ||
- node_modules | ||
# node version is specified using the .nvmrc file | ||
before_install: | ||
- npm install -g greenkeeper-lockfile@1 | ||
before_script: | ||
# check if the current version is equal to the version for the env | ||
- 'export IS_INSTALLED="$(npm list video.js | grep "video.js@$VJS")"' | ||
# we have to add semi colons to the end of each line in the if | ||
# as travis runs this all on one line | ||
- 'if [ -z "$IS_INSTALLED" ]; then | ||
echo "INSTALLING video.js@>=$VJS.0.0-RC.0 <$(($VJS+1)).0.0"; | ||
npm i "video.js@>=$VJS.0.0-RC.0 <\$(($VJS+1)).0.0"; | ||
else | ||
echo "video.js@$VJS ALREADY INSTALLED"; | ||
fi' | ||
env: | ||
- VJS=5 | ||
- VJS=6 | ||
- export DISPLAY=:99.0 | ||
- sh -e /etc/init.d/xvfb start | ||
- greenkeeper-lockfile-update | ||
after_script: | ||
- greenkeeper-lockfile-upload | ||
addons: | ||
chrome: stable | ||
firefox: latest | ||
chrome: stable | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,30 @@ | ||
# CONTRIBUTING | ||
|
||
We welcome contributions from everyone! | ||
|
||
## Getting Started | ||
|
||
Make sure you have Node.js 4.8 or higher and npm installed. | ||
|
||
1. Fork this repository and clone your fork | ||
1. Install dependencies: `npm install` | ||
1. Run a development server: `npm start` | ||
|
||
### Making Changes | ||
|
||
Refer to the [video.js plugin conventions][conventions] for more detail on best practices and tooling for video.js plugin authorship. | ||
|
||
When you've made your changes, push your commit(s) to your fork and issue a pull request against the original repository. | ||
|
||
### Running Tests | ||
|
||
Testing is a crucial part of any software project. For all but the most trivial changes (typos, etc) test cases are expected. Tests are run in actual browsers using [Karma][karma]. | ||
|
||
- In all available and supported browsers: `npm test` | ||
- In a specific browser: `npm run test:chrome`, `npm run test:firefox`, etc. | ||
- While development server is running (`npm start`), navigate to [`http://localhost:9999/test/`][local] | ||
|
||
|
||
[karma]: http://karma-runner.github.io/ | ||
[local]: http://localhost:9999/test/ | ||
[conventions]: https://github.com/videojs/generator-videojs-plugin/blob/master/docs/conventions.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.