This repository has been archived by the owner on Nov 27, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: Update tooling using generator v5 prerelease. (#6)
BREAKING CHANGE: Remove Bower support.
- Loading branch information
1 parent
71ff194
commit f2d587b
Showing
17 changed files
with
244 additions
and
371 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"presets": [ | ||
"es3", | ||
["es2015", {"loose": true}] | ||
], | ||
"plugins": ["transform-object-assign"] | ||
} |
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 |
---|---|---|
|
@@ -31,5 +31,4 @@ node_modules/ | |
# Build-related directories | ||
dist/ | ||
docs/api/ | ||
es5/ | ||
test/dist/ |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/** | ||
* Rollup configuration for packaging the plugin in a module that is consumable | ||
* by either CommonJS (e.g. Node or Browserify) or ECMAScript (e.g. Rollup). | ||
* | ||
* These modules DO NOT include their dependencies as we expect those to be | ||
* handled by the module system. | ||
*/ | ||
import babel from 'rollup-plugin-babel'; | ||
import json from 'rollup-plugin-json'; | ||
|
||
export default { | ||
moduleName: 'videojsContextmenu', | ||
entry: 'src/plugin.js', | ||
external: ['video.js'], | ||
globals: { | ||
'video.js': 'videojs' | ||
}, | ||
legacy: true, | ||
plugins: [ | ||
json(), | ||
babel({ | ||
babelrc: false, | ||
exclude: 'node_modules/**', | ||
presets: [ | ||
'es3', | ||
['es2015', { | ||
loose: true, | ||
modules: false | ||
}] | ||
], | ||
plugins: [ | ||
'external-helpers', | ||
'transform-object-assign' | ||
] | ||
}) | ||
], | ||
targets: [ | ||
{dest: 'dist/videojs-contextmenu.cjs.js', format: 'cjs'}, | ||
{dest: 'dist/videojs-contextmenu.es.js', format: 'es'} | ||
] | ||
}; |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.