-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
65 lines (65 loc) · 1.81 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
{
"name": "react-delayload",
"description": "A library offering delay-loading of images for React, same as Lazyload for jQuery. Moreover, offering a compatible function using plain javascript for manipulating HTML content directly.",
"url": "https://github.com/nickeljew/react-delayload",
"homepage": "https://github.com/nickeljew/react-delayload",
"keywords": [
"react",
"react-component",
"load",
"delay",
"lazy",
"lazyload",
"delayload"
],
"author": "Nickel Jianhui Zhu <[email protected]>",
"version": "0.2.1",
"license": "MIT",
"private": false,
"main": "lib/delayload.js",
"scripts": {
"_install": "babel ./src --out-dir ./lib",
"_prebuild": "rm -rf lib && rm example/res/scripts/main*.js",
"_build": "grunt babel && grunt webpack",
"_prepublish": "npm run build",
"_pretest": "node ./example/server.js"
},
"babel": {
"plugins": [
"@babel/plugin-transform-react-jsx"
],
"presets": [
"@babel/preset-env",
"@babel/preset-react"
]
},
"dependencies": {
"lodash": "^4.17.21"
},
"peerDependencies": {
"prop-types": "^15.6.0",
"react": "^17.0.2",
"react-dom": "^17.0.2"
},
"devDependencies": {
"@babel/core": "^7.14.0",
"@babel/plugin-transform-react-jsx": "^7.13.12",
"@babel/preset-env": "^7.14.1",
"@babel/preset-react": "^7.13.13",
"babel-loader": "^8.2.2",
"es6-docready": "^1.0.0",
"grunt": "^1.4.0",
"grunt-babel": "^8.0.0",
"grunt-contrib-clean": "^2.0.0",
"grunt-contrib-concat": "^1.0.1",
"grunt-contrib-uglify": "^5.0.1",
"grunt-contrib-watch": "^1.1.0",
"grunt-webpack": "^4.0.3",
"webpack": "^5.36.2",
"webpack-dev-server": "^3.11.2"
},
"repository": {
"type": "git",
"url": "https://github.com/nickeljew/react-delayload.git"
}
}