rainforestapp/harviewer

Name: harviewer

Owner: Rainforest QA

Description: HAR Viewer is a web application that allows visualizing HTTP Archive logs (HARs)

Forked from: janodvarko/harviewer

Created: 2016-11-08 00:33:41.0

Updated: 2016-11-08 00:33:44.0

Pushed: 2016-10-16 15:58:14.0

Homepage: http://www.softwareishard.com/blog/har-viewer/

Size: 65006

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Stable URL (v2.0.17, 21 March 2016) - http://www.softwareishard.com/har/viewer/

Up-to-date master - http://gitgrimbo.github.io/harviewer/master/ (and https)

HAR Viewer

License

HAR Viewer is free and open source software distributed under the BSD License.

Components
Build Tools
Testing
Development
Linting

HAR Viewer uses ESLint for linting. It will be installed when you run npm install from the project root.

To show lint errors only:

npm run eslint

To show lint errors and warnings:

npm run eslint-full
Build

The HAR Viewer build process uses Ant as its build tool. To see a list of available tasks, use ant -p at the command line.

A build can be performed in one of three ways.

1) Node.js

This is the default and preferred method. Node.js must be installed. To start a build, go to the project directory and execute the following command:

ant build

(Indicative build time - about 9 seconds. Node.js v6.0.0)

2) Java 8 with Nashorn

To build using the jjs command, Java 8 must be installed. Execute the following command:

ant -Drjs.runner=nashorn build

(Indicative build time - about 1 minute 37 seconds. nashorn 1.8.0_92)

3) Pre-Java 8 with Rhino

To build using Java 7 or earlier, execute the following command:

ant -Drjs.runner=java build

You will have to set the optimize build configuration value to "closure", for example:

optimize: "closure",

(Indicative build time - about 42 seconds)

Version and Google Analytics

Certain build properties can be overridden at the command line. For example, to provide the VERSION and GOOGLE-ANALYTICS-PROFILE values:

ant build -DVERSION=3.0.0 -DGOOGLE-ANALYTICS-PROFILE=TRACKING_ID_HERE


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.