-
Notifications
You must be signed in to change notification settings - Fork 322
/
package.json
102 lines (102 loc) · 2.79 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
{
"name": "react-infinite-scroll-component",
"version": "6.1.0",
"description": "An Infinite Scroll component in react.",
"source": "src/index.tsx",
"main": "dist/index.js",
"unpkg": "dist/index.umd.js",
"module": "dist/index.es.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "rimraf dist && rollup -c",
"prepublish": "yarn build",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook",
"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"
},
"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 <[email protected]>",
"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": ">=16.0.0"
},
"devDependencies": {
"@babel/core": "^7.6.2",
"@storybook/addon-actions": "^5.2.1",
"@storybook/addon-info": "^5.2.1",
"@storybook/addon-links": "^5.2.1",
"@storybook/addons": "^5.2.1",
"@storybook/react": "^5.2.1",
"@testing-library/react": "^9.2.0",
"@types/jest": "^24.0.18",
"@types/react": "^16.9.2",
"@types/react-dom": "^16.9.1",
"@types/storybook__react": "^4.0.2",
"@types/throttle-debounce": "^2.1.0",
"@typescript-eslint/eslint-plugin": "^2.3.2",
"@typescript-eslint/parser": "^2.3.2",
"awesome-typescript-loader": "^5.2.1",
"babel-loader": "^8.0.6",
"eslint": "^6.5.1",
"eslint-config-prettier": "^6.3.0",
"eslint-plugin-react": "^7.15.0",
"husky": ">=1",
"jest": "^24.9.0",
"lint-staged": ">=8",
"prettier": "1.18.2",
"react": "^16.10.1",
"react-docgen-typescript-loader": "^3.2.1",
"react-dom": "^16.10.1",
"rimraf": "^3.0.0",
"rollup": "^1.26.3",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-typescript2": "^0.25.2",
"ts-jest": "^24.1.0",
"typescript": "^3.7.2"
},
"dependencies": {
"throttle-debounce": "^2.1.0"
},
"husky": {
"hooks": {
"pre-commit": "yarn run ts-check && lint-staged"
}
},
"lint-staged": {
"*.{js,css,json,md}": [
"prettier --write",
"git add"
],
"*.js": [
"prettier --write",
"eslint --fix",
"git add"
],
"*.{ts,tsx}": [
"prettier --write",
"eslint --fix",
"git add"
]
}
}