diff --git a/.eslintrc.json b/.eslintrc.json index ff46303cc7c26e8336d13daad024cf8bcb719cf5..3d1bd95e8cfea92002f0d1e87479e006031088d2 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -4,7 +4,7 @@ "parserOptions": { "project": "./tsconfig.json" }, "env": { "es6": true }, "ignorePatterns": ["node_modules", "dist", "coverage"], - "plugins": ["import", "eslint-comments", "functional"], + "plugins": ["import", "eslint-comments"], "extends": [ "eslint:recommended", "plugin:eslint-comments/recommended", diff --git a/package.json b/package.json index ee2daca836764650321cc4d31da086ad9f06d649..2a14eef84357df1e26e9709c12df861311a50513 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@d-ptb/dcc-js", - "version": "0.0.3", + "version": "0.0.5", "author": "Jan Henry Loewe <kontakt@jloewe.net>", "main": "dist/main/index.js", "typings": "dist/main/index.d.ts", @@ -18,7 +18,7 @@ "test:prettier": "prettier \"src/**/*.ts\" --list-different", "coverage": "nyc -r lcov -e .ts -x \"*.test.ts\" mocha -r ts-node/register tests/**/*.test.ts && nyc report", "prepare": "npm run build", - "prepublishOnly": "npm run lint", + "prepublishOnly": "npm run test", "preversion": "npm run test", "version": "git add -A .", "postversion": "git push && git push --tags" @@ -44,7 +44,7 @@ "prettier": "^2.2.0" }, "publishConfig": { - "@d-ptb:registry": "https://gitlab.com/api/v4/projects/20627932/packages/npm/" + "@d-ptb:registry": "https://gitlab1.ptb.de/api/v4/projects/105/packages/npm/" }, "files": [ "dist/main", diff --git a/src/Types/IdentificationListType.ts b/src/Types/IdentificationListType.ts index 86dcc6e907aa1e117b14ed3e95a3d33e6574cf8e..72ef6206cdf8af73e0400ee73c942f37d013c6b5 100644 --- a/src/Types/IdentificationListType.ts +++ b/src/Types/IdentificationListType.ts @@ -1,6 +1,6 @@ -import { IdentificationType } from "./IdentificationType"; import { ensureArray } from "../Util"; import { XMLElement } from "../XMLElement"; +import { IdentificationType } from "./IdentificationType"; export class IdentificationListType extends XMLElement { identification: IdentificationType[];