This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

nata-cli

0.0.7 • Public • Published

Nata-cli

Architecture test automation

Continuous integration Coverage Status

Table of Contents

Getting Started

Install Nata-cli using npm:

npm install --save-dev nata-cli

Add the following section to your package.json:

{
  "scripts": {
    "test:arch": "nata-cli ."
  }
}

Before running you must create the configuration file nata.config.json:

{
  "rules": []
}

Finally, run npm run test:arch and Nata-cli will print this message:

Results:   0 failed, 0 skipped, 0 passed, 0 total.
Exec time: 00:00:00.001

Configuration

Rules

  1. Verify that files in a directory follow specified patterns:
{
  "name": "filename-pattern-in-folder",
  "patterns": ["*.ts"],
  "folder": "source/services"
}

To skip a rule use the skip field:

{
    "name": "filename-pattern-in-folder",
    "patterns": ["*.ts"],
    "folder": "source/services"
    "skip": true,
}

License

Nata-cli is MIT licensed.

Package Sidebar

Install

npm i nata-cli

Weekly Downloads

1

Version

0.0.7

License

MIT

Unpacked Size

45.5 kB

Total Files

37

Last publish

Collaborators

  • luan.s.viana