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.
- Host: GitHub
- URL: https://github.com/wolfiezero/skeletal-modern-javascript
- Owner: WolfieZero
- Created: 2017-09-15T23:01:51.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-06T09:57:21.000Z (over 8 years ago)
- Last Synced: 2025-02-21T09:18:22.307Z (11 months ago)
- Topics: babel, es2015, es2016, es2017, es6, es7, javascript, modern-javascript, modern-web, webpack
- Language: JavaScript
- Size: 95.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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`.)