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

https://github.com/wolfiezero/skeletal-modern-javascript

A boilerplate for modern JavaScript development.
https://github.com/wolfiezero/skeletal-modern-javascript

babel es2015 es2016 es2017 es6 es7 javascript modern-javascript modern-web webpack

Last synced: 6 months ago
JSON representation

A boilerplate for modern JavaScript development.

Awesome Lists containing this project

README

          

# Skeletal Modern JavaScript

A boilerplate for modern JavaScript development.

This is a very basic starter package and there's lot that can be added. But to
get the a solution bootstrapped quickly, this should cover most bases.

## Installation

1. `git clone` this repo
2. Run `yarn` or `npm i` to install dependencies
3. Update `.babelrc` to target different browsers (see [BrowserList](https://github.com/ai/browserslist#queries)
to write an appropriate query).

## Tasks

These can be triggered using `yarn COMMAND` or `npm run COMMAND`.

`build` - One time build and quit
`watch` - Watches for file changes and builds when something has changed
`start` - Like watch, but runs a web server for easy front-end development

## Flow Support

1. Run `yarn add babel-preset-flow flow-bin`
2. in `.bablerc` add `flow` to the `presets` array.

(If you're running `npm` then change `yarn add` to `npm add --save`.)