-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
51 lines (51 loc) · 1.53 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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"name": "vitest-offline",
"version": "1.0.0",
"description": "Addon for your Vitest configuration, which will fail tests that make a network requests.",
"main": "dist/index.js",
"exports": {
"./package.json": "./package.json",
".": {
"import": "./dist/index.js",
"default": "./dist/index.cjs"
}
},
"type": "module",
"files": [
"dist"
],
"scripts": {
"test:unit": "vitest run",
"prepublishOnly": "pnpm run type-check && pnpm run lint && pnpm run format && pnpm run check-exports && pnpm run test:unit && pnpm run test:e2e",
"build": "tsup",
"check-exports": "attw --pack . --ignore-rules=cjs-resolves-to-esm",
"type-check": "tsc",
"format": "pnpm biome format --write",
"lint": "pnpm biome lint",
"local-release": "changeset version && changeset publish",
"test:e2e:vitest1": "cd e2e/vitest_v1 && pnpm i && pnpm run test",
"test:e2e:vitest2": "cd e2e/vitest_v2 && pnpm i && pnpm run test",
"test:e2e": "pnpm run test:e2e:vitest1 && pnpm run test:e2e:vitest2"
},
"keywords": [
"vitest"
],
"author": "Krzysztof Sordyl (https://sordyl.dev)",
"license": "MIT",
"repository": "https://github.com/Verthon/vitest-offline",
"bugs": {
"url": "https://github.com/Verthon/vitest-offline/issues"
},
"devDependencies": {
"@arethetypeswrong/cli": "0.15.4",
"@biomejs/biome": "1.8.3",
"@changesets/cli": "2.27.8",
"@types/node": "20.12.7",
"tsup": "8.2.4",
"typescript": "5.5.4"
},
"peerDependencies": {
"vitest": "^1.0.0 || ^2.0.0"
}
}