config-babel 0.1.10
Install from the command line:
Learn more about npm packages
$ npm install @stackcrafters/config-babel@0.1.10
Install via package.json:
"@stackcrafters/config-babel": "0.1.10"
About this version
Provides a base config for:
- Babel
- Jest
- Eslint
- Prettier
add using the following:
npm install @stackcrafters/config-babel --save-dev
Then create the following files in the base of your project:
babel.config.js
module.exports = require('@stackcrafters/config-babel').babel;
jest.config.js
module.exports = require('@stackcrafters/config-babel').jest;
.eslintrc.js
module.exports = require('@stackcrafters/config-babel').eslint;
.prettierrc.js
module.exports = require('@stackcrafters/config-babel').prettier;