-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
114 lines (114 loc) · 3.22 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
{
"name": "react-test-wrapper",
"author": "Raice Hannay <[email protected]>",
"description": "A set of classes to make setting up React components for unit tests easy.",
"license": "ISC",
"version": "4.1.0",
"keywords": [
"component",
"react-testing-library",
"jest",
"react",
"react-intl",
"react-redux",
"redux",
"test",
"tests",
"tester",
"testing",
"unit-test",
"unit-tests",
"unit-testing"
],
"type": "module",
"exports": {
"import": "./esm/index.js",
"require": "./cjs/index.js"
},
"files": [
"./cjs",
"./esm"
],
"types": "./cjs/index.d.ts",
"main": "./cjs/index.js",
"module": "./esm/index.js",
"scripts": {
"clean": "rimraf --glob ./{cjs,esm}/!(package.json)",
"compile": "yarn clean && yarn compile:esm && yarn compile:cjs",
"compile:watch": "yarn clean && concurrently --kill-others \"yarn compile:esm --watch\" \"yarn compile:cjs --watch\"",
"compile:esm": "yarn tsc --project tsconfig.esm.json",
"compile:cjs": "yarn tsc --project tsconfig.cjs.json",
"prepack": "yarn compile",
"format": "prettier --write \"**/*.{js,jsx,json,ts,tsx}\"",
"lint": "eslint \"./src/**/*.ts?(x)\"",
"lint:fix": "eslint \"./src/**/*.ts?(x)\" --fix",
"typecheck": "tsc --noEmit",
"test": "cross-env NODE_ENV=test NODE_OPTIONS=--experimental-vm-modules jest --no-cache",
"test:all": "yarn lint:fix && yarn typecheck && yarn test --coverage"
},
"repository": {
"type": "git",
"url": "[email protected]:voodoocreation/react-test-wrapper.git"
},
"bugs": {
"url": "https://github.com/voodoocreation/react-test-wrapper/issues"
},
"homepage": "https://github.com/voodoocreation/react-test-wrapper#readme",
"peerDependencies": {
"@testing-library/react": ">= 16.1.0",
"@types/react": "^18.3.16",
"react": "^18.3.1",
"react-intl": ">= 7.0.4",
"react-redux": ">= 9.2.0",
"redux": ">= 5.0.1"
},
"peerDependenciesMeta": {
"react-intl": {
"optional": true
},
"react-redux": {
"optional": true
},
"redux": {
"optional": true
}
},
"devDependencies": {
"@reduxjs/toolkit": "^2.5.0",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.1.0",
"@testing-library/user-event": "^14.5.2",
"@types/jest": "^29.5.14",
"@types/react": "^18.3.16",
"@types/react-redux": "^7.1.34",
"cross-env": "^7.0.3",
"eslint": "^9.17.0",
"eslint-config-voodoocreation": "^7.0.1",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jest": "^28.9.0",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-prefer-arrow": "^1.2.3",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^5.1.0",
"jest": "^29.0.3",
"jest-environment-jsdom": "^29.0.3",
"npm-run-all": "^4.1.5",
"prettier": "^3.4.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-intl": "^7.0.4",
"react-redux": "^9.2.0",
"redux": "^5.0.1",
"rimraf": "^6.0.1",
"ts-jest": "^29.2.5",
"typescript": "^5.7.2"
},
"dependencies": {
"ts-deepmerge": "^7.0.2",
"utility-types": "^3.11.0"
},
"resolutions": {
"@types/react": "^18"
}
}