3.2.2 • Published 5 years ago
cubx-wct-scaffolder v3.2.2
cubx-wct-scaffolder
Npm package for generate wct test scaffold for cubbles components. It developed for exclusive usage in cubbles projects.
Install
npm install cubx-wct-scaffolderAPI
var path = require('path');
var scaffolder = require('cubx-wct-scaffolder')
// Path to webpackage
var webpackagePath = path.join(process.cwd(), '..', 'webpackages', 'my-webpackage');
scaffolder.scaffold(webpackagePath);It realise the following steps:
- Read the manifest.webpackage, and extracted the artifactId-s of all compound and elementary components.
- Ask for select the dstination artifact( This artifact will be completed with the wct test scaffold.
- Generate the subdirectory
testin the artifact directory, and generate all necessary files for tests. - Install and add the necessary dependencies to package.json.
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
3.2.2
5 years ago
3.2.1
5 years ago
3.2.0
5 years ago
1.11.0
7 years ago
1.10.0
7 years ago
3.1.1
7 years ago
1.9.1
7 years ago
3.1.0
7 years ago
1.9.0
7 years ago
1.7.0
8 years ago
3.0.0
8 years ago
1.6.1
8 years ago
1.6.0
9 years ago
1.5.1
9 years ago
1.5.0
9 years ago
1.4.2
9 years ago
1.4.1
9 years ago
1.3.1
9 years ago
1.3.0
9 years ago
1.2.1
10 years ago
1.2.0
10 years ago
1.1.0
10 years ago
1.0.0
10 years ago
0.4.2
10 years ago
0.4.0
10 years ago
0.3.0
10 years ago
0.2.4
10 years ago
0.2.3
10 years ago
0.2.2
10 years ago
0.2.0
10 years ago
0.1.7
10 years ago
0.1.6
10 years ago
0.1.5
10 years ago
0.1.2
10 years ago
0.1.1
10 years ago
0.1.0
10 years ago