Skip to content
Switch branches/tags

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time



StreamStats client application


required software


Install global dependencies

npm install -g typescript
npm install -g gulp
npm install -g typings

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.


Clone the repository (

git clone

Inside of your project folder (after clone):

npm install
typings install 

For Freshdesk functionalities (used in the About and Help modals), you will need the secrets.json from here. This requires access to the StreamStats Sharepoint, and should be placed locally at src/data.

Note: the secrets file is in the .gitignore and should never be uploaded to GitHub

Building and testing

Serve files with hot module replacement (live reload)

npm start

To build a production version of the app:

npm build


Please read for details on the process for submitting pull requests to us. Please read for details on adhering by the USGS Code of Scientific Conduct.


We use SemVer for versioning. For the versions available, see the tags on this repository.

Commit, Sync, and Merge Pull Request on any current project changes. The steps below require a clean git status.

Make sure you have the latest dependencies by running npm install

Step 1.

Bump the version. Run only one of the below commands.
This creates a local commit with the package.json, bower.json and tsd.json updated to the new version number

gulp patch     # makes v0.1.0 → v0.1.1
gulp feature   # makes v0.1.1 → v0.2.0
gulp release   # makes v0.2.1 → v1.0.0
Step 2.

Push the commit that contains the json files with bumped versions to your personal github repo

git add .
git commit -m "bump version"
Step 3.

Create pull request with version incremented (

Step 4.

Create new release on

To push tags to remote origin: git push origin --tags

*Note that your alias for the remote origin may differ.


See also the list of contributors who participated in this project.


This project is licensed under the Creative Commons CC0 1.0 Universal License - see the file for details

Suggested Citation

In the spirit of open source, please cite any re-use of the source code stored in this repository. Below is the suggested citation:

This project contains code produced by the Web Informatics and Mapping (WIM) team at the United States Geological Survey (USGS). As a work of the United States Government, this project is in the public domain within the United States.

About WIM

  • This project authored by the USGS WIM team
  • WIM is a team of developers and technologists who build and manage tools, software, web services, and databases to support USGS science and other federal government cooperators.
  • WiM is a part of the Upper Midwest Water Science Center.