Skip to content
This repository has been archived by the owner on Jun 29, 2018. It is now read-only.

Commit

Permalink
Add build steps to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel15 authored Jul 22, 2017
1 parent 8681ac2 commit 6fe1aa7
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,3 +91,14 @@ Custom plugins also work for inline `<script>`s:
```html
<script type="text/babel" data-plugins="lolizer">
```
Manually Building
=================
If you want to manually upgrade the Babel version used by babel-standalone (or build your own release), follow these steps:
1. Upgrade the Babel versions in `package.json`. This can be done with `npm-check-upgrades` (eg. `npm-check-updates -u -a --packageFile ./package.json /^babel\-/`)
2. Delete `node_modules`, as npm often produces inefficient directory layouts if you upgrade in-place
3. Run `npm run build`
4. Run `npm run test` to ensure it works
5. Open `examples/example.htm` and ensure it works

0 comments on commit 6fe1aa7

Please sign in to comment.