Skip to content

EpiphanySoft/kmd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kmd

Build Status Coverage Status

Node.js-based tools to replace Sencha Cmd

!!! UNDER CONSTRUCTION !!!

Classes

Context, App, Package, Workspace

These classes manage loading the appropriate app.json, package.json and/or workspace.json file(s) for a given directory. The contents of this file is loaded as the data property.

There are many commonalities between apps and packages. These are collected in their common base class CodeBase.

let context = Context.get();  // from cwd

if (context) {
    // cwd is an app, package or workspace
    if (context.isApp) {
        // also context.isCodeBase
    }
    else if (context.isPackage) {
        // also context.isCodeBase
    }
    else {
        // context.isWorkspace
    }
}

PropertyMap

This class mimics Ant properties and expands based on '${foo}' tokens.

About

Node.js-based tools to replace Sencha Cmd

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published