-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
76 lines (76 loc) · 1.94 KB
/
package.json
File metadata and controls
76 lines (76 loc) · 1.94 KB
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
{
"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.18.0",
"@nighttrax/eslint-config-tsx": "~12.3.0",
"@testing-library/dom": "~10.4.0",
"@testing-library/react": "~16.3.0",
"@types/react": "~19.2.0",
"@types/react-dom": "~19.2.0",
"@types/sinon": "~21.0.0",
"@vitejs/plugin-react": "~5.1.0",
"@vitest/coverage-v8": "~4.0.0",
"eslint": "~9.39.0",
"jsdom": "~28.1.0",
"prettier": "~3.8.0",
"react": "~19.2.0",
"react-dom": "~19.2.0",
"standard-version": "~9.5.0",
"tsup": "~8.5.0",
"typescript": "~5.9.0",
"vitest": "~4.0.0"
},
"packageManager": "pnpm@10.30.2"
}