
Security News
Feross on Risky Business Weekly Podcast: npm’s Ongoing Supply Chain Attacks
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
generator-node-es2015
Advanced tools
A Yeoman generator for creating ES2015 JavaScript modules with legacy support using Babel, Webpack, Mocha, Chai, Isparta, ESLint
A Yeoman generator for creating ES2015 JavaScript modules with legacy support using Babel, Webpack, Mocha, Chai, Isparta, ESLint
--compilers js:babel-core/register
(it's already preconfigured in the npm test
script) allows to transpile Mocha tests written with ES2015 on the fly.npm run tdd
to start a Mocha watch task that reruns tests on file changes.test
and build
tasks). You can temporary disable this feature by adding --no-verify
flag (i.e $ git commit -am "Beep bop" --no-verify
). The list of all available hooks can be found here.# Install Yeoman and the generator globally
$ npm install -g yo generator-node-es2015
# Make a new folder & open it
$ mkdir my-shiny-module && cd $_
# Run the generator
$ yo node-es2015
npm run build
- Build task that generates both minified and non-minified scripts;npm run test
- Run Mocha tests once;npm run tdd
- Run Mocha tests & watch files for changes;npm run coverage
- Run Isparta, a code coverage tool;MIT © Philipp Alferov
FAQs
A Yeoman generator for creating ES2015 JavaScript modules with legacy support using Babel, Webpack, Mocha, Chai, Isparta, ESLint
We found that generator-node-es2015 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Socket CEO Feross Aboukhadijeh joins Risky Business Weekly to unpack recent npm phishing attacks, their limited impact, and the risks if attackers get smarter.
Product
Socket’s new Tier 1 Reachability filters out up to 80% of irrelevant CVEs, so security teams can focus on the vulnerabilities that matter.
Research
/Security News
Ongoing npm supply chain attack spreads to DuckDB: multiple packages compromised with the same wallet-drainer malware.