generator-babel7-with-mocha
v1.0.0
Published
A Yeoman generator for ECMAScript development environment with babel 7 and mocha.
Downloads
2
Maintainers
Readme
generator-babel7-with-mocha
A Yeoman generator for ECMAScript development environment with the latest babel@7 and mocha.
devDependencies to be installed
arround babel
- @babel/cli:
^7.4.4
- @babel/core:
^7.4.5
- @babel/preset-env:
^7.4.5
- @babel/register:
^7.4.4
- core-js:
^3.1.3
- regenerator-runtime:
^0.13.2
The Babel document says that @babel/polyfill
has been deprecated as of Babel 7.4.0.
🚨 As of Babel 7.4.0, this package has been deprecated in favor of directly including core-js/stable (to polyfill ECMAScript features) and regenerator-runtime/runtime (needed to use transpiled generator functions):
import "core-js/stable";
import "regenerator-runtime/runtime";
arround test
- mocha:
^6.1.4
- power-assert: `^1.6.1**
- babel-plugin-espower:
^3.0.1
another
- eslint:
^5.16.0
- babel-eslint:
^10.0.1
Structure of generated directory
.
├── .babelrc
├── .eslintignore
├── .eslintrc.js
├── .gitignore
├── package.json
├── src
│ └── index.js
└── test
└── mocha.opts