forked from kentcdodds/testing-react-apps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
95 lines (95 loc) · 2.58 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
{
"name": "testing-react-applications-workshop",
"title": "Testing React Applications 🧐",
"description": "Learn how to test react components and applications",
"author": "Kent C. Dodds <me@kentcdodds.com> (https://kentcdodds.com/)",
"version": "1.0.0",
"private": true,
"license": "GPL-3.0",
"main": "index.js",
"engines": {
"node": "12 || 14 || 15 || 16",
"npm": ">=6"
},
"scripts": {
"build": "react-scripts build",
"start": "react-scripts start",
"test": "react-scripts test",
"test:coverage": "npm run test -- --watchAll=false",
"test:exercises": "npm run test -- testing.*exercises\\/ --onlyChanged",
"test:debug": "react-scripts --inspect-brk test --runInBand --no-cache",
"format": "prettier \"**/*.+(js|json|less|css|html|ts|tsx|md)\" --write",
"lint": "eslint .",
"validate": "npm-run-all --parallel lint test:coverage build",
"netlify": "npm run validate && cp -r coverage/lcov-report build/lcov-report",
"setup": "node setup"
},
"husky": {
"hooks": {
"pre-commit": "node ./scripts/pre-commit",
"pre-push": "node ./scripts/pre-push"
}
},
"keywords": [],
"dependencies": {
"@testing-library/react": "^11.2.7",
"@testing-library/react-hooks": "^7.0.0",
"@testing-library/user-event": "^13.1.9",
"import-all.macro": "^3.1.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-error-boundary": "^3.1.3",
"react-router": "^6.0.0-alpha.2",
"react-router-dom": "^6.0.0-alpha.2",
"react-test-renderer": "^17.0.2",
"react-use-geolocation": "^0.1.1"
},
"devDependencies": {
"@jackfranklin/test-data-bot": "^1.3.0",
"@testing-library/jest-dom": "^5.13.0",
"@types/react": "^17.0.11",
"@types/react-dom": "^17.0.7",
"eslint": "^7.28.0",
"faker": "^5.5.3",
"husky": "^4.3.8",
"msw": "^0.29.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.3.1",
"react-scripts": "^4.0.3",
"typescript": "^4.3.2"
},
"eslintConfig": {
"extends": [
"react-app"
]
},
"babel": {
"presets": [
"react-app"
]
},
"eslintIgnore": [
"coverage",
"node_modules",
"build",
"scripts/workshop-setup.js",
"other"
],
"repository": {
"type": "git",
"url": "git+https://github.com/kentcdodds/testing-react-app.git"
},
"bugs": {
"url": "https://github.com/kentcdodds/testing-react-app/issues"
},
"homepage": "https://testing-react-app.netlify.app",
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"msw": {
"workerDirectory": "public"
}
}