-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
26 lines (26 loc) · 795 Bytes
/
package.json
File metadata and controls
26 lines (26 loc) · 795 Bytes
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
{
"name": "react-test-tanstack-mocha",
"description": "Example project to test tanstack-router in react-testing-library in the mocha environment ",
"license": "MIT",
"private": true,
"type": "commonjs",
"scripts": {
"test:mocha": "mocha --require global-jsdom/register \"src/**/*.spec.js\"",
"test:mocha-fixed": "NODE_ENV=test mocha --require global-jsdom/register \"src/**/*.spec.js\""
},
"dependencies": {
"@tanstack/react-router": "1.163.2",
"react": "19.2.4",
"react-dom": "19.2.4"
},
"devDependencies": {
"@testing-library/dom": "^10.4.1",
"@testing-library/react": "16.3.2",
"@testing-library/user-event": "14.6.1",
"chai": "^4",
"global-jsdom": "26.0.0",
"jsdom": "26.1.0",
"mocha": "10.4.0",
"tsx": "^4.21.0"
}
}