Make cucumber executable via package.json bin field
This commit is contained in:
parent
c8bb50497b
commit
0d291cb68e
@ -1,5 +1,5 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
default: '--require features --tags ~@todo --tags ~@bug --tag ~@stress',
|
default: '--require features --tags ~@todo --tags ~@bug --tags ~@stress',
|
||||||
verify: '--require features --tags ~@todo --tags ~@bug --tags ~@stress -f progress',
|
verify: '--require features --tags ~@todo --tags ~@bug --tags ~@stress -f progress',
|
||||||
jenkins: '--require features --tags ~@todo --tags ~@bug --tags ~@stress --tags ~@options -f progress',
|
jenkins: '--require features --tags ~@todo --tags ~@bug --tags ~@stress --tags ~@options -f progress',
|
||||||
bugs: '--require features --tags @bug',
|
bugs: '--require features --tags @bug',
|
||||||
|
@ -10,6 +10,9 @@
|
|||||||
"request": "^2.69.0",
|
"request": "^2.69.0",
|
||||||
"xmlbuilder": "^4.2.1"
|
"xmlbuilder": "^4.2.1"
|
||||||
},
|
},
|
||||||
|
"bin": {
|
||||||
|
"cucumber": "./node_modules/cucumber/bin/cucumber.js"
|
||||||
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"lint": "eslint -c ./.eslintrc features/step_definitions/ features/support/",
|
"lint": "eslint -c ./.eslintrc features/step_definitions/ features/support/",
|
||||||
"test": "npm run lint && ./node_modules/cucumber/bin/cucumber.js features/ -p verify",
|
"test": "npm run lint && ./node_modules/cucumber/bin/cucumber.js features/ -p verify",
|
||||||
|
Loading…
Reference in New Issue
Block a user