Skip to content

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

Stars

21 stars

Watchers

11 watching

Forks

Releases

Packages

Used by

Contributors

Languages