UNPKG

cucumberjs-rest-assured

Version:

Test framework for automating rest api & JS & typescript!

145 lines (144 loc) 3.84 kB
{ "name": "cucumberjs-rest-assured", "version": "0.0.21", "author": "KrisD", "description": "Test framework for automating rest api & JS & typescript!", "license": "MIT", "files": [ "/lib", "!/lib/**/*.js.map", "/types" ], "keywords": [ "rest", "postman", "got", "axios", "mocha", "chai", "cucumber", "test", "cucumberjs", "restassured", "rest api", "api", "node", "npm", "curl", "automation", "api automation", "rest-assured", "fixtures", "cucumber-js", "http", "client", "https" ], "main": "lib/index.js", "types": "lib/index.d.ts", "repository": { "type": "git", "url": "https://github.com/automatekitbox/api-docs" }, "scripts": { "clean:node_modules": "rimraf \"node_modules\"", "clean:build": "rimraf \"lib\" \"test-js\"", "clean:test": "rimraf \"pacts\" \"pact_logs\" \".nyc_output\" \"coverage\"", "clean": "npm run clean:build && npm run clean:test", "build:ci": "tsc && tsc --project test && npm run lint", "build": "npm run build:ci", "fix": "tslint --fix '@(lib|test)/**/*.ts?(x)'", "generate-jsdoc": "jsdoc lib -r -d docs -t templates.default.outputSourceFiles", "myjsdoc": "jsdoc -c conf.json", "lint": "tslint --project tsconfig-lint.json -c tslint.json", "pretest": "npm run clean:test", "test:ci": "LOG_LEVEL=ALL nyc mocha $NODE_DEBUG_OPTION --no-opts --no-config", "test": "npm run build && LOG_LEVEL=OFF nyc mocha $NODE_DEBUG_OPTION --timout 15000 --no-opts --no-config", "sonar:ci": "./sonar.sh", "publishPacts:ci": "echo Pact publishing is disabled for this repo.", "disabled:publishPacts:ci": "node test-js/test/test-helpers/publish-pacts", "watch": "tsc --watch" }, "dependencies": { "@types/form-data": "^2.5.0", "btoa": "^1.2.1", "bufferutil": "^4.0.1", "chai-iterator": "^3.0.2", "cucumber": "^4.2.1", "form-data": "^3.0.0", "got": "^9.6.0", "json-file": "^0.1.0", "jsonpath": "^1.0.2", "load-json-file": "^5.2.0", "reflect-metadata": "^0.1.13", "utf-8-validate": "^5.0.2" }, "devDependencies": { "@types/chai": "^4.1.7", "@types/chai-as-promised": "^7.1.0", "@types/cucumber": "^4.0.4", "@types/dotenv": "^6.1.0", "@types/got": "^9.6.11", "@types/jsonpath": "^0.2.0", "@types/mocha": "^5.2.6", "@types/node": "^10.3.4", "@types/request": "^2.48.1", "@types/sinon": "^7.0.6", "@types/sinon-chai": "^3.2.2", "chai": "^4.2.0", "chai-as-promised": "^7.1.1", "dotenv": "^6.2.0", "jsdoc": "^3.6.2", "log4js": "^6.3.0", "mocha": "8.2.1", "node-fetch": "^2.6.1", "nyc": "^14.1.1", "rimraf": "^2.6.3", "sinon": "^7.2.4", "sinon-chai": "^3.3.0", "source-map-support": "^0.5.10", "testrail-integration": "0.0.10", "ts-node": "^7.0.1", "tslint": "^5.16.0", "tunnel": "0.0.6", "typescript": "^3.6.5" }, "config": { "pact_do_not_track": true }, "mocha": { "require": [ "ts-node/register", "source-map-support/register", "reflect-metadata" ], "recursive": true, "full-trace": true, "spec": "test/**/*.spec.ts" }, "nyc": { "include": [ "src/**/*" ], "exclude": [ "**/test-helpers/**" ], "extension": [ ".ts" ], "reporter": [ "text-summary", "html", "lcov" ], "all": true, "sourceMap": true, "instrument": true, "check-coverage": false, "lines": 13, "statements": 13, "functions": 3, "branches": 0 }, "mocha-coverage-comment": "Note: The coverage values above should be restored to our standard values once unit tests are implemented: lines: 99, statements: 99, functions: 99, branches: 99" }