Neutered Paranoid Meerkat
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

mfp-application

2.0.5 • Public • Published

Usage:

  • class Application
import Application from "fap-application";
import { Env } from "fap-application/lib/util/constants";
 
let app = new Application({
    cwd: process.cwd(),
    env: Env.DEVELOP
});
 
app.fetch().then(() => {
    return app.reset();
}).then(() => {
    return app.checkout('release');
}).then(() => {
    return app.reset('12345678');
});
 
  • class Packer
import { Packer } from "fap-application";
import { Env } from "fap-application/lib/util/constants";
 
let packer = new Packer({
    cwd: process.cwd(),
    env: Env.PRODUCTION
});
 
let app = packer.app;
 
app.fetch().then(() => {
    return app.reset();
}).then(() => {
    return app.checkout('release');
}).then(() => {
    return app.reset('12345678');
}).then(() => {
    packer.build();
});
 

Keywords

none

install

npm i mfp-application

Downloadsweekly downloads

1

version

2.0.5

license

ISC

repository

Gitgitlab

last publish

collaborators

  • avatar
Report a vulnerability