Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@videojs/babel-config
Advanced tools
A standard babel config, so that plugins don't need the same script in every repository.
Currently babel configs are the same for most plugins, and most of them are built using this babel config via babel. We have some libraries though that are should not be built using rollup for nodejs consumption, that are currently doing so. So this config while still consumed by videojs-generate-rollup-config can also be used standalone with babel-cli.
Lead Maintainer: Brandon Casey @brandonocasey
Maintenance Status: Stable
Table of Contents
$ npm install --save-dev @babel/cli @videojs/babel-config
if (config.builds.module) {
delete config.builds.module;
}
{
"build:cjs": "babel-config-cjs -d ./dist/cjs ./src",
"build:es": "babel-config-es -d ./dist/cjs ./src",
"watch:cjs": "npm run build:cjs -- -w",
"watch:es": "npm run build:es -- -w"
}
main
in package.json
is set to the cjs dist. Something like dist/cjs/index.js
module
in package.json
is set to the es dist. Something like dist/es/index.js
browser
in package.json
is set to the browser dist. Something like dist/project-name.js
babel-config-cjs
, babel-config-es
, or babel-config-run
if TEST_BUNDLE_ONLY
is set nothing will run!babel-config-cjs
binary runs babel cli with --verbose
and --config-file
set to the cjs config exported here.babel-config-es
binary runs babel cli with --verbose
and --config-file
set to the es config exported here.babel-config-run
binary runs babel cli with --verbose
but no config file.const config = require('@videojs/babel-config/cjs.js');
module.export = config
.--config-file <path>
in the above scripts so that everything points to your new configs.babel-config-run
FAQs
A standard babel config, so that plugins don't need the same script in every repository.
The npm package @videojs/babel-config receives a total of 435 weekly downloads. As such, @videojs/babel-config popularity was classified as not popular.
We found that @videojs/babel-config demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 20 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.