mocha-tape-deck
Version:
Create, manage, and replay HTTP requests and responses for fast, deterministic tests.
78 lines (77 loc) • 1.77 kB
JSON
{
"name": "mocha-tape-deck",
"version": "0.0.9",
"main": "dist/index.js",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/fossas/mocha-tape-deck/issues"
},
"repository": {
"type": "git",
"url": "git://github.com/fossas/mocha-tape-deck.git"
},
"scripts": {
"clean": "rm -rf dist",
"build": "node_modules/.bin/tsc",
"test": "mocha --require ./node_modules/ts-node/register --recursive test/**/*.spec.ts",
"test:debug": "mocha --inspect-brk --require ./node_modules/ts-node/register --recursive test/**/*.spec.ts",
"coverage": "node_modules/.bin/nyc npm run test",
"publish:coverage": "node_modules/.bin/nyc report --reporter=text-lcov > coverage.lcov && curl -s https://codecov.io/bash | bash"
},
"dependencies": {
"mocha": "^5.2.0",
"nock": "^10.0.1",
"rimraf": "^2.6.2",
"sanitize-filename": "^1.6.1"
},
"devDependencies": {
"@types/chai": "^4.1.6",
"@types/express": "^4.16.0",
"@types/mocha": "^5.2.5",
"@types/nock": "^9.3.0",
"@types/request-promise": "^4.1.42",
"@types/rimraf": "^2.0.2",
"chai": "^4.2.0",
"express": "^4.16.4",
"nyc": "^13.1.0",
"request": "^2.88.0",
"request-promise": "^4.2.2",
"ts-node": "^7.0.1",
"tslint": "^5.11.0",
"typescript": "^3.1.3"
},
"nyc": {
"extension": [
".ts"
],
"exclude": [
"**/*.spec.ts",
"**/*.d.ts",
"**/*.js",
"**/*.map"
],
"reporter": [
"html"
],
"all": true
},
"files": [
"dist",
"src"
],
"keywords": [
"test",
"testing",
"integration",
"component",
"bdd",
"tdd",
"Mock",
"HTTP",
"testing",
"isolation",
"mocha",
"tape",
"cassette"
]
}