Opinionated ESNext application scripts and configurations.
npm install esnext-scripts
yarn add esnext-scripts
- Latest EMACScript supports backed by:
How many times you had been confused by the obsolete
babelsettings (plugins, presets) or even worse, your applications got broken?
esnext build <src> <out>- compile an input directory of modules into an output directory.
esnext exec <script> [--watch] [--env]- execute a Node.js script with ESNext supports.
esnext format <glob>- format files find by the given
esnext lint [optional-folder]- start linting with
esnext test- start executing your
Jesttest specs, custom settings supported via (by order):
const config = require('esnext-scripts') module.exports = config.eslint
- A sample structure of React application folder.
- src/ App.jsx App.test.jsx
MIT License 2019 © Jim Zhan