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

This package has been deprecated

Author message:

Deprecated

fap-application

1.0.2 • 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 fap-application

Downloadsweekly downloads

7

version

1.0.2

license

ISC

repository

Gitgitlab

last publish

collaborators

  • avatar
Report a vulnerability