@moonwalker/jetpack
v3.3.28
Published
Webpack for Moonwalkers
Downloads
128
Maintainers
Keywords
Readme
Jetpack
Webpack for Moonwalkers.
Quick Start
Install:
$ npm install -g @moonwalker/jetpack
Create a new project:
$ jetpack create projectname
Working on the project:
$ cd projectname
Run dev server:
$ npm start
Build for production:
$ npm run build
Eslint + Prettier config
The idea is to automate the code formatting, while relying on Eslint to report code errors (undefined variables, not found modules, etc.).
Read more about code formatting and linting
Setup
// .eslintrc.js
module.exports = {
extends: './node_modules/@moonwalker/jetpack/src/eslintrc.js',
// PROJECT CUSTOM OPTIONS
};
// prettier.config.js
module.exports = require('./node_modules/@moonwalker/jetpack/src/prettier.config.js');
// lint-staged.config.js
module.exports = require('./node_modules/@moonwalker/jetpack/src/lint-staged.config.js');
Development
yarn
Publishing
yarn bump