forked from molefrog/wouter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
93 lines (93 loc) · 2 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
{
"name": "wouter",
"version": "2.1.1",
"description": "A minimalistic routing for React. Nothing extra, just HOOKS.",
"keywords": [
"react",
"preact",
"router",
"tiny",
"routing",
"hooks"
],
"files": [
"*.js",
"*.d.ts",
"preact/"
],
"scripts": {
"test": "jest --verbose --coverage",
"size": "size-limit",
"prepublishOnly": "copyfiles index.js matcher.{js,d.ts} use-location.{js,d.ts} static-location.{js,d.ts} preact/"
},
"author": "Alexey Taktarov <[email protected]>",
"license": "ISC",
"peerDependencies": {
"react": "^16.8.0"
},
"repository": "molefrog/wouter",
"size-limit": [
{
"path": "index.js",
"limit": "1151 B"
},
{
"path": "use-location.js",
"limit": "247 B"
}
],
"babel": {
"presets": [
"@babel/preset-env"
],
"plugins": [
"@babel/plugin-transform-react-jsx"
]
},
"eslintConfig": {
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"env": {
"browser": true,
"node": true,
"jest": true
},
"rules": {
"no-unused-vars": [
"error",
{
"varsIgnorePattern": "^_",
"argsIgnorePattern": "^_"
}
],
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn"
},
"plugins": [
"react-hooks"
]
},
"devDependencies": {
"@babel/core": "^7.4.3",
"@babel/plugin-transform-react-jsx": "^7.3.0",
"@babel/preset-env": "^7.4.3",
"copyfiles": "^2.1.0",
"eslint": "^5.16.0",
"eslint-plugin-react-hooks": "^1.6.0",
"jest": "^24.7.1",
"preact": "^10.0.0-beta.1",
"preact-testing-library": "^0.4.0",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-hooks-testing-library": "^0.5.0",
"react-test-renderer": "^16.8.6",
"react-testing-library": "^7.0.0",
"size-limit": "^1.0.1"
}
}