-
Notifications
You must be signed in to change notification settings - Fork 333
Expand file tree
/
Copy pathpackage.json
More file actions
112 lines (112 loc) · 2.98 KB
/
package.json
File metadata and controls
112 lines (112 loc) · 2.98 KB
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
"name": "react-infinite-scroll-component",
"version": "7.1.0",
"description": "An Infinite Scroll component in react.",
"engines": {
"node": ">=20.0.0"
},
"source": "src/index.tsx",
"main": "dist/index.js",
"module": "dist/index.es.js",
"unpkg": "dist/index.umd.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.es.js",
"require": "./dist/index.js",
"types": "./dist/index.d.ts"
}
},
"scripts": {
"build": "rimraf dist && rollup -c",
"prepublish": "yarn build",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"codecov": "codecov",
"lint": "eslint 'src/**/*.{ts,tsx,js,jsx}'",
"lint:fix": "yarn lint --fix",
"prettier:check": "prettier --check 'src/**/*'",
"prettify": "prettier --write 'src/**/*'",
"ts-check": "tsc -p tsconfig.json --noEmit",
"test": "jest",
"size": "size-limit",
"prepare": "husky"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ankeetmaini/react-infinite-scroll-component.git"
},
"keywords": [
"react",
"infinite-scroll",
"infinite",
"scroll",
"component",
"react-component"
],
"author": "Ankeet Maini <ankeet.maini@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/ankeetmaini/react-infinite-scroll-component/issues"
},
"homepage": "https://github.com/ankeetmaini/react-infinite-scroll-component#readme",
"peerDependencies": {
"react": ">=17.0.0",
"react-dom": ">=17.0.0"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@babel/preset-env": "^7.28.5",
"@babel/preset-react": "^7.28.5",
"@babel/preset-typescript": "^7.28.5",
"@size-limit/preset-small-lib": "^12.0.1",
"@storybook/addon-essentials": "^7.6.0",
"@storybook/react": "^7.6.0",
"@storybook/react-webpack5": "^7.6.0",
"@rollup/plugin-node-resolve": "^15.0.0",
"@rollup/plugin-typescript": "^11.0.0",
"@testing-library/react": "^12.1.5",
"@types/jest": "^29.5.14",
"@types/react": "^17.0.0",
"@types/react-dom": "^17.0.0",
"@typescript-eslint/eslint-plugin": "^8.50.1",
"@typescript-eslint/parser": "^8.50.1",
"babel-loader": "^8.0.6",
"eslint": "^8",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-react": "^7.37.5",
"husky": "^9.0.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lint-staged": "^15.0.0",
"prettier": "^2.8.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"rimraf": "^3.0.0",
"rollup": "^4.0.0",
"size-limit": "^12.0.1",
"storybook": "^7.6.0",
"ts-jest": "^29.4.6",
"typescript": "^5.4.0"
},
"dependencies": {},
"size-limit": [
{
"path": "dist/index.es.js",
"limit": "6 kB"
},
{
"path": "dist/index.js",
"limit": "6 kB"
}
],
"lint-staged": {
"*.{js,css,json,md}": [
"prettier --write"
],
"*.{ts,tsx}": [
"prettier --write",
"eslint --fix"
]
}
}