2015-01-20 01:53:18 -05:00
|
|
|
FrankerFaceZ
|
|
|
|
============
|
|
|
|
|
2017-11-13 01:23:39 -05:00
|
|
|
Copyright (c) 2017 Dan Salvato LLC
|
2015-01-20 01:53:18 -05:00
|
|
|
|
2016-11-09 23:45:08 -05:00
|
|
|
Licensed under the Apache License, Version 2.0. See LICENSE.
|
2015-01-20 01:53:18 -05:00
|
|
|
|
|
|
|
|
|
|
|
Developing
|
|
|
|
==========
|
|
|
|
|
|
|
|
FrankerFaceZ uses node.js to manage development dependencies and to run an HTTP
|
|
|
|
server for development. To get everything you need:
|
|
|
|
|
2017-11-13 01:23:39 -05:00
|
|
|
1. Install node.js and npm
|
|
|
|
2. Run ```npm install`` within the FrankerFaceZ directory.
|
2015-01-20 01:53:18 -05:00
|
|
|
|
|
|
|
|
2017-11-13 01:23:39 -05:00
|
|
|
From there, you can use npm to build the extension from source simply by
|
|
|
|
running ```npm run build```. For development, you can instruct gulp to watch
|
|
|
|
the source files for changes and re-build automatically with ```npm start```
|
2015-01-20 01:53:18 -05:00
|
|
|
|
|
|
|
FrankerFaceZ comes with a local development server that listens on port 8000
|
|
|
|
and it serves up local development copies of files, falling back to the CDN
|
2017-11-13 01:23:39 -05:00
|
|
|
when a local copy of a file isn't present.
|
2015-01-20 01:53:18 -05:00
|
|
|
|
2017-11-13 01:23:39 -05:00
|
|
|
To make FrankerFaceZ load from your local development server, you must set
|
|
|
|
the local storage variable ```ffzDebugMode``` to true. Just run the following
|
|
|
|
in your console on Twitch: ```localStorage.ffzDebugMode = true;```
|