UNPKG

istanbul-slack-notify

Version:

Sends nyc (aka: istanbul) coverage summary and git build details to Slack using a pass/fail threshold for project coverage.

59 lines (58 loc) 1.72 kB
{ "name": "istanbul-slack-notify", "version": "2.0.2", "description": "Sends nyc (aka: istanbul) coverage summary and git build details to Slack using a pass/fail threshold for project coverage.", "main": "./bin/notify.js", "type": "module", "scripts": { "test": "node --experimental-vm-modules ./node_modules/.bin/jest -t", "ci:test": "npm run lint && npm run coverage && ./bin/notify.js", "notify": "npm run test && ./bin/notify.js", "coverage": "node --experimental-vm-modules ./node_modules/.bin/jest --coverage", "coveralls": "cat ./coverage/lcov.info | coveralls", "lint": "eslint src test", "prettier": "prettier --write .", "prettier:check": "prettier --check ." }, "bin": { "istanbul-slack-notify": "./bin/notify.js" }, "repository": { "type": "git", "url": "git+https://github.com/mattyboy/istanbul-slack-notify.git" }, "keywords": [ "slack", "jest", "coverage", "istanbul", "nyc" ], "author": "Matt Weston", "license": "MIT", "bugs": { "url": "https://github.com/mattyboy/istanbul-slack-notify/issues" }, "homepage": "https://github.com/mattyboy/istanbul-slack-notify#readme", "dependencies": { "colors": "1.4.0", "nyc": "^17.1.0", "slack-notify": "^2.0.7", "uuid": "^11.0.3" }, "devDependencies": { "@eslint/js": "^9.16.0", "@jest/globals": "^29.7.0", "coveralls": "^3.1.1", "eslint": "^8.57.1", "eslint-plugin-jest": "^28.9.0", "globals": "^15.13.0", "jest": "^29.7.0", "prettier": "^3.4.1" }, "coverage": { "threshold": 100, "coveragePath": "./coverage", "repositoryUrl": "https://github.com/mattyboy/istanbul-slack-notify" } }