create-esnext-app
v0.16.8
Published
Opinionated ESNext application boilerplate generator.
Downloads
142
Maintainers
Readme
create-esnext-app
Opinionated ESNext application boilerplate generator.
Key Features
- Cutting edge babel supports.
- Docker with pm2 supports:
- GIT Workflow includes
- auto-code formatting (via prettier-standard).
- structural commit message restriction/validation (via commitizen/conventional-changelog and commitlint)
- Automatic versioning and CHANGELOG generation (via standard-version).
- Pre-configured VSCode editing & debugging settings.
Supported Templates
- Basic - Foundation of every ESNext based application.
- Fastify - Fastify based API server template with Docker support.
- MobX - MobX + React template built on top of Parcel with Docker support.
Installation
npm install -g create-esnext-app
Update
npm update -g create-esnext-app
Create Biolerplate
create-esnext-app
GIT Workflow
GIT Commit
GIT Push
Templates
Basic - ESNext Boilerplate
- Babel settings with supports includes:
- Commitizen for better commit message (via
npm run commit
).- Conventional Changelog as commit message template.
- CommitLint as commit message format validator (via
commitmsg
hook provided byhusky
)
- ESLint with:
- Airbnb Config without
semicolon
:trollface: - VSCode supports.
- Jest.
- Airbnb Config without
- Jest with VSCode supports.
- Prettier for code formatting (
precommit
andVSCode
). - Husky for GIT hooks.
- per-env for npm scripts.
Fastify Server Boilerplate
- Foundation extended from Basic.
- Fastify - An modern efficient server.
- Convict - expands on the standard pattern of configuring with dynamic settings supports.
- PM2 - production process manager.
- Docker - containerization ready for your production deployment.
MobX (Parcel) + React Boilerplate
- Foundation extended from Basic.
- Parcel based React boilerplate.
- Enzyme testing utilities for React.
- Ant Design An enterprise-class UI design language and React-based implementation.
- mobx-react - React bindings for MobX.
- Docker - containerization ready for your production deployment.
VSCode Supports (Optional)
- Required Extensions:
- Workspace settings (via
.vscode/settings.json
). - Chrome based debugger (via
.vscode/launch.json
).