mirror of
https://github.com/zhigang1992/firebase-tools.git
synced 2026-01-12 09:04:01 +08:00
Readme, coverage, testing (#975)
* clean up readme badges * pin 10, remove stable * fix coveralls reporting
This commit is contained in:
@@ -2,10 +2,10 @@ language: node_js
|
||||
node_js:
|
||||
- '6'
|
||||
- '8'
|
||||
- stable
|
||||
- '10'
|
||||
sudo: false
|
||||
after_script:
|
||||
- cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js
|
||||
- nyc report --reporter=text-lcov | coveralls
|
||||
cache:
|
||||
directories:
|
||||
- node_modules
|
||||
|
||||
13
README.md
13
README.md
@@ -1,4 +1,4 @@
|
||||
# Firebase CLI [](https://travis-ci.org/firebase/firebase-tools) [](https://coveralls.io/r/firebase/firebase-tools) [](https://www.npmjs.com/package/firebase-tools) [](http://badge.fury.io/js/firebase-tools)
|
||||
# Firebase CLI [![Build Status][travis-badge]][travis-ci] [![Coverage Status][coveralls-badge]][coveralls] [![Node Version][node-badge]][npm] [![NPM version][npm-badge]][npm]
|
||||
|
||||
These are the Firebase Command Line Interface (CLI) Tools. They can be used to:
|
||||
|
||||
@@ -9,7 +9,6 @@ These are the Firebase Command Line Interface (CLI) Tools. They can be used to:
|
||||
|
||||
To get started with the Firebase CLI, read the full list of commands below or check out the [hosting-specific CLI documentation](https://firebase.google.com/docs/hosting/quickstart).
|
||||
|
||||
|
||||
## Installation
|
||||
|
||||
To install the Firebase CLI, you first need to [sign up for a Firebase account](https://firebase.google.com/).
|
||||
@@ -25,7 +24,6 @@ npm install -g firebase-tools
|
||||
|
||||
This will provide you with the globally accessible `firebase` command.
|
||||
|
||||
|
||||
## Commands
|
||||
|
||||
**The command `firebase --help` lists the available commands and `firebase <command> --help` shows more details for an individual command.**
|
||||
@@ -148,3 +146,12 @@ client.deploy({
|
||||
// handle error
|
||||
});
|
||||
```
|
||||
|
||||
[travis-ci]: https://travis-ci.org/firebase/firebase-tools
|
||||
[coveralls]: https://coveralls.io/r/firebase/firebase-tools
|
||||
[npm]: https://www.npmjs.com/package/firebase-tools
|
||||
|
||||
[travis-badge]: https://img.shields.io/travis/firebase/firebase-tools/master.svg
|
||||
[coveralls-badge]: https://img.shields.io/coveralls/firebase/firebase-tools.svg?branch=master&style=flat
|
||||
[node-badge]: https://img.shields.io/node/v/firebase-tools.svg
|
||||
[npm-badge]: https://img.shields.io/npm/v/firebase-tools.svg
|
||||
|
||||
Reference in New Issue
Block a user