forked from kentcdodds/testing-react-apps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
89 lines (89 loc) · 2.45 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
{
"name": "testing-react-applications-workshop",
"private": true,
"version": "1.0.0",
"title": "Testing React Applications 🧐",
"description": "Learn how to test react components and applications",
"main": "index.js",
"engines": {
"node": "^10.13 || 12 || 14",
"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": "node --inspect-brk ./node_modules/jest/bin/jest.js --runInBand --watch",
"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": [],
"author": "Kent C. Dodds <[email protected]> (https://kentcdodds.com/)",
"license": "GPL-3.0",
"dependencies": {
"@testing-library/react": "^11.1.0",
"@testing-library/react-hooks": "^3.4.2",
"@testing-library/user-event": "^12.1.10",
"import-all.macro": "^3.1.0",
"react": "^17.0.1",
"react-dom": "^17.0.1",
"react-error-boundary": "^3.0.2",
"react-router": "^6.0.0-alpha.2",
"react-router-dom": "^6.0.0-alpha.2",
"react-test-renderer": "^17.0.1",
"react-use-geolocation": "^0.1.1"
},
"devDependencies": {
"@jackfranklin/test-data-bot": "^1.3.0",
"@testing-library/jest-dom": "^5.11.5",
"eslint": "^7.12.1",
"faker": "^5.1.0",
"husky": "^4.3.0",
"msw": "^0.21.3",
"npm-run-all": "^4.1.5",
"prettier": "^2.1.2",
"react-scripts": "^4.0.0"
},
"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"
]
}