generator-babel7-with-mocha

1.0.0 • Public • Published

generator-babel7-with-mocha

Build Status

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
NOTE: @babel/polyfill has been deprecated as of Babel 7.4.0.

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

Package Sidebar

Install

npm i generator-babel7-with-mocha

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

299 kB

Total Files

16

Last publish

Collaborators

  • alice1017