Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/moonwalker/jetpack
Webpack for Moonwalkers
https://github.com/moonwalker/jetpack
Last synced: 8 days 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 (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-10-29T17:54:31.000Z (18 days ago)
- Last Synced: 2024-10-29T19:10:10.504Z (18 days ago)
- Language: JavaScript
- Homepage:
- Size: 7.75 MB
- Stars: 1
- Watchers: 11
- Forks: 0
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Jetpack
[![renovatebot](https://badges.renovateapi.com/github/moonwalker/jetpack)](https://renovatebot.com/dashboard#github/moonwalker/jetpack)
[![ci](https://github.com/moonwalker/jetpack/workflows/ci/badge.svg)](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)