@cuties/scripts

1.1.1 • Public • Published

cutie-scripts

Cutie extension for execution all scripts in a directory or directories. Also it's possible just to specify concrete scripts.

NPM Version Build Status codecov

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):

gaa1

/@cuties/scripts/

    Package Sidebar

    Install

    npm i @cuties/scripts

    Weekly Downloads

    1

    Version

    1.1.1

    License

    MIT

    Unpacked Size

    227 kB

    Total Files

    40

    Last publish

    Collaborators

    • guseyn