https://github.com/moonwalker/jetpack
Webpack for Moonwalkers
https://github.com/moonwalker/jetpack
Last synced: 11 months ago
JSON representation
Webpack for Moonwalkers
- Host: GitHub
- URL: https://github.com/moonwalker/jetpack
- Owner: moonwalker
- License: mit
- Created: 2017-11-13T21:22:45.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2025-07-22T07:42:47.000Z (11 months ago)
- Last Synced: 2025-07-22T09:44:32.403Z (11 months ago)
- Language: JavaScript
- Homepage:
- Size: 7.95 MB
- Stars: 1
- Watchers: 10
- Forks: 0
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Jetpack
[](https://renovatebot.com/dashboard#github/moonwalker/jetpack)
[](https://github.com/moonwalker/jetpack/actions?query=workflow%3Aci)
Webpack for Moonwalkers.
## Quick Start
Install:
```shell
$ npm install -g @moonwalker/jetpack
```
Create a new project:
```shell
$ jetpack create projectname
```
Working on the project:
```shell
$ cd projectname
```
Run dev server:
```shell
$ npm start
```
Build for production:
```shell
$ 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](https://github.com/moonwalker/mrm-presets#pre-flight-check)
#### Setup
```js
// .eslintrc.js
module.exports = {
extends: './node_modules/@moonwalker/jetpack/src/eslintrc.js',
// PROJECT CUSTOM OPTIONS
};
```
```js
// prettier.config.js
module.exports = require('./node_modules/@moonwalker/jetpack/src/prettier.config.js');
```
```js
// lint-staged.config.js
module.exports = require('./node_modules/@moonwalker/jetpack/src/lint-staged.config.js');
```
## Development
```shell
yarn
```
### Publishing
```shell
yarn bump
```
[Read more about the release flow](https://github.com/moonwalker/mrm-presets#how-is-working)