UNPKG

license-check-and-add

Version:

A tool to enable the checking, inserting and removal of licenses

90 lines (89 loc) 2.1 kB
{ "name": "license-check-and-add", "version": "4.0.5", "description": "A tool to enable the checking, inserting and removal of licenses", "bin": { "license-check-and-add": "dist/src/cli.js" }, "scripts": { "build": "tsc", "build:watch": "npm run build -- -w", "preintegration": "npm run build", "prepare": "npm run build", "integration": "mocha -r ts-node/register 'test/**/*.spec.ts'", "lint": "tslint -c tslint.json 'src/**/*.ts'", "test": "npm run lint && npm run unit && npm run integration", "unit": "nyc mocha -r ts-node/register 'src/**/*.spec.ts'" }, "repository": { "type": "git", "url": "git+https://github.com/awjh/license-check-and-add.git" }, "keywords": [ "license", "check", "header", "add", "insert", "remove", "regex", "pattern", "match", "copyright" ], "author": "awjh", "license": "Apache-2.0", "bugs": { "url": "https://github.com/awjh/license-check-and-add/issues" }, "homepage": "https://github.com/awjh/license-check-and-add#readme", "nyc": { "require": [ "ts-node/register" ], "extension": [ ".ts" ], "exclude": [ "coverage/**", "dist/**", "**/*.spec.ts", "test/**" ], "reporter": [ "text-summary", "html" ], "all": true, "check-coverage": true, "statements": 100, "branches": 100, "functions": 100, "lines": 100 }, "dependencies": { "fs-extra": "^8.1.0", "gitignore-to-glob": "^0.3.0", "globby": "^10.0.1", "ignore": "^5.1.2", "yargs": "^13.3.0" }, "devDependencies": { "@types/fs-extra": "^8.0.0", "@types/mocha": "^7.0.2", "@types/mockery": "^1.4.29", "@types/node": "^12.6.8", "@types/sinon": "^9.0.4", "@types/sinon-chai": "^3.2.4", "@types/yargs": "^13.0.0", "chai": "^4.2.0", "mocha": "^9.1.3", "mockery": "^2.1.0", "nyc": "^15.1.0", "sinon": "^9.0.2", "sinon-chai": "^3.5.0", "ts-node": "^8.3.0", "tslint": "^5.18.0", "typescript": "^3.5.3" } }