UNPKG

@blossomfinance/rest-ez

Version:

Easy, spec based API test framework for HTTP APIs (REST, GraphQL)

180 lines (179 loc) 5.12 kB
{ "name": "@blossomfinance/rest-ez", "version": "1.6.0", "description": "Easy, spec based API test framework for HTTP APIs (REST, GraphQL)", "homepage": "https://blossomfinance.github.io/rest-ez/", "keywords": [ "API", "mocha", "REST", "GraphQL", "testing", "test", "restful", "rest", "http", "webservice", "microservice", "yaml", "testrunner", "QA", "api", "automation", "testreporter" ], "author": "Kiran Mandadi <kiran.6d.hex@gmail.com>", "contributors": [ "Kiran Mandadi <kiran.6d.hex@gmail.com> (https://github.com/kiranz)", "Matthew Martin <matthew.mar10@gmail.com> (https://github.com/matmar10)" ], "license": "MIT", "repository": { "type": "git", "url": "https://github.com/blossomfinance/rest-ez.git" }, "engines": { "node": ">=7.10.0", "npm": ">=4.5.0" }, "publishConfig": { "registry": "https://registry.npmjs.org/" }, "scripts": { "start": "npm run docs", "build": "npm run clean && npm run transpile && npm run dist:files", "transpile": "babel 'lib/**/*.js' --out-dir .tmp/dist && mv .tmp/dist/lib src", "docs": "npm run clean:docs && npm run docs:serve", "docs:build": "codedoc build", "docs:serve": "codedoc serve", "dist:files": "npm run dist:files:json && npm run dist:files:css", "dist:files:json": "mkdir -p src/schema/yaml && cp -r lib/schema/yaml/*.json src/schema/yaml/", "dist:files:css": "mkdir -p src/reporters/html-src/assets && cp -r lib/reporters/html-src/assets/*.css src/reporters/html-src/assets/", "clean": "npm run clean:src && npm run clean:test-logs", "clean:src": "rm -rf src", "clean:test-logs": "rm -rf test/cli/src/logs && mkdir test/cli/src/logs", "clean:docs": "find docs -type f -name '*.html' -delete", "test-api": "npm run test-api:install && npm run test-api:start", "test-api:install": "cd test/api && npm install && cp db_original.json db.json", "test-api:start": "npm run test-api:install && cd test/api && node server.js", "test": "npm run clean:test-logs && mocha --timeout 10000 test/cli/*.spec.js", "release": "release-it" }, "dependencies": { "@apidevtools/json-schema-ref-parser": "^9.0.9", "chai": "4.1.2", "chalk": "2.4.1", "commander": "2.11.0", "debug": "3.1.0", "error-ex": "1.3.1", "esprima": "4.0.0", "glob": "7.1.2", "he": "1.1.1", "js-yaml": "^3.14.1", "jsonpath": "^1.1.1", "jsonschema": "1.2.2", "lodash": "^4.17.21", "mkdirp": "0.5.1", "pretty-ms": "3.1.0", "request": "^2.88.2", "request-cookies": "1.1.0", "semver": "5.5.0", "serialize-error": "2.1.0", "string-template": "1.0.0" }, "devDependencies": { "@adobe/jsonschema2md": "^6.1.4", "@codedoc/cli": "^0.2.8", "@release-it/conventional-changelog": "^3.3.0", "babel-cli": "^6.24.1", "babel-plugin-add-module-exports": "^0.2.1", "babel-plugin-array-includes": "^2.0.3", "babel-plugin-transform-es2015-destructuring": "^6.23.0", "babel-plugin-transform-es2015-modules-commonjs": "^6.24.1", "babel-plugin-transform-es2015-parameters": "^6.24.1", "babel-plugin-transform-es2015-spread": "^6.22.0", "babel-plugin-transform-object-rest-spread": "^6.23.0", "babel-plugin-transform-react-jsx": "^6.24.1", "babel-register": "^6.24.1", "chai": "4.1.2", "cross-spawn": "6.0.5", "del": "3.0.0", "mocha": "5.2.0", "release-it": "^14.11.8", "yamljs": "^0.3.0" }, "bin": { "rest-ez": "./bin/rest-ez" }, "files": [ "bin", "src" ], "release-it": { "hooks": { "before:init": "npm run build" }, "plugins": { "@release-it/conventional-changelog": { "infile": "CHANGELOG.md", "preset": { "name": "conventionalcommits", "types": [ { "type": "feat", "section": "Features" }, { "type": "fix", "section": "Bug Fixes" }, { "type": "perf", "section": "Performance Improvements" }, { "type": "revert", "section": "Reverts" }, { "type": "docs", "section": "Documentation" }, { "type": "style", "section": "Styles" }, { "type": "refactor", "section": "Code Refactoring" }, { "type": "test", "section": "Tests" }, { "type": "build", "section": "Build System" }, { "type": "ci", "section": "Continuous Integration" } ] } } }, "git": { "commit": true, "requireUpstream": false, "tag": true, "push": true }, "github": { "release": true }, "npm": { "publish": true } } }