forked from vercel/swr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
71 lines (71 loc) · 1.66 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
{
"name": "swr",
"version": "0.1.9",
"description": "React Hooks library for remote data fetching",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist/**"
],
"repository": "zeit/swr",
"homepage": "https://swr.now.sh",
"license": "MIT",
"scripts": {
"dev": "now dev",
"build": "tsc",
"watch": "tsc --watch",
"types:check": "tsc --noEmit",
"format": "prettier --write '{src,test,examples}/**/*.{ts,tsx}'",
"lint": "eslint '{src,test,examples}/**/*.{ts,tsx}'",
"lint:fix": "eslint '{src,test,examples}/**/*.{ts,tsx}' --fix",
"test": "jest"
},
"husky": {
"hooks": {
"pre-commit": "npm run types:check && lint-staged"
}
},
"lint-staged": {
"*.{ts,tsx}": [
"npm run lint:fix",
"npm run format",
"git add"
]
},
"devDependencies": {
"@testing-library/react": "9.3.0",
"@types/jest": "24.0.20",
"@types/lodash": "4.14.145",
"@types/node": "11.12.0",
"@types/react": "16.9.11",
"@types/react-dom": "16.9.3",
"@typescript-eslint/eslint-plugin": "2.5.0",
"@typescript-eslint/parser": "2.5.0",
"eslint": "6.6.0",
"eslint-config-prettier": "6.5.0",
"husky": "2.4.1",
"jest": "24.9.0",
"lint-staged": "8.2.1",
"prettier": "1.18.2",
"react": "16.11.0",
"react-dom": "16.11.0",
"ts-jest": "24.1.0",
"typescript": "3.6.4"
},
"dependencies": {
"fast-deep-equal": "2.0.1",
"lodash": "4.17.15",
"ms": "2.1.2"
},
"peerDependencies": {
"react": "16.11.0"
},
"peerDependenciesMeta": {
"react-dom": {
"optional": true
},
"react-native": {
"optional": true
}
}
}