-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
96 lines (96 loc) · 2.72 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
{
"name": "vitest-when",
"version": "0.5.0",
"description": "Stub behaviors of Vitest mock functions with a small, readable API.",
"keywords": [
"tdd",
"testing",
"mocking"
],
"homepage": "https://github.com/mcous/vitest-when#readme",
"bugs": {
"url": "https://github.com/mcous/vitest-when/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/mcous/vitest-when.git"
},
"license": "MIT",
"author": "Michael Cousins <michael@cousins.io> (https://michael.cousins.io)",
"type": "module",
"exports": {
".": {
"types": "./dist/vitest-when.d.ts",
"import": "./dist/vitest-when.js"
}
},
"types": "./dist/vitest-when.d.ts",
"files": [
"dist",
"src"
],
"scripts": {
"_eslint": "eslint --ignore-path .lintignore \"**/*.ts\"",
"_prettier": "prettier --ignore-path .lintignore \"**/*.@(ts|json|yaml|md)\"",
"all": "concurrently -g pnpm:coverage pnpm:build pnpm:check:*",
"build": "tsup --clean --sourcemap --dts --format esm --target node14 src/vitest-when.ts",
"build-and-check": "concurrently -g pnpm:build pnpm:check:*",
"check:format": "pnpm run _prettier --check",
"check:lint": "pnpm run _eslint",
"check:types": "vitest --typecheck.only --run",
"coverage": "vitest run --coverage",
"format": "pnpm run _prettier --write && pnpm run _eslint --fix",
"test": "vitest"
},
"prettier": "@mcous/prettier-config",
"eslintConfig": {
"parserOptions": {
"project": "./tsconfig.json"
},
"extends": "@mcous/eslint-config",
"rules": {
"@typescript-eslint/restrict-template-expressions": [
"error",
{
"allowNumber": true
}
]
}
},
"devDependencies": {
"@mcous/eslint-config": "0.4.4",
"@mcous/prettier-config": "0.3.0",
"@mcous/typescript-config": "0.2.1",
"@typescript-eslint/eslint-plugin": "7.16.0",
"@typescript-eslint/parser": "7.16.0",
"@vitest/coverage-istanbul": "^2.0.1",
"@vitest/expect": "^2.0.1",
"concurrently": "^8.2.2",
"eslint": "8.56.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-promise": "6.4.0",
"eslint-plugin-sonarjs": "0.24.0",
"eslint-plugin-unicorn": "51.0.1",
"prettier": "3.3.2",
"tsup": "^8.1.0",
"typescript": "5.5.3",
"vitest": "^2.0.1"
},
"peerDependencies": {
"@vitest/expect": ">=0.31.0 <3.0.0",
"vitest": ">=0.31.0 <3.0.0"
},
"peerDependenciesMeta": {
"@vitest/expect": {
"optional": true
}
},
"packageManager": "pnpm@8.15.8+sha256.691fe176eea9a8a80df20e4976f3dfb44a04841ceb885638fe2a26174f81e65e",
"publishConfig": {
"access": "public",
"provenance": true
},
"dependencies": {
"pretty-format": "^29.7.0"
}
}