UNPKG

@you1anna/cypress-slack-reporter

Version:

A slack reporter for mochawesome reports generated by Cypress or other test frameworks using Mocha, for runs generated on CircleCI

142 lines (141 loc) 4.96 kB
{ "name": "@you1anna/cypress-slack-reporter", "version": "1.1.9-alpha", "description": "A slack reporter for mochawesome reports generated by Cypress or other test frameworks using Mocha, for runs generated on CircleCI", "main": "./bin/index.js", "bin": { "cypress-slack-reporter": "./bin/index.js", "cypress-slack-reporter-full": "./bin/cli/spec.js" }, "keywords": [ "cypress", "slack", "circleci", "reporter", "mocha", "mochawesome", "mochawesome-merge", "marge" ], "repository": { "type": "git", "url": "git+https://github.com/you54f/cypress-slack-reporter.git" }, "author": "Yousaf Nabi", "license": "MIT", "scripts": { "cli": "rimraf cypress/reports && ts-node src/cli/spec.ts", "circle": "npm run lint && npm run test:ci && make test && npm run pre-publish", "lint": "tslint --project .", "lint-fix": "tslint --project . --fix", "test": "jest --coverage", "test:jenkins": "cross-env CI_PROVIDER_TO_TEST=jenkins jest --coverage", "test:ci": "jest --coverage --coverageReporters=text-lcov | coveralls", "compile": "tsc", "slack-js": "node bin/index.js --verbose", "slack-js-opts-build-failed": "node bin/index.js --report-dir src/slack/test/jsonBuildFail --video-dir src/slack/test/videosDirPopulated --screenshot-dir src/slack/test/screenshotDirPopulated --verbose", "slack-js-opts-test-failed": "node bin/index.js --report-dir src/slack/test/jsonTestFail --video-dir src/slack/test/videosDirPopulated --screenshot-dir src/slack/test/screenshotDirPopulated --verbose", "slack-js-opts-test-passed": "node bin/index.js --report-dir src/slack/test/jsonTestPass --video-dir src/slack/test/videosDirPopulated --screenshot-dir src/slack/test/screenshotDirPopulated --verbose", "slack-js-opts": "node bin/index.js --report-dir src/slack/test/reportSingle --video-dir src/slack/test/videosDirPopulated --screenshot-dir src/slack/test/screenshotDirPopulated --verbose", "slack-ts": "ts-node src/index.ts --verbose", "slack-ts-opts": "ts-node src/index.ts --report-dir src/slack/test/reportSingle --video-dir src/slack/test/videosDirPopulated --screenshot-dir src/slack/test/screenshotsDirPopulated --verbose", "ci": "npm run test:ci && rimraf ./bin && npm run compile", "ship-it": "npm run pre-publish && npm publish", "deploy:prepare": "./scripts/create_npmrc_file.sh", "release": "standard-version --release-as 1.0.2" }, "dependencies": { "@slack/types": "^1.0.0", "@slack/webhook": "^5.0.0", "@types/commander": "^2.12.2", "@types/pino": "^6.0.1", "commander": "^5.0.0", "del": "^5.1.0", "pino": "^6.2.1" }, "peerDependencies": { "mochawesome": ">= 3.1.2", "mochawesome-merge": ">= 1.0.7", "mochawesome-report-generator": ">= 3.1.5" }, "devDependencies": { "@commitlint/cli": "8.3.5", "@commitlint/config-conventional": "8.3.4", "@cypress/webpack-preprocessor": "5.4.3", "@types/bluebird": "3.5.32", "@types/dotenv": "6.1.1", "@types/jest": "26.0.9", "@types/node": "10.17.28", "@types/pino": "6.3.0", "aws-sdk": "2.731.0", "aws-sdk-mock": "5.1.0", "coveralls": "3.1.0", "cypress": "4.12.1", "cypress-cucumber-preprocessor": "2.5.4", "cypress-multi-reporters": "1.4.0", "dotenv": "8.2.0", "globby": "9.2.0", "husky": "4.2.5", "jest": "26.3.0", "jest-junit": "10.0.0", "jest-stare": "2.0.1", "lint-staged": "10.2.11", "mocha": "8.1.1", "mocha-junit-reporter": "1.23.3", "mochawesome": "6.1.1", "mochawesome-merge": "4.1.0", "mochawesome-report-generator": "5.1.0", "prettier": "2.0.5", "rimraf": "3.0.2", "s3-batch-upload": "1.3.0", "slack-mock-typed": "2.4.0", "standard-version": "8.0.2", "ts-jest": "25.5.1", "ts-loader": "7.0.5", "ts-node": "8.10.2", "tslint": "5.20.1", "tslint-config-prettier": "1.18.0", "tslint-no-focused-test": "0.5.0", "typescript": "3.9.7", "webpack": "4.44.1", "winston": "2.4.5" }, "cypress-cucumber-preprocessor": { "nonGlobalStepDefinitions": false }, "lint-staged": { "src/**/*.ts": [ "prettier --write", "tslint --fix", "git add" ] }, "husky": { "hooks": { "pre-commit": "lint-staged", "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" } }, "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } }, "jest-stare": { "coverageLink": "../lcov-report/index.html", "resultDir": "coverage/html" }, "jest-junit": { "outputDirectory": "./testReports/", "reportDir": "testReports/unit" }, "resolutions": { "set-value": "3.0.2", "braces": "3.0.2", "handlebars": "4.7.6" }, "bugs": { "url": "https://github.com/you54f/cypress-slack-reporter/issues" }, "homepage": "https://github.com/you54f/cypress-slack-reporter#readme" }