mirror of
https://github.com/zhigang1992/reactfire.git
synced 2026-04-02 22:42:30 +08:00
Added instruction for installing Bower
This commit is contained in:
11
README.md
11
README.md
@@ -86,11 +86,12 @@ If you'd like to contribute to ReactFire, you'll need to run the following comma
|
||||
|
||||
```bash
|
||||
$ git clone https://github.com/firebase/reactfire.git
|
||||
$ cd reactfire # go to the reactfire directory
|
||||
$ npm install -g gulp # globally install gulp task runner
|
||||
$ npm install # install local npm build / test dependencies
|
||||
$ bower install # install local JavaScript dependencies
|
||||
$ gulp watch # watch for source file changes
|
||||
$ cd reactfire # go to the reactfire directory
|
||||
$ npm install -g gulp # globally install gulp task runner
|
||||
$ npm install -g bower # globally install Bower package manager
|
||||
$ npm install # install local npm build / test dependencies
|
||||
$ bower install # install local JavaScript dependencies
|
||||
$ gulp watch # watch for source file changes
|
||||
```
|
||||
|
||||
`gulp watch` will watch for changes in the `/src/` directory and lint, concatenate, and minify the source files when a change occurs. The output files - `reactfire.js` and `reactfire.min.js` - are written to the `/dist/` directory.
|
||||
|
||||
Reference in New Issue
Block a user