UNPKG

rivet

Version:

Suite of utilities for working with the Rivet consumer-driven API contacts testing model.

91 lines (90 loc) 2.43 kB
{ "name": "rivet", "version": "1.0.7", "description": "Suite of utilities for working with the Rivet consumer-driven API contacts testing model.", "keywords": [ "rivet", "api", "test", "contract" ], "main": "dist/index.js", "types": "dist/index.d.ts", "scripts": { "install:consumer": "cd example/consumer; npm install", "install:producer": "cd example/consumer; npm install", "install:all": "npm run install:consumer && npm run install:producer", "test": "npm run build && $(npm bin)/jest", "prepublishOnly": "npm run build", "watch": "npm run build:watch", "rivet": "./dist/bin/rivet", "clean": "rm -rf ./dist", "build": "npm run clean && npm run copy:binary && $(npm bin)/tsc --project tsconfig.json --declaration", "build:watch": "npm run build -- --watch", "copy:binary": "mkdir -p dist/bin/ && cp src/bin/rivet dist/bin/" }, "bin": { "rivet": "./dist/bin/rivet" }, "author": "Kevin Altman <kevin@itsthatguy.com>", "homepage": "http://rivet.itg.sh", "repository": { "type": "git", "url": "https://github.com/itsthatguy/rivet.git" }, "bugs": { "url": "https://github.com/itsthatguy/rivet/issues", "email": "kevin@itsthatguy.com" }, "license": "ISC", "dependencies": { "chokidar": "^1.7.0", "colors": "^1.1.2", "fs-extra": "^4.0.1", "glob": "^7.1.2", "inquirer": "^3.3.0", "json-schema-faker": "^0.5.0-rc11", "rivet": "file:./", "yargs": "^8.0.2" }, "devDependencies": { "@types/colors": "^1.1.3", "@types/glob": "^5.0.32", "@types/inquirer": "0.0.35", "@types/jest": "^20.0.8", "@types/node": "^8.0.28", "@types/yargs": "^8.0.2", "jest": "^20.0.4", "jest-json-schema": "^1.2.0", "strip-color": "^0.1.0", "ts-jest": "^21.0.0", "tslint": "^5.7.0", "typescript": "^2.5.2" }, "jest": { "setupFiles": [ "<rootDir>/__tests__/test-setup.ts" ], "collectCoverage": true, "collectCoverageFrom": [ "src/**/*.ts", "!dist/", "!src/bin/**/*.ts" ], "transform": { ".(ts|tsx)": "<rootDir>/node_modules/ts-jest/preprocessor.js" }, "testRegex": "(/__tests__/.*\\.(test|spec))\\.(ts|tsx|js)$", "testPathIgnorePatterns": [ "dist/", "node_modules/" ], "moduleFileExtensions": [ "ts", "tsx", "js", "jsx", "json" ] } }