
Security News
How Enterprise Security Is Adapting to AI-Accelerated Threats
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.
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 CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.