Adding dep and config for bdd in a experimental way
Signed-off-by: Fabio José <fabiojose@gmail.com>
This commit is contained in:
parent
25217fb69a
commit
3b9eccb36a
10
package.json
10
package.json
|
|
@ -5,7 +5,8 @@
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "./node_modules/.bin/istanbul cover -x 'test/**/*.js' _mocha -- -C test/**/*.js",
|
"test": "./node_modules/.bin/istanbul cover -x 'test/**/*.js' _mocha -- -C test/**/*.js",
|
||||||
"coverage-publish": "./node_modules/.bin/istanbul cover -x 'test/**/*.js' _mocha --report lcovonly -- -C test/**/*.js -R spec && cat ./coverage/lcov.info | ./node_modules/.bin/codacy-coverage && rm -rf ./coverage"
|
"coverage-publish": "./node_modules/.bin/istanbul cover -x 'test/**/*.js' _mocha --report lcovonly -- -C test/**/*.js -R spec && cat ./coverage/lcov.info | ./node_modules/.bin/codacy-coverage && rm -rf ./coverage",
|
||||||
|
"bdd": "./node_modules/.bin/cucumber-js ./test/bdd/feature -r ./test/bdd/step"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
@ -38,12 +39,13 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"chai": "4.2.0",
|
"chai": "4.2.0",
|
||||||
"mocha": "5.2.0",
|
|
||||||
"chai-http": "4.2.0",
|
"chai-http": "4.2.0",
|
||||||
"nock": "10.0.2",
|
|
||||||
"codacy-coverage": "3.3.0",
|
"codacy-coverage": "3.3.0",
|
||||||
"mocha-lcov-reporter": "1.3.0",
|
"cucumber": "^5.1.0",
|
||||||
"istanbul": "0.4.5",
|
"istanbul": "0.4.5",
|
||||||
|
"mocha": "5.2.0",
|
||||||
|
"mocha-lcov-reporter": "1.3.0",
|
||||||
|
"nock": "10.0.2",
|
||||||
"request": "^2.88.0"
|
"request": "^2.88.0"
|
||||||
},
|
},
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue