Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

adplay-sdk

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

adplay-sdk

Adplay SDK

  • 0.5.4
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

#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=play-web.vm5apis.com

Or non-minify build

gulp build:nonminify --iframe-host=play-web.vm5apis.com

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=play-web.vm5apis.com

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

gulp watch --port=5566 --iframe-host=play-web.vm5apis.com

Use difference api host(optional)

gulp watch --api-host=api-adserver.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=play-web.vm5apis.com --publish-dest=[prod|staging]

Or build and deploy

gulp build:publish --iframe-host=play-web.vm5apis.com --publish-dest=[prod|staging]

FAQs

Package last updated on 15 Mar 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc