@tremorvideo/blink-cli
Release DwarfWillow
Last updated 2 months ago by tremorvideo .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @tremorvideo/blink-cli -g
SYNC missed versions from official npm registry.

@tremorvideo/blink-cli

definition of manifest.json

There should be only one MediaFile. However IAB VAST Standard does not prevent multiple MediaFile.

{
  "mediaFiles": [
    {
      "id": "CU-12345",
      "delivery": "progressive",
      "type": "application/javascript",
      "bitrate": 466,
      "width": 640,
      "height": 480,
      "maintainAspectRatio": true,
      "scalable": true,
      "apiFramework": "VPAID",
      "uri": "https://s.tremorvideodsp.com/SGAI12345/vpaid.js"
    }
  ],
  "videos": {
    "video-1": {
      "url": "https://s.tremorvideodsp.com/1.mp4",
      "type": "video/mp4",
      "duration": "15000"
    },
    "video-2": {
      "url": "https://s.tremorvideodsp.com/2.mp4",
      "type": "video/mp4",
      "duration": "15000"
    }
  },
  "mainVideo": "video-1",
  "tvCustomEvents": [
    {
      "name": "Click_Walgreens",
      "uri": true,
      "thirdPartyPixels": true
    },
    {
      "name": "Click_Video_Close",
      "uri": false,
      "thirdPartyPixels": true
    },
    {
      "name": "Slate_Opened",
      "uri": false,
      "thirdPartyPixels": true
    }
  ]
}

Output

<VAST xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="vast2.xsd" version="2.0.0">
  <Ad id="BC0">
    <InLine>
      <AdSystem>Tremor Video</AdSystem>
      <AdTitle>Tremor Video</AdTitle>
      <Impression>
        <![CDATA[https://s.tremorvideodsp.com/?e=impression]]>
      </Impression>
      <Creatives>
        <Creative>
          <Linear>
            <Duration>00:00:15</Duration>
            <AdParameters>
              <![CDATA[
                {
                  "geoInfo": {
                    "dma": "501",
                    "city": "new york",
                    "areaCode": "212",
                    "latitude": "40.75891",
                    "longitude": "73.97902",
                    "continent": "north america",
                    "countryCode": "us",
                    "stateCode": "95",
                    "postalCode": "10020"
                  },
                  "tvCustomEvents: [
                    {
                      "name": "Click_Walgreens",
                      "uri": "https://s.tremorvideodsp.com/1x1.png?r=wg",
                      "thirdPartyPixels": [
                        "https://s.tremorvideodsp.com/1x1.png?e=click_wg1",
                        "https://s.tremorvideodsp.com/1x1.png?e=click_wg2"
                      ]
                    },
                    {
                      "name": "Slate_Opened",
                      "thirdPartyPixels": [
                        "https://s.tremorvideodsp.com/1x1.png?e=open1"
                      ]
                    }
                  ]
                }
              ]]>
            </AdParameters>
            <TrackingEvents>
              <Tracking event="start">
                <![CDATA[https://s.tremorvideodsp.com/1x1.png?e=start]]>
              </Tracking>
              <Tracking event="midpoint">
                <![CDATA[https://s.tremorvideodsp.com/1x1.png?e=midpoint]]>
              </Tracking>
              <Tracking event="acceptInvitation">
                <![CDATA[https://s.tremorvideodsp.com/1x1.png?e=acceptInvitation]]>
              </Tracking>
            </TrackingEvents>
            <VideoClicks>
              <ClickThrough>
                <![CDATA[https://example.com]]>
              </ClickThrough>
              <ClickTracking>
                <![CDATA[https://s.tremorvideodsp.com/1x1.png?e=clicked]]>
              </ClickTracking>
            </VideoClicks>
            <MediaFiles>
              <MediaFile id="CU-12345" delivery="progressive" bitrate="466" width="640" height="480" type="application/javascript" maintainAspectRatio="true" scalable="true" apiFramework="VPAID">
                <![CDATA[https://s.tremorvideodsp.com/SGAI12345/vpaid.js]]>
              </MediaFile>
            <MediaFiles>
          </Linear>
        </Creative>
      </Creatives>
    </InLine>
  </Ad>
</VAST>

commands

  • blink init spr downloads an spr and runs blink prepare
  • blink prepare reads the blink.toml file to get the AdParameters, Videos and Events, then updates animate_template.html accordingly. An essential step before importing the template into Animate CC and publishing.
    --import opens the Animate CC application and runs a JSFL script import.jsfl the template.html --auto opens the Animate CC application and runs a JSFL script to custom.jsfl Many versions of custom.jsfl have been created by Automation to add specific Blink Components to specific Movie Clips.
  • blink build Essential step after publishing Animate CC creative. This one command runs these 4 commands:
    • blink validate
    • blink build-manifest
    • blink build-vpaid
    • blink copy
  • blink build-manifest generates a manifest.json file
  • blink build-vpaid concatenates all files loaded by script tags into a single dist/ad.js, and runs Babel to transpile ES6. Also adds sentry and sentryConfig.
  • blink copy copies these src subdirectories to dist: images, sounds, components, fonts, json. All .png files are compressed, unless the option --skip-compress-images is used
  • blink upload or (blink u) constructs vast2.xml and vast3.xml files from manifest.json, then uploads all files to S3 bucket trmr-animate-vpaid, and prints out to console links to Vast Inspector URLs using the CDN mapped URL to the S3 bucket. --uncompressed changes printed out Vast Inspector links to use URL of uncompressed ad.js
  • blink components downloads latest version of Blink Components to user's Animate CC Application Support directory
  • blink snippets downloads latest version of Blink Snippets and merges into user's Animate CC Application Support directory
  • blink info prints to console versions of Blink Tool Chain components used in Animate CC creative found in cwd Prints warning if starter-kit is not the latest production version
  • blink stats gives you statistics of the file sizes of projects assets in current directory
  • blink doctor Runs system diagnostics pertaining to Blink Tool Chain and recommends how to fix problems Lists versions of installed products
  • blink serve runs http server in current directory. Static files are also served from this directory. Default port is 3000 unless specfified with --port {number}

Current Tags

  • 2.5.6                                ...           latest (2 months ago)
  • 2.5.7-alpha.4                                ...           next (15 days ago)
  • 2.5.6-rc.0                                ...           rc (2 months ago)

286 Versions

  • 2.5.7-alpha.4                                ...           15 days ago
  • 2.5.7-alpha.3                                ...           24 days ago
  • 2.5.7-alpha.2                                ...           a month ago
  • 2.5.7-alpha.1                                ...           a month ago
  • 2.5.7-alpha.0                                ...           a month ago
  • 2.5.6                                ...           2 months ago
  • 2.5.6-rc.0                                ...           2 months ago
  • 2.5.6-alpha.0                                ...           3 months ago
  • 2.5.5                                ...           3 months ago
  • 2.5.4                                ...           3 months ago
  • 2.5.3                                ...           4 months ago
  • 2.5.3-rc.0                                ...           4 months ago
  • 2.5.3-alpha.0                                ...           4 months ago
  • 2.5.2                                ...           5 months ago
  • 2.5.2-rc.0                                ...           5 months ago
  • 2.5.2-alpha.0                                ...           5 months ago
  • 2.5.1                                ...           6 months ago
  • 2.5.1-rc.1                                ...           6 months ago
  • 2.5.1-rc.0                                ...           6 months ago
  • 2.5.0                                ...           7 months ago
  • 2.5.0-rc.1                                ...           7 months ago
  • 2.5.0-rc.0                                ...           7 months ago
  • 2.5.0-alpha.0                                ...           7 months ago
  • 3.0.0-alpha.4                                ...           7 months ago
  • 3.0.0-alpha.3                                ...           8 months ago
  • 3.0.0-alpha.2                                ...           8 months ago
  • 3.0.0-alpha.1                                ...           8 months ago
  • 3.0.0-alpha.0                                ...           8 months ago
  • 2.4.17                                ...           8 months ago
  • 2.4.17-rc.0                                ...           8 months ago
  • 2.4.17-alpha.2                                ...           8 months ago
  • 2.4.17-alpha.0                                ...           8 months ago
  • 2.4.16                                ...           8 months ago
  • 2.4.16-rc.0                                ...           9 months ago
  • 2.4.15                                ...           9 months ago
  • 2.4.15-rc.0                                ...           9 months ago
  • 2.4.14                                ...           9 months ago
  • 2.4.14-rc.0                                ...           9 months ago
  • 2.4.14-alpha.1                                ...           9 months ago
  • 2.4.14-alpha.0                                ...           9 months ago
  • 2.4.13                                ...           9 months ago
  • 2.4.13-rc.0                                ...           9 months ago
  • 2.4.12                                ...           10 months ago
  • 2.4.12-rc.0                                ...           10 months ago
  • 2.4.12-alpha.0                                ...           10 months ago
  • 2.4.11                                ...           10 months ago
  • 2.4.11-rc.0                                ...           10 months ago
  • 2.4.11-alpha.2                                ...           a year ago
  • 2.4.11-alpha.0                                ...           a year ago
  • 2.4.10                                ...           a year ago
  • 2.4.10-rc.1                                ...           a year ago
  • 2.4.10-rc.0                                ...           a year ago
  • 2.4.9                                ...           a year ago
  • 2.4.9-rc.2                                ...           a year ago
  • 2.4.9-rc.1                                ...           a year ago
  • 2.4.9-rc.0                                ...           a year ago
  • 2.4.9-alpha.0                                ...           a year ago
  • 2.4.8                                ...           a year ago
  • 2.4.8-rc.0                                ...           a year ago
  • 2.4.8-alpha.1                                ...           a year ago
  • 2.4.8-alpha.0                                ...           a year ago
  • 2.4.7                                ...           a year ago
  • 2.4.7-rc.0                                ...           a year ago
  • 2.4.7-alpha.1                                ...           a year ago
  • 2.4.7-alpha.0                                ...           a year ago
  • 2.4.6                                ...           a year ago
  • 2.4.6-rc.1                                ...           a year ago
  • 2.4.6-rc.0                                ...           a year ago
  • 2.4.6-alpha.2                                ...           a year ago
  • 2.4.6-alpha.0                                ...           a year ago
  • 2.4.5                                ...           a year ago
  • 2.4.5-rc.0                                ...           a year ago
  • 2.4.5-alpha.0                                ...           a year ago
  • 2.4.4                                ...           a year ago
  • 2.4.4-rc.1                                ...           a year ago
  • 2.4.4-rc.0                                ...           a year ago
  • 2.4.3                                ...           a year ago
  • 2.4.3-rc.1                                ...           a year ago
  • 2.4.3-rc.0                                ...           a year ago
  • 2.4.3-alpha.0                                ...           a year ago
  • 2.4.2                                ...           a year ago
  • 2.4.2-rc.3                                ...           a year ago
  • 2.4.2-rc.2                                ...           a year ago
  • 2.4.2-rc.1                                ...           a year ago
  • 2.4.2-rc.0                                ...           a year ago
  • 2.4.2-alpha.3                                ...           a year ago
  • 2.4.2-alpha.2                                ...           a year ago
  • 2.4.2-alpha.1                                ...           a year ago
  • 2.4.2-alpha.0                                ...           a year ago
  • 2.4.1                                ...           a year ago
  • 2.4.1-rc.1                                ...           a year ago
  • 2.4.1-rc.0                                ...           a year ago
  • 2.4.1-alpha.0                                ...           a year ago
  • 2.4.0                                ...           a year ago
  • 2.4.0-rc.1                                ...           a year ago
  • 2.4.0-rc.0                                ...           a year ago
  • 2.3.3-alpha.1                                ...           a year ago
  • 2.3.3-alpha.0                                ...           a year ago
  • 2.3.2                                ...           a year ago
  • 2.3.2-rc.0                                ...           a year ago
  • 2.3.1                                ...           a year ago
  • 2.3.1-rc.0                                ...           a year ago
  • 2.3.1-alpha.1                                ...           a year ago
  • 2.3.0                                ...           a year ago
  • 2.3.0-rc.0                                ...           a year ago
  • 2.3.0-alpha.1                                ...           2 years ago
  • 2.3.0-alpha.0                                ...           2 years ago
  • 2.2.9                                ...           2 years ago
  • 2.2.9-rc.2                                ...           2 years ago
  • 2.2.9-rc.1                                ...           2 years ago
  • 2.2.9-alpha.2                                ...           2 years ago
  • 2.2.9-alpha.0                                ...           2 years ago
  • 2.2.8                                ...           2 years ago
  • 2.2.8-rc.0                                ...           2 years ago
  • 2.2.8-alpha.1                                ...           2 years ago
  • 2.2.8-alpha.0                                ...           2 years ago
  • 2.2.7                                ...           2 years ago
  • 2.2.6-rc.2                                ...           2 years ago
  • 2.2.6-rc.1                                ...           2 years ago
  • 2.2.5                                ...           2 years ago
  • 2.2.5-rc.4                                ...           2 years ago
  • 2.2.5-rc.3                                ...           2 years ago
  • 2.2.5-rc.2                                ...           2 years ago
  • 2.2.5-rc.1                                ...           2 years ago
  • 2.2.5-rc.0                                ...           2 years ago
  • 2.2.4                                ...           2 years ago
  • 2.2.4-rc.10                                ...           2 years ago
  • 2.2.4-rc.9                                ...           2 years ago
  • 2.2.4-rc.8                                ...           2 years ago
  • 2.2.4-rc.6                                ...           2 years ago
  • 2.2.4-rc.4                                ...           2 years ago
  • 2.2.3                                ...           2 years ago
  • 2.2.1                                ...           2 years ago
  • 2.2.0                                ...           2 years ago
  • 2.1.12-alpha.9                                ...           2 years ago
  • 2.1.12-alpha.8                                ...           2 years ago
  • 2.1.12-alpha.7                                ...           2 years ago
  • 2.1.12-alpha.6                                ...           2 years ago
  • 2.1.12-alpha.3                                ...           2 years ago
  • 2.1.11                                ...           2 years ago
  • 2.1.10                                ...           2 years ago
  • 2.1.9                                ...           2 years ago
  • 2.1.8                                ...           2 years ago
  • 2.1.7                                ...           2 years ago
  • 2.1.7-alpha.1                                ...           2 years ago
  • 2.1.7-alpha.0                                ...           2 years ago
  • 2.1.6                                ...           2 years ago
  • 2.1.6-alpha.0                                ...           2 years ago
  • 2.1.5                                ...           2 years ago
  • 2.1.4                                ...           2 years ago
  • 2.1.3                                ...           2 years ago
  • 2.1.2                                ...           2 years ago
  • 2.1.1                                ...           2 years ago
  • 2.1.0                                ...           2 years ago
  • 2.1.0-rc.5                                ...           2 years ago
  • 2.1.0-rc.4                                ...           2 years ago
  • 2.1.0-rc.3                                ...           2 years ago
  • 2.1.0-rc.1                                ...           2 years ago
  • 2.0.8-alpha.4                                ...           2 years ago
  • 2.0.8-alpha.3                                ...           2 years ago
  • 2.0.7                                ...           2 years ago
  • 2.0.6                                ...           2 years ago
  • 2.0.5                                ...           2 years ago
  • 2.0.3                                ...           2 years ago
  • 2.0.2                                ...           2 years ago
  • 2.0.1                                ...           2 years ago
  • 2.0.0                                ...           2 years ago
  • 2.0.0-rc.3                                ...           2 years ago
  • 2.0.0-rc.2                                ...           2 years ago
  • 2.0.0-rc.1                                ...           2 years ago
  • 2.0.0-beta.7                                ...           2 years ago
  • 2.0.0-beta.5                                ...           2 years ago
  • 2.0.0-beta.3                                ...           2 years ago
  • 2.0.0-beta.1                                ...           2 years ago
  • 2.0.0-alpha.2                                ...           2 years ago
  • 2.0.0-alpha.1                                ...           2 years ago
  • 1.4.19                                ...           2 years ago
  • 1.4.16                                ...           2 years ago
  • 1.4.15                                ...           2 years ago
  • 1.4.14                                ...           2 years ago
  • 1.4.13                                ...           2 years ago
  • 1.4.12                                ...           2 years ago
  • 1.4.11                                ...           2 years ago
  • 1.4.10-alpha.14                                ...           2 years ago
  • 1.4.10-alpha.12                                ...           2 years ago
  • 1.4.10-alpha.11                                ...           2 years ago
  • 1.4.10-alpha.10                                ...           2 years ago
  • 1.4.10-alpha.9                                ...           2 years ago
  • 1.4.10-alpha.8                                ...           2 years ago
  • 1.4.10-alpha.2                                ...           2 years ago
  • 1.4.9                                ...           2 years ago
  • 1.4.9-alpha.5                                ...           2 years ago
  • 1.4.9-alpha.2                                ...           2 years ago
  • 1.4.8                                ...           2 years ago
  • 1.4.7                                ...           2 years ago
  • 1.4.6                                ...           2 years ago
  • 1.4.5                                ...           2 years ago
  • 1.4.4                                ...           2 years ago
  • 1.4.4-alpha.1                                ...           2 years ago
  • 1.4.3                                ...           2 years ago
  • 1.4.2                                ...           2 years ago
  • 1.4.1                                ...           2 years ago
  • 1.4.0                                ...           2 years ago
  • 1.3.36                                ...           2 years ago
  • 1.3.34                                ...           2 years ago
  • 1.3.33                                ...           2 years ago
  • 1.3.32                                ...           2 years ago
  • 1.3.31                                ...           2 years ago
  • 1.3.31-alpha.3                                ...           2 years ago
  • 1.3.30                                ...           2 years ago
  • 1.3.29                                ...           2 years ago
  • 1.3.28                                ...           2 years ago
  • 1.3.27                                ...           2 years ago
  • 1.3.26                                ...           2 years ago
  • 1.3.25                                ...           2 years ago
  • 1.3.24                                ...           2 years ago
  • 1.3.23                                ...           2 years ago
  • 1.3.22                                ...           2 years ago
  • 1.3.21                                ...           2 years ago
  • 1.3.20                                ...           2 years ago
  • 1.3.19                                ...           2 years ago
  • 1.3.19-alpha.1                                ...           2 years ago
  • 1.3.18                                ...           2 years ago
  • 1.3.17                                ...           2 years ago
  • 1.3.16                                ...           2 years ago
  • 1.3.15                                ...           2 years ago
  • 1.3.14                                ...           2 years ago
  • 1.3.13-alpha.3                                ...           2 years ago
  • 1.3.13-alpha.2                                ...           2 years ago
  • 1.3.12                                ...           2 years ago
  • 1.3.12-rc.2                                ...           2 years ago
  • 1.3.12-rc.1                                ...           2 years ago
  • 1.3.10                                ...           2 years ago
  • 1.3.9                                ...           2 years ago
  • 1.3.8                                ...           2 years ago
  • 1.3.7                                ...           2 years ago
  • 1.3.6                                ...           2 years ago
  • 1.3.5                                ...           2 years ago
  • 1.3.4                                ...           2 years ago
  • 1.3.3                                ...           2 years ago
  • 1.3.2                                ...           2 years ago
  • 1.3.1                                ...           3 years ago
  • 1.3.0                                ...           3 years ago
  • 1.2.3                                ...           3 years ago
  • 1.2.2                                ...           3 years ago
  • 1.2.1                                ...           3 years ago
  • 1.2.0                                ...           3 years ago
  • 1.1.5                                ...           3 years ago
  • 1.1.4                                ...           3 years ago
  • 1.1.3                                ...           3 years ago
  • 1.1.2                                ...           3 years ago
  • 1.1.1                                ...           3 years ago
  • 1.1.0                                ...           3 years ago
  • 1.0.33                                ...           3 years ago
  • 1.0.32                                ...           3 years ago
  • 1.0.31                                ...           3 years ago
  • 1.0.30                                ...           3 years ago
  • 1.0.29                                ...           3 years ago
  • 1.0.28                                ...           3 years ago
  • 1.0.27                                ...           3 years ago
  • 1.0.26                                ...           3 years ago
  • 1.0.25                                ...           3 years ago
  • 1.0.24                                ...           3 years ago
  • 1.0.23                                ...           3 years ago
  • 1.0.22                                ...           3 years ago
  • 1.0.21                                ...           3 years ago
  • 1.0.20                                ...           3 years ago
  • 1.0.18                                ...           3 years ago
  • 1.0.17                                ...           3 years ago
  • 1.0.16                                ...           3 years ago
  • 1.0.15                                ...           3 years ago
  • 1.0.14                                ...           3 years ago
  • 1.0.13                                ...           3 years ago
  • 1.0.12                                ...           3 years ago
  • 1.0.11                                ...           3 years ago
  • 1.0.10                                ...           3 years ago
  • 1.0.9                                ...           3 years ago
  • 1.0.8                                ...           3 years ago
  • 1.0.7                                ...           3 years ago
  • 1.0.6                                ...           3 years ago
  • 1.0.5                                ...           3 years ago
  • 1.0.4                                ...           3 years ago
  • 1.0.3                                ...           3 years ago
  • 1.0.2                                ...           3 years ago
  • 1.0.1                                ...           3 years ago
  • 1.0.0                                ...           3 years ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 39
Last Day 0
Last Week 0
Last Month 345
Dependencies (39)
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |