-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
88 lines (88 loc) · 1.83 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": "next-swr",
"description": "Revalidate stale data in Next.js",
"version": "0.1.1",
"license": "MIT",
"author": "aprendendofelipe",
"repository": "aprendendofelipe/next-swr",
"keywords": [
"cache",
"fetch",
"next",
"request",
"revalidate",
"swr"
],
"main": "dist/index.js",
"module": "dist/next-swr.esm.js",
"typings": "dist/index.d.ts",
"files": [
"dist",
"src"
],
"engines": {
"node": ">=12"
},
"scripts": {
"analyze": "size-limit --why",
"build": "dts build",
"commit": "cz",
"lint": "dts lint",
"lint:fix": "dts lint --fix",
"lint:prettier": "prettier --check .",
"pre-commit": "lint-staged",
"prepare": "dts build",
"size": "size-limit",
"start": "dts watch",
"test": "dts test --passWithNoTests"
},
"lint-staged": {
"*.ts": [
"npm run lint:fix"
]
},
"peerDependencies": {
"next": ">=12",
"react": ">=16"
},
"husky": {
"hooks": {
"pre-commit": "dts lint"
}
},
"prettier": {
"endOfLine": "auto",
"printWidth": 120,
"semi": true,
"singleQuote": true,
"trailingComma": "es5"
},
"size-limit": [
{
"path": "dist/next-swr.cjs.production.min.js",
"limit": "10 KB"
},
{
"path": "dist/next-swr.esm.js",
"limit": "10 KB"
}
],
"devDependencies": {
"@commitlint/cli": "17.6.1",
"@commitlint/config-conventional": "17.6.1",
"@size-limit/preset-small-lib": "8.2.4",
"@tsconfig/recommended": "1.0.2",
"@tsconfig/vite-react": "1.0.1",
"@types/react": "18.0.35",
"@types/react-dom": "18.0.11",
"dts-cli": "2.0.0",
"husky": "8.0.3",
"lint-staged": "13.2.1",
"next": "13.2.4",
"react": "18.2.0",
"react-dom": "18.2.0",
"size-limit": "8.2.4",
"tslib": "2.5.0",
"typescript": "5.0.4"
}
}