|
5 | 5 | "main": "index.js", |
6 | 6 | "scripts": { |
7 | 7 | "build": "rimraf build && npm run format && npm run lint && tsc && npm run cucumber-check", |
8 | | - "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", |
9 | | - "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", |
| 8 | + "cucumber-check": "npx cucumber-js --dry-run --format summary --format progress --format progress-bar", |
| 9 | + "cucumber": "npx cucumber-js --format html:reports/report.html --format summary --format @cucumber/pretty-formatter --format cucumber-console-formatter", |
10 | 10 | "eslint-fix": "eslint ./ --ext .js,.ts,.tsx --fix", |
11 | 11 | "eslint-init": "eslint --init", |
12 | 12 | "format": "prettier --write \"**/*.{ts,tsx,css,html}\" ", |
13 | 13 | "lint": "eslint ./ --ext .js,.ts,.tsx --format visualstudio --no-color --max-warnings 10 --report-unused-disable-directives", |
14 | 14 | "only": "npm run cucumber -- --tags @only", |
15 | 15 | "report": "open reports/report.html", |
16 | | - "snippets": "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 snippets --publish-quiet", |
17 | | - "steps-usage": "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 usage --publish-quiet", |
| 16 | + "snippets": "npx cucumber-js --dry-run --format snippets", |
| 17 | + "steps-usage": "npx cucumber-js --dry-run --format usage", |
18 | 18 | "test": "npm run cucumber" |
19 | 19 | }, |
20 | 20 | "engines": { |
|
0 commit comments