Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/evenfrost/booted

My pretty opinionated JS boilerplate
https://github.com/evenfrost/booted

babel boilerplate eslint javascript pug stylus webpack yarn

Last synced: 9 days ago
JSON representation

My pretty opinionated JS boilerplate

Awesome Lists containing this project

README

        

# booted
Bootstrap a JavaScript project without fatigue.

## Features
- Gentle [Webpack 3](https://webpack.js.org/) config
- [Babel](https://babeljs.io/) with [stage 1](https://babeljs.io/docs/plugins/preset-stage-1/) and [env](https://github.com/babel/babel-preset-env) presets
- [Yarn](https://yarnpkg.com/)
- [ESLint](http://eslint.org/) with [Airbnb base config](https://github.com/airbnb/javascript/tree/master/packages/eslint-config-airbnb-base)
- [Koa](https://github.com/koajs/koa) with common middleware
- [Pug](https://pugjs.org/)
- [Stylus](http://stylus-lang.com/)

## Requirements
- [Node.js](https://nodejs.org/) v7.6.0 or higher (async/await support needed)
- [Yarn](https://yarnpkg.com/)

## Installation
```sh
yarn global add booted
# or
npm i -g booted
```

## Usage
```sh
# initialize new project in current folder
booted

# or specify a folder
booted /home/projects/my-awesome-project

# then
yarn start # http://localhost:3000

# or
PORT=1337 yarn start # http://localhost:1337

# build and use in production
yarn prod # http://localhost:3000
```