Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/micrub/babel-starter
https://github.com/micrub/babel-starter
Last synced: 6 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/micrub/babel-starter
- Owner: micrub
- Created: 2017-07-17T20:54:32.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-07-17T23:31:55.000Z (over 7 years ago)
- Last Synced: 2024-11-08T08:46:43.421Z (about 2 months ago)
- Language: JavaScript
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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/