-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
64 lines (64 loc) · 1.84 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
{
"name": "react-dynamic-import",
"version": "1.1.5",
"description": "Dynamically load and render any react module(Component or an HOC) using dynamic import 🎉",
"main": "dist/react-dynamic-import.js",
"module": "dist/react-dynamic-import.es.js",
"browser": "dist/react-dynamic-import.umd.js",
"sideEffects": false,
"repository": {
"type": "git",
"url": "https://github.com/ganapativs/react-dynamic-import.git"
},
"author": "Ganapati V S <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/ganapativs/react-dynamic-import/issues"
},
"homepage": "https://github.com/ganapativs/react-dynamic-import",
"keywords": [
"react component",
"react HOC",
"dynamic-import",
"webpack"
],
"scripts": {
"prebuild": "rm -rf dist && mkdir -p dist",
"build": "NODE_ENV=production rollup -c",
"lint": "eslint ./src --ext .js",
"jsdoc": "mkdir -p docs && jsdoc2md src/index.js > docs/react-dynamic-import.md",
"prepublishOnly": "yarn jsdoc && yarn build",
"size": "size-limit"
},
"husky": {
"hooks": {
"pre-commit": "yarn build && yarn jsdoc && git add dist docs"
}
},
"size-limit": [
{
"limit": "1.5 KB",
"path": "dist/react-dynamic-import.js"
}
],
"devDependencies": {
"@ganapativs/babel-preset-react": "^0.0.5",
"@ganapativs/eslint-config-react": "^0.1.0",
"@size-limit/preset-small-lib": "^4.9.1",
"husky": "^4.3.6",
"jsdoc-to-markdown": "^6.0.1",
"rollup": "^2.35.1",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-resolve": "^5.2.0",
"rollup-plugin-peer-deps-external": "^2.2.4",
"rollup-plugin-terser": "^7.0.2",
"size-limit": "^4.9.1"
},
"peerDependencies": {
"react": "^17.0.1"
},
"dependencies": {
"react": "^17.0.1"
}
}