web-adplay-sdk

0.10.5 • Public • Published

#Adplay Web SDK

API reference

Check the documentation here.

How To build

1.NPM packages

npm install

2.Gulp

npm install gulpjs/gulp-cli#4.0 -g

3.Build

gulp build --iframe-host=staging-api.vmfive.io

Or non-minify build

gulp build:nonminify --iframe-host=staging-api.vmfive.io

Or set an filename(non-minify only)

gulp build:nonminify --output=bundle

Develop & deploy

Develop

Start a server, can find test pages in /test/dashboard(Default port is 3310 ).

gulp watch --iframe-host=staging-api.vmfive.io

To assign a different port, for example, assign to 5566:

gulp watch --port=5566 --iframe-host=staging-api.vmfive.io

Use difference api host(optional)

gulp watch --api-host=staging-campaign.vm5apis.com

Deploy

Publish all files which located in build, note that you MUST complete the information inside the configs/deploy.ls file before performing this action.

gulp publish --iframe-host=staging-api.vmfive.io --publish-dest=[prod|staging]

Or build and deploy

gulp build:publish --iframe-host=staging-api.vmfive.io --publish-dest=[prod|staging]

Readme

Keywords

none

Package Sidebar

Install

npm i web-adplay-sdk

Weekly Downloads

1

Version

0.10.5

License

ISC

Last publish

Collaborators

  • vmfive