Skip to content
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.

nodeshift-archived/oratrix

Repository files navigation

Oratrix

⚠️ This repo is Archived

Node.js CI Coverage Status

What is it

Oratrix is a CLI application for checking package.json consistency across repositories.

More information about the project's name here

Install

To install globally: npm install -g oratrix

Use with npx: npx oratrix validate

or to use in an npm script

$ npm install oratrix --save-dev

// inside package.json
scripts: {
  "oratrix": "oratrix validate"
}

$ npm run oratrix

Core concepts

Commands

By default if you run oratrix, it will show you the help page.

validate - searches for mandatory package.json fields

help - shows the help page

Advanced Options

Oratrix's validate command can also accept options that allow you to customize oratrix's behavior.

config

Custom json file with the required package.json fields.

organization

GitHub organization oratrix will validate

repo

GitHub repository oratrix will validate

token

GitHub's oAuth token oratrix will use when contacting GitHub's API

help

Shows the below help

$ oratrix validate

Searches for mandatory package.json fields

Options:
      --help          Show help                                        [boolean]
      --version       Show version number                              [boolean]
      --cwd           The current working directory
                [string] [default: "<YOUR-CURRENT-WORKING-DIRECTORY>"]

  -o, --organization  GitHub organization oratrix will validate

  -r, --repo          GitHub repository oratrix will validate

  -c, --config        Custom file with the required package.json fields

  -t, --token         GitHub oauth token

About

CLI application for checking package.json consistency across repositories.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •