@cuties/scripts
v1.1.1
Published
Cutie extension for execution all js scripts in a directory or directories.
Downloads
15
Readme
cutie-scripts
Cutie extension for execution all scripts in a directory or directories. Also it's possible just to specify concrete scripts.
Install
npm install @cuties/scripts
Test
npm run test
Build
npm run build
Run example
npm run example
Example
const {
ExecutedScripts
} = require('@cuties/scripts');
new ExecutedScripts(
'node', // command
'js', // extensions of script files
'./test/dir1', './test/dir2', './test/test000.js' // files and dirs
).call();
Output will be smth like this (example of case when one of the tests fails):