diff --git a/package-lock.json b/package-lock.json index 654d303..58a34b9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -142,6 +142,25 @@ "uuid": "^8.3.1" } }, + "@cucumber/pretty-formatter": { + "version": "1.0.0-alpha.0", + "resolved": "https://registry.npmjs.org/@cucumber/pretty-formatter/-/pretty-formatter-1.0.0-alpha.0.tgz", + "integrity": "sha512-tfNn8RB4VrGQnVW2jub77iepD5v7YxJFXuW8i/rCbWK7JTWm3Cfb04GcAdtYmLpDnZDGAu1ASdetiafpp1ngjw==", + "requires": { + "@cucumber/messages": "^13.2.1", + "ansi-styles": "^5.0.0", + "cli-table3": "^0.6.0", + "figures": "^3.2.0", + "ts-dedent": "^2.0.0" + }, + "dependencies": { + "ansi-styles": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.0.0.tgz", + "integrity": "sha512-6564t0m0fuQMnockqBv7wJxo9T5C2V9JpYXyNScfRDPVLusOQQhkpMGrFC17QbiolraQ1sMXX+Y5nJpjqozL4g==" + } + } + }, "@cucumber/query": { "version": "7.0.1", "resolved": "https://registry.npmjs.org/@cucumber/query/-/query-7.0.1.tgz", @@ -2905,6 +2924,11 @@ "resolved": "https://registry.npmjs.org/trough/-/trough-1.0.5.tgz", "integrity": "sha512-rvuRbTarPXmMb79SmzEp8aqXNKcK+y0XaB298IXueQ8I2PsrATcPBCSPyK/dDNa2iWOhKlfNnOjdAOTBU/nkFA==" }, + "ts-dedent": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/ts-dedent/-/ts-dedent-2.0.0.tgz", + "integrity": "sha512-DfxKjSFQfw9+uf7N9Cy8Ebx9fv5fquK4hZ6SD3Rzr+1jKP6AVA6H8+B5457ZpUs0JKsGpGqIevbpZ9DMQJDp1A==" + }, "ts-node": { "version": "9.1.1", "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-9.1.1.tgz", diff --git a/package.json b/package.json index 7d1d0a2..44b8a65 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "scripts": { "build": "rimraf build && npm run format && npm run lint && tsc && npm run cucumber-check", "cucumber-check": "node ./node_modules/@cucumber/cucumber/bin/cucumber-js features/**/*.feature --dry-run --require env/set-environment-variables.ts --require world/custom-world.ts --require step-definitions/**/*.ts --require hooks/**/*.ts --require-module ts-node/register --format-options \"{\\\"snippetInterface\\\": \\\"async-await\\\"}\" --format summary --format progress --format progress-bar --publish-quiet", - "cucumber": "node ./node_modules/@cucumber/cucumber/bin/cucumber-js features/**/*.feature --require env/set-environment-variables.ts --require world/custom-world.ts --require step-definitions/**/*.ts --require hooks/**/*.ts --require-module ts-node/register --format-options \"{\\\"snippetInterface\\\": \\\"async-await\\\"}\" --format html:reports/report.html --format summary --format cucumber-console-formatter --publish-quiet", + "cucumber": "node ./node_modules/@cucumber/cucumber/bin/cucumber-js features/**/*.feature --require env/set-environment-variables.ts --require world/custom-world.ts --require step-definitions/**/*.ts --require hooks/**/*.ts --require-module ts-node/register --format-options \"{\\\"snippetInterface\\\": \\\"async-await\\\"}\" --format html:reports/report.html --format summary --format @cucumber/pretty-formatter --format cucumber-console-formatter --publish-quiet", "eslint-fix": "eslint ./ --ext .js,.ts,.tsx --fix", "eslint-init": "eslint --init", "format": "prettier --write \"**/*.{ts,tsx,css,html}\" ", @@ -33,6 +33,7 @@ "dependencies": { "@cucumber/cucumber": "7.0.0", "@cucumber/html-formatter": "11.0.4", + "@cucumber/pretty-formatter": "1.0.0-alpha.0", "@types/expect": "24.3.0", "@types/lodash": "4.14.167", "@types/node": "14.14.20",