-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
50 lines (50 loc) · 1.42 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
{
"name": "use-pull-to-refresh",
"version": "2.4.1",
"description": "A simple React custom hook for pull-to-refresh function that support NextJs",
"repository": {
"url": "https://github.com/Senbonzakura1234/use-pull-to-refresh.git",
"type": "git"
},
"scripts": {
"build": "tsup src/index.ts --format cjs,esm --dts",
"pre-commit": "npx changeset",
"release": "npm run build && npx changeset version && npx changeset publish",
"lint": "tsc && npm run lint:fix",
"lint:fix": "eslint --ext .js,.jsx,.ts,.tsx,.json . --fix"
},
"keywords": [
"react",
"typescript",
"ssr",
"nextjs",
"custom-hook"
],
"author": "Senbonzakura1234 <[email protected]>",
"license": "MIT",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"devDependencies": {
"@changesets/cli": "^2.27.9",
"@total-typescript/ts-reset": "^0.6.0",
"@types/node": "^20.17.6",
"@types/react": "^18.3.12",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-define-config": "^2.1.0",
"eslint-plugin-json": "^4.0.1",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^5.0.0",
"eslint-plugin-unused-imports": "^3.2.0",
"prettier": "^3.3.3",
"tsup": "^8.3.5",
"typescript": "5.5.4"
},
"peerDependencies": {
"react": "18.x || 19.x"
}
}