-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
79 lines (79 loc) · 2.03 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
{
"name": "react-mock-component",
"version": "4.1.1",
"description": "Create type safe mock React components to use in tests",
"keywords": [
"tdd",
"react",
"spy",
"stub",
"mock",
"test",
"typescript"
],
"repository": {
"type": "git",
"url": "https://github.com/NiGhTTraX/react-mock-component.git"
},
"author": "Andrei Picus",
"license": "MIT",
"homepage": "https://github.com/NiGhTTraX/react-mock-component",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
"import": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"require": "./dist/index.cjs"
}
},
"files": [
"dist"
],
"scripts": {
"build": "tsup src/index.tsx --format cjs,esm --dts --clean --tsconfig tsconfig.build.json",
"check-types": "attw --pack .",
"prepublishOnly": "pnpm run build",
"release": "standard-version",
"lint": "eslint --quiet .",
"test": "vitest --coverage",
"posttest": "tsc -p tsconfig.test.json"
},
"dependencies": {
"sinon": "~15.1.2"
},
"peerDependencies": {
"@types/react": "^18.0.0 || ^19.0.0",
"react": "^18.0.0 || ^19.0.0",
"react-dom": "^18.0.0 || ^19.0.0"
},
"devDependencies": {
"@arethetypeswrong/cli": "~0.17.1",
"@eslint/js": "~9.22.0",
"@testing-library/dom": "~10.4.0",
"@testing-library/react": "~16.2.0",
"@types/react": "~19.0.2",
"@types/react-dom": "~19.0.2",
"@types/sinon": "~17.0.0",
"@vitejs/plugin-react": "~4.3.4",
"@vitest/coverage-v8": "~3.0.7",
"eslint": "~9.22.0",
"eslint-config-prettier": "~10.1.0",
"eslint-plugin-prettier": "~5.2.1",
"jsdom": "~26.0.0",
"prettier": "~3.5.0",
"react": "~19.0.0",
"react-dom": "~19.0.0",
"standard-version": "~9.5.0",
"tsup": "~8.4.0",
"typescript": "~5.8.0",
"typescript-eslint": "~8.26.0",
"vitest": "~3.0.7"
},
"packageManager": "[email protected]"
}