@moonwalker/jetpack
v3.3.28
Published
Webpack for Moonwalkers
Maintainers
Keywords
Readme
Jetpack
Webpack for Moonwalkers.
Quick Start
Install:
$ npm install -g @moonwalker/jetpackCreate a new project:
$ jetpack create projectnameWorking on the project:
$ cd projectnameRun dev server:
$ npm startBuild for production:
$ npm run buildEslint + 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
yarnPublishing
yarn bump