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": "13.5.6",
|
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": "https://github.com/nock/nock/issues"
|
18 | },
|
19 | "engines": {
|
20 | "node": ">= 10.13"
|
21 | },
|
22 | "main": "./index.js",
|
23 | "types": "types",
|
24 | "dependencies": {
|
25 | "debug": "^4.1.0",
|
26 | "json-stringify-safe": "^5.0.1",
|
27 | "propagate": "^2.0.0"
|
28 | },
|
29 | "devDependencies": {
|
30 | "@definitelytyped/dtslint": "^0.0.163",
|
31 | "@sinonjs/fake-timers": "^11.2.2",
|
32 | "assert-rejects": "^1.0.0",
|
33 | "chai": "^4.1.2",
|
34 | "dirty-chai": "^2.0.1",
|
35 | "eslint": "^8.8.0",
|
36 | "eslint-config-prettier": "^9.0.0",
|
37 | "eslint-config-standard": "^17.0.0-0",
|
38 | "eslint-plugin-import": "^2.16.0",
|
39 | "eslint-plugin-mocha": "^10.0.3",
|
40 | "eslint-plugin-node": "^11.0.0",
|
41 | "eslint-plugin-promise": "^6.0.0",
|
42 | "form-data": "^4.0.0",
|
43 | "got": "^11.3.0",
|
44 | "jest": "^29.7.0",
|
45 | "mocha": "^9.1.3",
|
46 | "npm-run-all": "^4.1.5",
|
47 | "nyc": "^15.0.0",
|
48 | "prettier": "3.2.5",
|
49 | "proxyquire": "^2.1.0",
|
50 | "rimraf": "^3.0.0",
|
51 | "semantic-release": "^24.1.0",
|
52 | "sinon": "^15.0.1",
|
53 | "sinon-chai": "^3.7.0",
|
54 | "typescript": "^5.0.4"
|
55 | },
|
56 | "scripts": {
|
57 | "format:fix": "prettier --write '**/*.{js,json,md,ts,yml,yaml}'",
|
58 | "format": "prettier --check '**/*.{js,json,md,ts,yml,yaml}'",
|
59 | "lint": "run-p lint:js lint:ts",
|
60 | "lint:js": "eslint --cache --cache-location './.cache/eslint' '**/*.js'",
|
61 | "lint:js:fix": "eslint --cache --cache-location './.cache/eslint' --fix '**/*.js'",
|
62 | "lint:ts": "dtslint --expectOnly types",
|
63 | "test": "nyc --reporter=lcov --reporter=text mocha --recursive tests",
|
64 | "test:coverage": "open coverage/lcov-report/index.html",
|
65 | "test:jest": "jest tests_jest --detectLeaks"
|
66 | },
|
67 | "license": "MIT",
|
68 | "files": [
|
69 | "index.js",
|
70 | "lib",
|
71 | "types/index.d.ts"
|
72 | ],
|
73 | "release": {
|
74 | "branches": [
|
75 | "+([0-9])?(.{+([0-9]),x}).x",
|
76 | "main",
|
77 | "next",
|
78 | "next-major",
|
79 | {
|
80 | "name": "beta",
|
81 | "prerelease": true
|
82 | },
|
83 | {
|
84 | "name": "alpha",
|
85 | "prerelease": true
|
86 | }
|
87 | ]
|
88 | }
|
89 | }
|