@moonwalker/jetpack

Webpack for Moonwalkers

Usage no npm install needed!

<script type="module">
  import moonwalkerJetpack from 'https://cdn.skypack.dev/@moonwalker/jetpack';
</script>

README

Jetpack

renovatebot ci

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

Read more about the release flow