clean-embed-video

0.1.1 • Public • Published

ES6 module boilerplate with full ES6 test suits and coverage

Usage

clone this repo then :

> npm i 

or

> yarn

then :

  • build : > npm run build
  • test : > mocha or > npm test
  • karma : > npm run karma
  • cover : > npm run cover
  • es5-watch : > npm run es5-watch
  • bundles-watch : > npm run bundles-watch

Produced outputs

  • dist/es5/* : commonjs unbundled files (transpiled with babel)
  • dist/bundles/index.js : cjs module
  • dist/bundles/index.min.js : cjs module minified with uglifyjs
  • dist/bundles/index.mjs : ES module

For coveralls

Travis is configured to run coveralls by default.

So either you remove coveralls run in travis config file, or add a .coveralls.yml with your "repo_token: ......" before pushing to travis (after a first manual npm run coveralls).

Licence

The MIT License

Copyright 2017 (c) Gilles Coomans

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Package Sidebar

Install

npm i clean-embed-video

Weekly Downloads

1

Version

0.1.1

License

MIT

Last publish

Collaborators

  • nomocas