-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
75 lines (75 loc) · 1.84 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
{
"name": "@flying-studio/use-pagination",
"type": "module",
"version": "1.1.1",
"description": "分页请求库",
"author": {
"name": "FlyingStudio",
"email": "[email protected]"
},
"license": "MIT",
"repository": "https://github.com/cumtflyingstudio/usePagination.git",
"bugs": {
"url": "https://github.com/cumtflyingstudio/usePagination/issues"
},
"keywords": [
"react",
"usePagination",
"vue"
],
"main": "dist/react/usePagination.js",
"types": "dist/react/usePagination.d.ts",
"files": [
"dist",
"package.json",
"README.md",
"LICENSE"
],
"scripts": {
"build": "tsc",
"release": "nr prerelease && npx tsc && npm publish",
"prerelease": "nr lint:fix && nr test:once",
"coverage": "vitest run --coverage",
"test": "vitest",
"test:once": "vitest run",
"test:ui": "vitest --ui",
"lint": "eslint .",
"lint:fix": "eslint src/**/*.* --fix"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"devDependencies": {
"@antfu/eslint-config": "^0.25.1",
"@antfu/ni": "^0.16.3",
"@testing-library/react-hooks": "^8.0.0",
"@types/react": "^18.0.14",
"@types/react-test-renderer": "^18.0.0",
"@umijs/fabric": "^2.12.2",
"@vitejs/plugin-react": "^1.3.2",
"@vitest/ui": "^0.15.1",
"eslint": "^8.18.0",
"happy-dom": "^6.0.2",
"jsdom": "^19.0.0",
"lint-staged": "13.0.3",
"react": "^18.1.0",
"react-dom": "^18.1.0",
"react-test-renderer": "^18.2.0",
"simple-git-hooks": "^2.8.0",
"typescript": "^4.7.4",
"vitest": "^0.18.1",
"vue": "^3.2.33"
},
"simple-git-hooks": {
"pre-commit": "npx lint-staged"
},
"lint-staged": {
"*.{js,ts,tsx,vue,md}": [
"eslint --fix"
]
}
}