Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/micrub/babel-starter


https://github.com/micrub/babel-starter

Last synced: 6 days ago
JSON representation

Awesome Lists containing this project

README

        

# Usage notes

## `babel-cli` dependency

* [Installation Manual](http://babeljs.io/docs/setup/#installation)

> Note: Since it's generally a bad idea to run Babel globally you may want to
> uninstall the global copy by running `npm uninstall --global babel-cli`.

## Build product

1. Executes tests , if all passing continues to next step.
1. Cleans destination directory from all content.
1. Builds library as UMD module based on `src/` directory contents.
1. Copies following files from `src/` :
1.1 `package.json`

### Run **build** script

`npm run build`

Build product is placed into `lib/` directory.

## Publish product

TODO:

1. Enforces version update.
1. Publish to destinations like :
1.1 npm repository
1.1 GITHUB branch/tag for rapid accessibility using github
repository url as npm dependency tuple value.

### Run **publish** script

`npm run publish`

Publish product version, based on content of `lib/` directory.

# Dependencies

* https://babeljs.io/docs/usage/babel-register/
* https://babeljs.io/docs/plugins/preset-env/
* https://babeljs.io/docs/usage/cli/