UNPKG

@blossomfinance/just-api

Version:

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

171 lines (170 loc) 4.71 kB
{ "name": "@blossomfinance/just-api", "version": "1.4.0", "description": "Specification based API test framework for HTTP APIs (REST, GraphQL)", "homepage": "https://matmar10.github.io/just-api/", "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/matmar10/just-api.git" }, "engines": { "node": ">=7.10.0", "npm": ">=4.5.0" }, "publishConfig": { "registry": "https://registry.npmjs.org/" }, "scripts": { "build": "npm run clean && npm run transpile && npm run dist:files", "transpile": "babel 'lib/**/*.js' --out-dir .tmp/dist && mv .tmp/dist/lib src", "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": "rm -rf src", "install_testapi": "cd test/api && npm install && cp db_original.json db.json", "start_testapi": "npm run install_testapi && cd test/api && node server.js", "clean_testlogs": "rm -rf test/cli/src/logs && mkdir test/cli/src/logs", "test": "npm run clean_testlogs && ./node_modules/.bin/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.11.0", "jsonpath": "1.0.0", "jsonschema": "1.2.2", "lodash": "4.17.10", "mkdirp": "0.5.1", "pretty-ms": "3.1.0", "request": "2.85.0", "request-cookies": "1.1.0", "semver": "5.5.0", "serialize-error": "2.1.0", "string-template": "1.0.0", "url-parse": "1.4.3" }, "devDependencies": { "@release-it/conventional-changelog": "^3.0.1", "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.10.1" }, "bin": { "just-api": "./bin/just-api" }, "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 } } }