Command Line Interface for blink

Installation

npm i -g @tremorvideo/blink-cli

Commands

Downloads a new Starter Kit into the current working directory.

Examples:

blink init spr blink init prp blink init pxp

Prepares HTML Templare for Animate CC with videos entered into the blink.toml. This command must be run everytime your videos have changed.

blink prepare

After the “prepare” command has finished, you MUST update the template in your Animate CC project. To do so:

  1. Click File > Publish Settings.
  2. Click the “Advanced” tab.
  3. Click “Import New…”
  4. Select “animate-template.html” and press "Open".
  5. Press “OK”
  6. When ready, republish the project.

Compiles a project for upload.

blink build

Builds a Manifest from the blink.toml and the project file.

blink build-manifest

Builds the VPAID Bridge from the manifest.json. build-manifest needs to be run prior to this.

blink build-vpaid
  • Recursively copies files from ./src/images/**/*.(png|gif|jpg|svg) into ./dist/images.
  • Recursively copies files from ./src/fonts/**/*.(woff|ttf|otf|woff2) into ./dist/fonts.
  • Recursively copies files from ./src/plugins/**/* into ./dist/plugins. Ignore copying of .js files.
blink copy

Upload files to static.tremorvideo.com. Returns the directory files were uploaded to.

blink upload