Security News
ESLint is Now Language-Agnostic: Linting JSON, Markdown, and Beyond
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
babel-preset-behance
Advanced tools
Babel preset for Behance
modules
is false by default (for webpack >= 2)useBuiltIns
is set to entry
instead of false
loose
) is included$ npm install --save-dev babel-preset-behance
.babelrc
(Recommended).babelrc
{
"presets": ["behance"]
}
$ babel script.js --presets behance
require("babel-core").transform("code", {
presets: ["behance"]
});
env
({}
by default) - Pass down env options to babel-preset-env. See the babel-preset-env docs for more info.{
"presets": ["behance", {
"env": {
"modules": "commonjs"
}
}]
}
{
"presets": ["behance", {
"env": {
"targets": {
"chrome": 55
}
}
}]
}
{
"presets": ["behance", {
"env": {
"targets": {
"node": "current"
}
}
}]
}
FAQs
Babel preset for Behance
The npm package babel-preset-behance receives a total of 16 weekly downloads. As such, babel-preset-behance popularity was classified as not popular.
We found that babel-preset-behance demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 40 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
ESLint has added JSON and Markdown linting support with new officially-supported plugins, expanding its versatility beyond JavaScript.
Security News
Members Hub is conducting large-scale campaigns to artificially boost Discord server metrics, undermining community trust and platform integrity.
Security News
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.