项目作者: rediche

项目描述 :
A collection of Guild Wars 2 Tools.
高级语言: JavaScript
项目地址: git://github.com/rediche/gw2-ninja.git
创建时间: 2017-02-13T15:01:53Z
项目社区:https://github.com/rediche/gw2-ninja

开源协议:

下载


Polymer 3 version of GW2 Ninja.

Setup

Prerequisites

First, install Polymer CLI (we assume you have pre-installed node.js).

  1. npm install -g polymer-cli bower

Install

  1. clone from git repo
  2. cd gw2-ninja
  3. npm install

Configuation

Modify ./config.js in the root directory with your application Client ID from Twitch. You can get one from your Twitch Developer Dashboard.

Start the development server

This command serves the app at http://localhost:8080 and provides basic URL
routing for the app:

  1. polymer serve

Build

This command performs HTML, CSS, and JS minification on the application
dependencies, and generates a service-worker.js file with code to pre-cache the
dependencies based on the entrypoint and fragments specified in polymer.json.
The minified files are output to the build/default folder.

  1. polymer build

Preview the build

This command serves the built version of the app at http://localhost:8080:

  1. polymer serve build/default

Run tests

Note: No proper tests are currently implemented.

This command will run Web Component Tester
against the browsers currently installed on your machine:

  1. polymer test