From 7e23941d0b1ca4023f8ac5259b123d2fe39b20e7 Mon Sep 17 00:00:00 2001 From: Rainer Killinger Date: Mon, 23 Nov 2020 18:45:04 +0100 Subject: [PATCH] refactor: adhere to configuartion suggestions --- package.json | 8 +++++--- src/cli.ts | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index ed5c301b..b8f8d3d9 100644 --- a/package.json +++ b/package.json @@ -4,15 +4,17 @@ "description": "Minimal Plugin", "license": "GPL-3.0-only", "author": "Wieland Schöbl", - "contributors": [], + "contributors": [ + "Jovan Krunić " + ], "scripts": { - "build": "npm run tslint && npm run compile && npm run documentation", + "build": "npm run tslint && npm run compile", "compile": "rimraf lib && tsc && prepend lib/cli.js '#!/usr/bin/env node\n'", "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md && git commit -m 'docs: update changelog'", "check-configuration": "openstapps-configuration", "documentation": "typedoc --includeDeclarations --excludeExternals --mode modules --out docs src", "start": "node lib/cli.js", - "tslint": "tslint 'src/**/*.ts'", + "tslint": "tslint -p tsconfig.json -c tslint.json 'src/**/*.ts'", "prepublishOnly": "npm ci && npm run build", "postversion": "npm run changelog", "preversion": "npm run prepublishOnly", diff --git a/src/cli.ts b/src/cli.ts index 19871a28..37a2e839 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -1,5 +1,5 @@ /* - * Copyright (C) 2019 StApps + * Copyright (C) 2019-2020 StApps * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by the Free * Software Foundation, version 3.