1.1.1 • Published 6 years ago

@cuties/scripts v1.1.1

Weekly downloads
5
License
MIT
Repository
github
Last release
6 years ago

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