/amp-story-ads-preview

Preview AMPHTML ads for `amp-story`.

Primary LanguageJavaScriptApache License 2.0Apache-2.0

โšก AMP Story Ads Preview Tool

Build Status

๐ŸŒŽ Production Build

Netlify Status

๐Ÿ‘‰ here.

๐Ÿšง Building

yarn is used for package management. Install yarn, then install the required packages via:

yarn

...then run to build:

yarn build

๐Ÿ‘ท Developing

To develop locally and watch modified files to build and serve, run:

yarn watch

๐Ÿคน Other tasks

Tasks on pkg.scripts run with yarn TASK_NAME:

  • yarn clean removes a previous build.
  • yarn lint lints the project.
  • yarn serve serves the build.
  • yarn templates-ff extracts the first frame from every _preview.mp4 video in static/templates as _preview_ff.jpg.
  • yarn watch-slow for a slow full-restart watch.
  • yarn x e[x]ecutes a node binary in the project's context (see yarn xr).
  • yarn xr returns an -r [DEPENDENCY] string for runnable dependencies (ignore-styles and esm).

๐Ÿ” Continuous Integration

Travis lints, builds & tests