Package Exports
- fbinstant-deploy
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (fbinstant-deploy) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Deployer for facebook instant games
NPM package to help automate the deployment of facebook instant games.
The deploy() function returns a promise that will resolve if the package has been delivered to the facebook endpoint.
#installation
npm install --save-dev fbinstant-deploy
Usage
require("fbinstant-deploy").deploy(directory, access_token, app_id, comment);
Example
const instantDeployer = require("fbinstant-deploy");
instantDeployer.deploy("/some/dir/to/zip/", "access_token", "app_id", "some comment here").then(()=>{
console.log("Deployment successful!");
});