This repository has been archived by the owner on Oct 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
76 lines (76 loc) · 1.89 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
{
"name": "use-lazy-loading",
"version": "1.0.1",
"description": "A simple React hook for lazy-loading",
"keywords": [
"hook",
"hooks",
"lazy-load",
"lazy-loading",
"react"
],
"homepage": "https://github.com/magicink/use-lazy-loading#readme",
"bugs": {
"url": "https://github.com/magicink/use-lazy-loading/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/magicink/use-lazy-loading.git"
},
"license": "ISC",
"author": {
"name": "Brandon Tom",
"email": "[email protected]"
},
"main": "dist/bundle.js",
"files": [
"dist/bundle.js"
],
"scripts": {
"prebuild": "rimraf dist/",
"build": "rollup --config rollup.config.js",
"format": "sort-package-json && prettier --write \"./**/*.{js,jsx,md}\"",
"prepare": "npm run build"
},
"prettier": "@brandontom/prettier",
"dependencies": {},
"devDependencies": {
"@babel/core": "^7.18.6",
"@babel/plugin-transform-runtime": "^7.18.6",
"@babel/preset-env": "^7.18.6",
"@babel/preset-react": "^7.18.6",
"@babel/runtime": "^7.18.6",
"@brandontom/prettier": "^1.0.16",
"@rollup/plugin-babel": "^5.3.1",
"@rollup/plugin-node-resolve": "^13.3.0",
"@testing-library/react": "^13.3.0",
"@testing-library/react-hooks": "^8.0.1",
"prettier": "^2.7.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-test-renderer": "^18.2.0",
"rimraf": "^3.0.2",
"rollup": "^2.75.7",
"rollup-plugin-terser": "^7.0.2",
"sort-package-json": "^1.57.0"
},
"standard": {
"globals": [
"afterAll",
"afterEach",
"beforeAll",
"beforeEach",
"describe",
"expect",
"fetch",
"it",
"jest",
"IntersectionObserver"
],
"parser": "babel-eslint",
"rules": {
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn"
}
}
}