react-native/website
Konstantin Raev ceb6bd5272 Npm publish
Summary:This work allows automated release deployment.

Previous semi-automation lived in release.sh and I split it into two pieces:
- test-manual-e2e.sh - that just tests that current commit is buildable and makes a quick e2e installation for manual testing
- publish-npm.js - that makes publish based on what current branch and tags are on commit that is tested/deployed by CI

This simplified `Releases.md` guide and requires you to just run
```
git checkout -b 0.22-stable
git tag v0.22.0-rc
git push origin 0.22-stable --tags
```
to have a successful npm release.
Closes https://github.com/facebook/react-native/pull/6453

Reviewed By: mkonicek

Differential Revision: D3047938

Pulled By: bestander

fb-gh-sync-id: dbebf4c3a0bc2c2a0ef75c54595ab5654f91b8ea
shipit-source-id: dbebf4c3a0bc2c2a0ef75c54595ab5654f91b8ea
2016-03-15 09:22:26 -07:00
..
core Improve website menu on mobile 2016-03-13 19:38:26 -07:00
jsdocs
layout RefreshControl refreshing prop and doc improvements 2016-03-13 03:04:24 -07:00
server vibration module 2016-03-03 04:08:31 -08:00
src/react-native Update index.js using ES6 2016-03-14 11:55:31 -07:00
.gitignore CI now builds docs website and deploys it to /%version% path 2016-02-11 06:17:42 -08:00
README.md CI now builds docs website and deploys it to /%version% path 2016-02-11 06:17:42 -08:00
package.json Npm publish 2016-03-15 09:22:26 -07:00
publish-gh-pages.js Yet another fix for CI to find branch that contaisn tag latest 2016-02-15 13:08:31 -08:00
setup.sh

README.md

Run the website server

The first time, get all the dependencies loaded via

npm install

Then, run the server via

npm start
open http://localhost:8079/react-native/index.html

Anytime you change the contents, just refresh the page and it's going to be updated.

Publish the website

cd website
npm run publish-website