This repository has been archived by the owner on May 15, 2024. It is now read-only.
forked from epicweb-dev/react-hooks
-
Notifications
You must be signed in to change notification settings - Fork 36
/
package.json
88 lines (88 loc) · 2.17 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
{
"name": "react-hooks",
"title": "React Hooks 🎣",
"description": "The best resources for you to learn React Hooks",
"author": "Kent C. Dodds <[email protected]> (https://kentcdodds.com/)",
"version": "1.0.0",
"private": true,
"keywords": [],
"homepage": "https://react-hooks.netlify.app/",
"license": "GPL-3.0-only",
"main": "src/index.js",
"engines": {
"node": "12 || 14 || 15 || 16",
"npm": ">=6"
},
"dependencies": {
"@kentcdodds/react-workshop-app": "^4.3.0",
"@testing-library/react": "^11.2.6",
"@testing-library/user-event": "^13.1.9",
"codegen.macro": "^4.1.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-error-boundary": "^3.1.3",
"vanilla-tilt": "^1.7.0"
},
"devDependencies": {
"@types/react": "^17.0.5",
"@types/react-dom": "^17.0.4",
"husky": "^4.3.8",
"npm-run-all": "^4.1.5",
"prettier": "^2.3.0",
"react-scripts": "^4.0.3",
"typescript": "^4.2.4"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"test:coverage": "npm run test -- --watchAll=false",
"test:exercises": "npm run test -- testing.*exercises\\/ --onlyChanged",
"setup": "node setup",
"lint": "eslint .",
"format": "prettier --write \"./src\"",
"validate": "npm-run-all --parallel build test:coverage lint"
},
"husky": {
"hooks": {
"pre-commit": "node ./scripts/pre-commit",
"pre-push": "node ./scripts/pre-push"
}
},
"jest": {
"collectCoverageFrom": [
"src/final/**/*.js"
]
},
"eslintConfig": {
"extends": "react-app"
},
"babel": {
"presets": [
"babel-preset-react-app"
]
},
"browserslist": {
"development": [
"last 2 chrome versions",
"last 2 firefox versions",
"last 2 edge versions"
],
"production": [
">1%",
"last 4 versions",
"Firefox ESR",
"not ie < 11"
]
},
"repository": {
"type": "git",
"url": "git+https://github.com/kentcdodds/react-hooks.git"
},
"bugs": {
"url": "https://github.com/kentcdodds/react-hooks/issues"
},
"msw": {
"workerDirectory": "public"
}
}