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.0.7",
|
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": ">= 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 | "lodash.set": "^4.3.2",
|
28 | "propagate": "^2.0.0"
|
29 | },
|
30 | "devDependencies": {
|
31 | "@sinonjs/fake-timers": "^6.0.0",
|
32 | "assert-rejects": "^1.0.0",
|
33 | "chai": "^4.1.2",
|
34 | "dirty-chai": "^2.0.1",
|
35 | "dtslint": "^4.0.4",
|
36 | "eslint": "^7.3.1",
|
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": "^8.0.0",
|
41 | "eslint-plugin-node": "^11.0.0",
|
42 | "eslint-plugin-promise": "^4.1.1",
|
43 | "eslint-plugin-standard": "^4.0.0",
|
44 | "form-data": "^3.0.0",
|
45 | "got": "^11.3.0",
|
46 | "mocha": "^8.0.1",
|
47 | "npm-run-all": "^4.1.5",
|
48 | "nyc": "^15.0.0",
|
49 | "prettier": "2.0.5",
|
50 | "proxyquire": "^2.1.0",
|
51 | "request": "^2.83.0",
|
52 | "rimraf": "^3.0.0",
|
53 | "semantic-release": "^17.0.2",
|
54 | "sinon": "^9.0.0",
|
55 | "sinon-chai": "^3.3.0",
|
56 | "superagent": "^6.1.0",
|
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 | "test": "run-s test:mocha test:tap",
|
67 | "test:coverage": "tap --coverage-report=html && open coverage/lcov-report/index.html",
|
68 | "test:mocha": "nyc mocha $(grep -lr '^\\s*it(' tests)",
|
69 | "test:tap": "tap --100 --coverage --coverage-report=text ./tests/test_*.js"
|
70 | },
|
71 | "nyc": {
|
72 | "reporter": [
|
73 | "lcov",
|
74 | "text-summary"
|
75 | ],
|
76 | "exclude": [
|
77 | "tests/"
|
78 | ]
|
79 | },
|
80 | "license": "MIT",
|
81 | "files": [
|
82 | "index.js",
|
83 | "lib",
|
84 | "types/index.d.ts"
|
85 | ],
|
86 | "release": {
|
87 | "branches": [
|
88 | "+([0-9])?(.{+([0-9]),x}).x",
|
89 | "main",
|
90 | "next",
|
91 | "next-major",
|
92 | {
|
93 | "name": "beta",
|
94 | "prerelease": true
|
95 | },
|
96 | {
|
97 | "name": "alpha",
|
98 | "prerelease": true
|
99 | }
|
100 | ]
|
101 | }
|
102 | }
|