1 | {
|
2 | "name": "nock",
|
3 | "description": "HTTP server mocking and expectations library for Node.js",
|
4 | "tags": [
|
5 | "Mock",
|
6 | "HTTP",
|
7 | "testing",
|
8 | "isolation"
|
9 | ],
|
10 | "version": "11.8.0",
|
11 | "author": "Pedro Teixeira <pedro.teixeira@gmail.com>",
|
12 | "repository": {
|
13 | "type": "git",
|
14 | "url": "https://github.com/nock/nock.git"
|
15 | },
|
16 | "bugs": {
|
17 | "url": "http://github.com/nock/nock/issues"
|
18 | },
|
19 | "engines": {
|
20 | "node": ">= 8.0"
|
21 | },
|
22 | "main": "./index.js",
|
23 | "types": "types",
|
24 | "dependencies": {
|
25 | "debug": "^4.1.0",
|
26 | "json-stringify-safe": "^5.0.1",
|
27 | "lodash": "^4.17.13",
|
28 | "mkdirp": "^0.5.0",
|
29 | "propagate": "^2.0.0"
|
30 | },
|
31 | "devDependencies": {
|
32 | "assert-rejects": "^1.0.0",
|
33 | "chai": "^4.1.2",
|
34 | "dirty-chai": "^2.0.1",
|
35 | "dtslint": "^2.0.5",
|
36 | "eslint": "^6.0.0",
|
37 | "eslint-config-prettier": "^6.0.0",
|
38 | "eslint-config-standard": "^14.0.0",
|
39 | "eslint-plugin-import": "^2.16.0",
|
40 | "eslint-plugin-mocha": "^6.2.0",
|
41 | "eslint-plugin-node": "^11.0.0",
|
42 | "eslint-plugin-promise": "^4.1.1",
|
43 | "eslint-plugin-standard": "^4.0.0",
|
44 | "got": "^9.6.0",
|
45 | "lolex": "^5.0.0",
|
46 | "mocha": "^7.0.1",
|
47 | "npm-run-all": "^4.1.5",
|
48 | "nyc": "^15.0.0",
|
49 | "prettier": "1.19.0",
|
50 | "proxyquire": "^2.1.0",
|
51 | "request": "^2.83.0",
|
52 | "rimraf": "^3.0.0",
|
53 | "semantic-release": "^17.0.2",
|
54 | "sinon": "^8.0.0",
|
55 | "sinon-chai": "^3.3.0",
|
56 | "superagent": "^5.0.2",
|
57 | "tap": "14.6.1"
|
58 | },
|
59 | "scripts": {
|
60 | "format:fix": "prettier --write '**/*.{js,json,md,ts,yml,yaml}'",
|
61 | "format": "prettier --check '**/*.{js,json,md,ts,yml,yaml}'",
|
62 | "lint": "run-p lint:js lint:ts",
|
63 | "lint:js": "eslint --cache --cache-location './.cache/eslint' '**/*.js'",
|
64 | "lint:js:fix": "eslint --cache --cache-location './.cache/eslint' --fix '**/*.js'",
|
65 | "lint:ts": "dtslint types",
|
66 | "semantic-release": "semantic-release",
|
67 | "test": "run-p test:mocha test:tap",
|
68 | "test:coverage": "tap --coverage-report=html && open coverage/lcov-report/index.html",
|
69 | "test:mocha": "nyc mocha $(grep -lr '^\\s*it(' tests)",
|
70 | "test:tap": "tap --100 --coverage --coverage-report=text ./tests/test_*.js"
|
71 | },
|
72 | "nyc": {
|
73 | "reporter": [
|
74 | "lcov",
|
75 | "text-summary"
|
76 | ],
|
77 | "exclude": [
|
78 | "tests/"
|
79 | ]
|
80 | },
|
81 | "license": "MIT",
|
82 | "files": [
|
83 | "index.js",
|
84 | "lib",
|
85 | "types/index.d.ts"
|
86 | ]
|
87 | }
|