Skip to content

How to build

Martin Treacy-Schwartz edited this page Dec 21, 2016 · 12 revisions

ℹ️
You only need to read this page is your are interested in modifying and building the SDK from Typescript source.

###Dependencies

  • Node.js
  • Gulp

Run the following command to install all devDependencies:

npm install

All source code (Typescript) is located in src and resulting distribution files from building are placed in dist.

To build run:

gulp

This will build GameAnalytics.d.ts (declaration file), GameAnalytics.debug.js (includes sourcemap, not uglified), GameAnalytics.js (logging included, uglified, around 60Kb in size) and GameAnalytics.min.js (no logging included, uglified, around 48Kb in size).



[NEXT  →](Using the SDK)

Clone this wiki locally