-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
140 lines (140 loc) · 3.38 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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
{
"name": "mix-n-matchers",
"version": "1.8.0",
"description": "Miscellaneous custom Jest matchers",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
"./package.json": "./package.json",
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./all": {
"import": "./dist/all.js",
"require": "./dist/all.cjs"
},
"./jest-globals": {
"import": "./dist/jest-globals.js",
"require": "./dist/jest-globals.cjs"
},
"./vitest": {
"import": "./dist/vitest.js",
"require": "./dist/vitest.cjs"
}
},
"files": [
"dist",
"all",
"jest-globals",
"vitest"
],
"workspaces": [
"website"
],
"scripts": {
"clean": "rimraf dist",
"prepare": "husky install",
"prebuild": "yarn run type",
"build": "yarn clean && tsup",
"test": "yarn node --experimental-vm-modules $(yarn bin jest) --setupFilesAfterEnv ./src/jest-globals.ts ./jest-setup.ts",
"test:dist": "yarn node --experimental-vm-modules $(yarn bin jest) --setupFilesAfterEnv mix-n-matchers/jest-globals ./jest-setup.ts",
"vitest": "vitest",
"vitest:dist": "vitest --config vitest-dist.config.ts",
"test:all": "yarn run test && yarn run vitest --run",
"test:all:dist": "yarn run test:dist && yarn run vitest:dist --run",
"lint": "eslint",
"pre-commit": "lint-staged",
"attw": "attw",
"publint": "publint",
"type": "tsc",
"prepack": "yarn run publint",
"website": "yarn workspace website start"
},
"repository": {
"type": "git",
"url": "git+https://github.com/EskiMojo14/mix-n-matchers.git"
},
"keywords": [
"jest",
"vitest",
"matchers",
"extend",
"extended",
"test",
"testing",
"assertions"
],
"author": "eskimojo",
"license": "MIT",
"bugs": {
"url": "https://github.com/EskiMojo14/mix-n-matchers/issues"
},
"homepage": "https://github.com/EskiMojo14/mix-n-matchers#readme",
"devDependencies": {
"@arethetypeswrong/cli": "^0.13.2",
"@jest/globals": "^29.7.0",
"@types/node": "^20.11.20",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^7.0.0",
"eslint": "^8.49.0",
"eslint-import-resolver-typescript": "^3.6.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-jest": "^27.4.0",
"husky": "^8.0.3",
"jest": "^29.7.0",
"lint-staged": "^15.0.0",
"prettier": "^3.0.3",
"publint": "^0.2.2",
"rimraf": "^5.0.5",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.2",
"tsup": "^8.0.0",
"typescript": "^5.2.2",
"vitest": "^1"
},
"dependencies": {
"@jest/expect-utils": ">=28.0.0",
"jest-matcher-utils": ">=28.0.0"
},
"peerDependencies": {
"jest": ">=28.0.0",
"vitest": ">=1.0.0"
},
"peerDependenciesMeta": {
"jest": {
"optional": true
},
"vitest": {
"optional": true
}
},
"engines": {
"node": "^14.15.0 || ^16.10.0 || >=18.0.0"
},
"lint-staged": {
"*.{ts,md}": "prettier --write"
},
"prettier": {},
"tsup": {
"entry": [
"src/index.ts",
"src/all.ts",
"src/jest-globals.ts",
"src/vitest.ts"
],
"sourcemap": true,
"format": [
"esm",
"cjs"
],
"dts": true,
"minify": true,
"external": [
"@jest/globals"
]
},
"packageManager": "yarn@4.2.2"
}