-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
111 lines (111 loc) · 3.6 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"name": "fetch-mocked",
"description": "A test framework integrated fetch mocking solution.",
"version": "0.0.27",
"author": "Dylan Aubrey",
"license": "MIT",
"homepage": "https://github.com/badbatch/fetch-mocked",
"repository": "badbatch/fetch-mocked",
"bugs": "https://github.com/badbatch/fetch-mocked/issues",
"type": "module",
"main": "./dist/cjs/index.cjs",
"module": "./dist/esm/index.mjs",
"types": "./dist/types/cjs/index.d.cts",
"exports": {
".": {
"types": {
"import": "./dist/types/esm/index.d.ts",
"require": "./dist/types/cjs/index.d.cts"
},
"import": "./dist/esm/index.mjs",
"require": "./dist/cjs/index.cjs"
},
"./testSetup.mjs": {
"import": "./testSetup.mjs"
}
},
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "pnpm run clean:dist && pnpm run compile",
"clean:deps": "del-cli ./node_modules",
"clean:dist": "del-cli ./dist",
"compile": "pnpm run /^compile:.*/",
"compile:cjs": "MODULE_SYSTEM=cjs rollup -c ./rollup.config.cjs",
"compile:esm": "rollup -c ./rollup.config.cjs",
"compile:types": "tsc --project ./tsconfig.build.json && cts-types build dist/types/esm dist/types/cjs",
"cut:changelog": "changelog",
"installActivateMise": "sh shellScripts/installActivateMise.sh",
"lint": "pnpm run /^lint:.*/",
"lint:code": "eslint .",
"lint:docs": "markdownlint-cli2 --config \".markdownlint.json\" \"**/*.md\" \"!**/node_modules/**\"",
"prepare": "husky",
"repodog": "repodog",
"syncpack": "syncpack format && syncpack list-mismatches && syncpack lint-semver-ranges",
"test": "pnpm run test:jest && pnpm run test:vitest",
"test:jest": "COMPILER=swc node --require=suppress-experimental-warnings --experimental-vm-modules node_modules/jest/bin/jest.js",
"test:vitest": "COMPILER=swc node node_modules/vitest/vitest.mjs src/main.vitest.test.ts --run",
"type-check": "tsc --noEmit",
"validate": "pnpm run syncpack && pnpm run build && pnpm run lint && pnpm run type-check && pnpm run test"
},
"dependencies": {
"@types/lodash-es": "^4.17.12",
"core-js": "^3.38.1",
"lodash-es": "^4.17.21",
"node-fetch": "^3.3.2",
"type-fest": "^4.26.1",
"zod": "^3.23.8"
},
"devDependencies": {
"@commitlint/cli": "^19.5.0",
"@jest/globals": "^29.7.0",
"@repodog/cli": "^1.6.36",
"@repodog/commitlint-config": "^19.0.3",
"@repodog/eslint-config": "^9.0.7",
"@repodog/eslint-config-jest": "^9.0.3",
"@repodog/jest-config": "^29.0.3",
"@repodog/markdownlint-config": "^1.2.4",
"@repodog/prettier-config": "^3.0.2",
"@repodog/rollup-config": "^4.0.3",
"@repodog/swc-config": "^1.0.3",
"@repodog/syncpack-config": "^13.0.2",
"@repodog/ts-config": "^5.0.4",
"@rollup/plugin-swc": "^0.3.0",
"@swc/core": "^1.7.26",
"@swc/jest": "^0.2.36",
"@types/jest": "^29.5.13",
"@types/node": "^22.8.7",
"cts-types": "^0.0.7",
"del-cli": "^6.0.0",
"eslint": "^9.14.0",
"generate-changelog": "^1.8.0",
"husky": "^9.1.6",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-environment-node": "^29.7.0",
"markdownlint-cli2": "^0.14.0",
"prettier": "^3.3.3",
"rollup": "^4.22.4",
"suppress-experimental-warnings": "^2.0.0",
"syncpack": "^13.0.0",
"typescript": "^5.6.2",
"vitest": "^2.1.4"
},
"keywords": [
"fetch",
"http",
"jest",
"mock",
"testing",
"vitest"
],
"pnpm": {
"overrides": {
"braces": ">=3.0.3",
"ejs": ">=3.1.10",
"micromatch": ">=4.0.8",
"ws": ">=8.17.1"
}
}
}