was

web-adplay-sdk

Adplay SDK

Showing:

Popularity

Downloads/wk

27

Maintenance

No Maintenance Data Available

Package

Dependencies

4

Size (min+gzip)

28.2KB

License

ISC

Type Definitions

Tree-Shakeable

No?

Categories

Readme

#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]

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100