1.0.7 • Published 4 years ago

lic_report v1.0.7

Weekly downloads
-
License
ISC
Repository
-
Last release
4 years ago

License Report

This module enables the user to execute a container to generate project license usage report as well as authorise or disqualify specified license and packaged.

Installation

Global to run local

npm install -g lic_report@latest

In project to run local or upon github commit

npm install --save lic_report

Configuration

Sample Config file

{
  "type": "html2",
  "name": "[Project Name to Display]",
  "path": "./LicenseReports",
  "github": {
    "enabled": false,
    "user": {
      "name": "test",
      "email": "test@test.com"
    },
    "repo": "git@github.com:test/test.git",
    "ssh_key": {
      "pub": "id_rsa.pub",
      "pvt": "id_rsa"
    },
    "branch": "lic_report"
  },
  "githubPages": {
    "enabled": false
  },
  "styling": {
    "enabled": false,
    "files": [
      "custom.css"
    ]
  },
  "ssh": {
    "enabled": false,
    "auth": {
      "host": "localhost",
      "username": "steel",
      "password": ""
    },
    "path":"/path/to/folder"
  },
  "licenses": {
    "whiteList": [
      "MIT"
    ],
    "blackList": [
      "Apache 2.0"
    ]
  },
  "dependencies": [
    "express",
    "mongo"
  ],
  "notifications": {
    "email": {
      "enabled": false,
      "from": "LicenseReport <no-reply@fullstacklabs.co>",
      "subject": "License Report",
      "recipients": ["waldo@fullstacklabs.co"],
      "server": {
        "smtp": {
          "host": "smtp.test.net",
          "port": "587",
          "secure": false
        },
        "auth": {
          "user": "username",
          "pass": "password"
        }
      }
    }
  }
}

Run Locally

To get the help menu simply run lic_report.

To run in the current project root folder, run lic_report run or to run for a differant root folder run lic_report run /my/project/path/root.

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago