0.1.2 • Published 8 years ago

cubx-wct-test-scaffolder v0.1.2

Weekly downloads
3
License
Apache-2.0
Repository
github
Last release
8 years ago

cubx-wct-scaffolder

Deprecated: Moved to cubx-wct-scaffolder

npm package for generate wct test scaffold for cubbles components.

Install

npm install cubx-wct-scaffolder

API

var path = require('path');
var scaffolder = require('cubx-wct-scaffolder')
// Path to webpackage
var webpackagePath = path.join(process.cwd(),'..','webpackages','my-webpackage');
scaffolder.scaffold(webpacakgePath);

CLI

Run (standalone)

cubx-wct-scaffolder <webpackagePath> [--loglevel <loglevel>]
  • webpackagePath: relative or absolut path of the webpackage.
  • --loglevel: loglevel for console logging. Possible values silly,debug,info,warn,error, default value: info