No description, website, or topics provided.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
assets
mock
src
temp
.gitignore
.npmignore
.nvmrc
.prettierignore
.travis.yml
LICENSE
README.md
assignment.pdf
config.json
package.json
tsconfig.json
tsconfig.module.json
tslint.json

README.md

Unity Frontend Developer Assignment

Build Status

Generates interstitial ad units to /assets folder

  • 1-interstitial-ad-unit.html
    Ad unit built from static mock ad data.
  • 2-dynamic-interstitial-ad-unit.html
    Ad unit built by fetching a real app data. ( app id is configured in config.json )
  • 3-dynamic-carousel-interstitial-ad-unit.html
    Ad unit with real app data same as previous but with image carousel.

Example result of generated html assets are here in the releases;

Project Boilerplate was generated by: typescript-starter

Prerequisites

  • Tell nvm to set up the configured node version
    $ nvm use

  • Install dependencies
    $ npm install

Start

$ npm run start

  • Generate all assets to /assets

Start in development mode

$ npm run watch

  • Generates all assets to /assets
  • Runs tests in watch mode
  • Recompiles typescript in watch mode
  • Starts a web server for re-generating assets when requested (port is configured in config.json)