2.1.2 • Published 8 years ago

straas-videojs-cta-card v2.1.2

Weekly downloads
65
License
-
Repository
-
Last release
8 years ago

StraaS SDK VideoJS CTA Card Plugin

Standard Version

Development locally

Expected you are prepared node@^6 and yarn@~0.16, and ran below in order:

$ nvm use # (optional)
$ yarn
$ typings install

Then you should have 2 sessions of terminal and run below command severally:

$ yarn run dev
$ yarn run dev:server

After watchers running, open ./src start to development.

Open http://127.0.0.1:8183/demo/ to see the demo page.

Deploy

TL;DR

$ git checkout master
$ git reset --hard origin/master
$ yarn run build
$ yarn run changelog
$ vi ./demo/README.md # edit the download zip link map to next version
$ yarn run deploy:example
$ git push --follow-tags origin master
$ npm publish

Deploy Flow

  1. You should always deploy at master branch, so do

    $ git checkout master

    $ git reset --hard origin/master

  2. build dist with yarn run build (if you are running yarn run dev, the dist exists, you can omit this step).

    $ `yarn run build`
  3. produce the changelog

    $ yarn run changelog

    note: This command will produce a commit with message chore(release): {{version}}

and will add a version tag at master branch.
  1. Edit ./demo/README.md map the download zip link to next release version

    for instance:

    replace

    [download zip](https://registry..../-/straas-videojs-cta-card-1.0.9.tgz)

    with

    [download zip](https://registry..../-/straas-videojs-cta-card-1.0.10.tgz)

  2. you may want to deploy example to the github pages.

    $ yarn run deploy:example

    note: This command will produce a commit with message update demo

    since dist bundles will copied to demo in order to host by github pages.

  3. Finally, push your changes to origin/master and publish package with npm

    $ git push --follow-tags origin master

    $ npm publish

2.1.2

8 years ago

2.1.1

9 years ago

2.1.0

9 years ago

2.0.2

9 years ago

1.0.12

9 years ago

1.0.11

9 years ago

1.0.10

9 years ago

1.0.9

9 years ago

1.0.8

9 years ago

1.0.7

9 years ago

1.0.6

9 years ago

1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.0-release

9 years ago

2.0.1

9 years ago

2.0.0

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago