-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
79 lines (79 loc) · 2.13 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
{
"name": "next-server-pagination",
"version": "1.0.0",
"description": "Pagination in next.js server component using just one function",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
}
},
"files": [
"dist/",
"LICENSE",
"README.md"
],
"sideEffects": false,
"scripts": {
"clean": "rm -rf dist",
"build:types": "tsc --emitDeclarationOnly",
"build": "pnpm run build:types && rollup -c",
"lint": "eslint --ignore-path .gitignore --fix src",
"format": "prettier --write src"
},
"keywords": [
"nextjs",
"pagination",
"server side rendering",
"server components"
],
"author": "Filip Krawczyk <kontakt@fkrawczyk.pl>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/fmkra/next-server-pagination.git"
},
"dependencies": {
"@babel/runtime": "^7.17.9"
},
"devDependencies": {
"@babel/plugin-transform-runtime": "^7.21.0",
"@babel/preset-env": "^7.21.5",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.22.5",
"@rollup/plugin-alias": "^5.0.0",
"@rollup/plugin-babel": "^6.0.3",
"@rollup/plugin-commonjs": "^24.1.0",
"@rollup/plugin-node-resolve": "^15.0.2",
"@rollup/plugin-terser": "^0.4.0",
"@rollup/plugin-typescript": "^11.1.2",
"@types/node": "^20.4.5",
"@types/react": "^18.2.17",
"@types/react-dom": "^18.2.7",
"eslint": "^8.39.0",
"eslint-plugin-react": "^7.32.2",
"husky": "^8.0.3",
"lint-staged": "^13.2.2",
"prettier": "^2.8.8",
"rollup": "^3.23.0",
"rollup-plugin-analyzer": "^4.0.0",
"rollup-plugin-preserve-directives": "^0.2.0",
"typescript": "^5.1.6"
},
"peerDependencies": {
"next": "^13.4.12",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"engines": {
"node": ">=16.0.0 || >=18.0.0 || >=19.0.0 || >=20.0.0"
},
"lint-staged": {
"*.js": "npm run lint",
"*.{js,css,md*}": "npm run format"
}
}