-
Notifications
You must be signed in to change notification settings - Fork 181
/
package.json
91 lines (91 loc) · 2.76 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
{
"name": "fetch-mock-monorepo",
"description": "Mock http requests made using fetch (or isomorphic-fetch)",
"version": "1.0.0",
"type": "module",
"repository": {
"type": "git",
"url": "git+https://github.com/wheresrhys/fetch-mock.git"
},
"author": "Rhys Evans",
"license": "MIT",
"bugs": {
"url": "https://github.com/wheresrhys/fetch-mock/issues"
},
"homepage": "http://www.wheresrhys.co.uk/fetch-mock",
"engines": {
"node": ">=8.0.0"
},
"workspaces": [
"packages/*",
"docs",
"import-compat"
],
"scripts": {
"lint:staged": "eslint --cache --fix",
"lint": "eslint --cache --fix .",
"lint:ci": "eslint .",
"prettier": "prettier --cache --write *.md \"./**/*.md\" *.json \"./**/*.json\"",
"prettier:ci": "prettier *.md \"./**/*.md\" *.json \"./**/*.json\"",
"types:check": "tsc --project ./jsconfig.json && echo 'types check done'",
"prepare": "husky || echo \"husky not available\"",
"build": "npm run build -w=packages",
"docs": "npm run start -w docs",
"test": "vitest . --ui --exclude=packages/jest/src/__tests__/*",
"test:ci": "vitest . --reporter=junit --outputFile=test-results/junit.xml --coverage.provider=istanbul --exclude=packages/jest/src/__tests__/*",
"test:jest": "node --experimental-vm-modules node_modules/jest/bin/jest.js packages/jest",
"test:browser": "vitest . --browser.enabled --browser.name chromium --browser.provider playwright --exclude=packages/{jest,codemods}/src/__tests__/*",
"coverage:send": "cat ./coverage/lcov.info | coveralls",
"compat:module": "npm run compat:module -w import-compat"
},
"devDependencies": {
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@eslint/js": "^9.8.0",
"@rollup/plugin-commonjs": "^26.0.1",
"@rollup/plugin-node-resolve": "^15.2.3",
"@testing-library/dom": "^10.4.0",
"@types/chai": "^4.3.17",
"@types/eslint__js": "^8.42.3",
"@types/events": "^3.0.3",
"@types/node": "^20.14.10",
"@vitest/browser": "^2.0.5",
"@vitest/coverage-istanbul": "^2.0.5",
"@vitest/coverage-v8": "^2.0.5",
"@vitest/ui": "^2.0.5",
"eslint": "9.14.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"globals": "^15.9.0",
"husky": "^9.0.11",
"jest": "^29.7.0",
"jsdom": "^23.2.0",
"lint-staged": "^15.2.7",
"playwright": "^1.46.0",
"prettier": "^3.1.1",
"rollup": "^4.22.4",
"rollup-plugin-copy": "^3.5.0",
"rollup-plugin-sourcemaps": "^0.6.3",
"ts-jest": "^29.2.5",
"tsd": "^0.31.1",
"typescript": "^5.5.4",
"typescript-eslint": "^8.0.1",
"v8": "^0.1.0",
"vitest": "^2.0.0",
"webdriverio": "^8.27.0"
},
"volta": {
"node": "20.18.0"
},
"lint-staged": {
"**/*.js": [
"npm run lint:staged"
],
"packages/**/*.ts": [
"npm run types:check"
],
"**/*.md": [
"npm run prettier"
]
}
}