diff --git a/package-lock.json b/package-lock.json index a51ce0a..ccf8348 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2582,6 +2582,19 @@ "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=", "dev": true }, + "coveralls": { + "version": "3.0.11", + "resolved": "https://registry.npmjs.org/coveralls/-/coveralls-3.0.11.tgz", + "integrity": "sha512-LZPWPR2NyGKyaABnc49dR0fpeP6UqhvGq4B5nUrTQ1UBy55z96+ga7r+/ChMdMJUwBgyJDXBi88UBgz2rs9IiQ==", + "dev": true, + "requires": { + "js-yaml": "^3.13.1", + "lcov-parse": "^1.0.0", + "log-driver": "^1.2.7", + "minimist": "^1.2.5", + "request": "^2.88.0" + } + }, "create-ecdh": { "version": "4.0.3", "resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.3.tgz", @@ -5142,6 +5155,12 @@ "invert-kv": "^2.0.0" } }, + "lcov-parse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/lcov-parse/-/lcov-parse-1.0.0.tgz", + "integrity": "sha1-6w1GtUER68VhrLTECO+TY73I9+A=", + "dev": true + }, "leven": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", @@ -5219,6 +5238,12 @@ "integrity": "sha1-7dFMgk4sycHgsKG0K7UhBRakJDg=", "dev": true }, + "log-driver": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/log-driver/-/log-driver-1.2.7.tgz", + "integrity": "sha512-U7KCmLdqsGHBLeWqYlFA0V0Sl6P08EE1ZrmA9cxjUE0WVqT9qnyVDPz1kzpFEP0jdJuFnasWIfSd7fsaNXkpbg==", + "dev": true + }, "lolex": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/lolex/-/lolex-5.1.2.tgz", diff --git a/package.json b/package.json index 398382b..e455c56 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "package:uncompress": "cross-env-shell tar xopf $npm_package_name-$npm_package_version.tgz", "package": "npm run build && npm pack && npm run package:uncompress && npm run package:clean", "serve": "static -p 8080", - "test": "jest --collectCoverage", + "test": "jest --coverage && coveralls < coverage/lcov.info", "lint": "eslint --config .eslintrc.js './src/**/*'", "lint:fix": "eslint --fix --config .eslintrc.js './src/**/*'" }, @@ -47,6 +47,7 @@ "@types/node": "13.9.5", "@typescript-eslint/eslint-plugin": "2.25.0", "@typescript-eslint/parser": "2.25.0", + "coveralls": "3.0.11", "cross-env": "7.0.2", "eslint": "6.8.0", "eslint-config-prettier": "6.10.1",