-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
112 lines (112 loc) · 3.2 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
103
104
105
106
107
108
109
110
111
112
{
"name": "react-lazy",
"description": "Universally rendering, lightweight and performant components for lazy loading with the noscript technique",
"version": "1.1.0",
"author": "Vesa Piittinen <[email protected]>",
"bugs": {
"url": "https://github.com/merri/react-lazy/issues"
},
"devDependencies": {
"@researchgate/babel-preset-rg": "^1.0.1",
"@researchgate/eslint-config-rg-react": "^2.0.0",
"@storybook/addon-actions": "^3.2.16",
"@storybook/addon-knobs": "^3.4.4",
"@storybook/addon-options": "^3.2.16",
"@storybook/react": "^3.2.16",
"babel-cli": "^6.24.1",
"babel-eslint": "^8.0.2",
"babel-jest": "^21.0.0",
"babel-polyfill": "^6.26.0",
"conventional-github-releaser": "^2.0.0",
"cross-env": "^5.1.1",
"css-loader": "^0.28.4",
"eslint": "^4.11.0",
"eslint-config-prettier": "^2.8.0",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-prettier": "^2.3.0",
"eslint-plugin-react": "^7.5.1",
"husky": "^0.14.3",
"jest": "^21.0.0",
"lint-staged": "^6.0.0",
"prettier": "^1.8.2",
"raf": "^3.4.0",
"raw-loader": "^1.0.0-beta.0",
"react": "^16.4.0",
"react-dom": "^16.4.0",
"react-test-renderer": "^16.4.0",
"rimraf": "^2.6.1",
"standard-version": "^4.2.0",
"storybook-readme": "^3.1.1",
"style-loader": "^0.19.0",
"validate-commit-msg": "^2.14.0"
},
"files": [
"lib"
],
"homepage": "https://github.com/merri/react-lazy#readme",
"keywords": [
"react",
"react-component",
"react-lazy-load",
"lazy",
"lazy-load",
"lazyload",
"lazy loading",
"load",
"isomorphic",
"render",
"universal",
"performance",
"invisible",
"viewport",
"visible"
],
"license": "MIT",
"lint-staged": {
"{src,docs/docs}/**/*.js": [
"eslint --fix",
"git add"
]
},
"main": "lib/js/index.js",
"module": "lib/es/index.js",
"peerDependencies": {
"prop-types": "^15.6.0",
"react": ">=16.4",
"react-dom": ">=16.4"
},
"repository": {
"type": "git",
"url": "https://github.com/merri/react-lazy.git"
},
"jest": {
"rootDir": "src",
"testMatch": [
"**/__tests__/**/*.spec.js"
],
"setupFiles": [
"raf/polyfill"
]
},
"scripts": {
"build": "yarn build:js && yarn build:es",
"build:js": "cross-env BABEL_ENV=production BABEL_OUTPUT=cjs babel src --out-dir lib/js --ignore __tests__ --copy-files",
"build:es": "cross-env BABEL_ENV=production BABEL_OUTPUT=esm babel src --out-dir lib/es --ignore __tests__ --copy-files",
"build:storybook": "build-storybook --output-dir docs",
"clear": "rimraf ./lib",
"commitmsg": "validate-commit-msg",
"coverage": "yarn test -- --coverage",
"create-github-release": "conventional-github-releaser -p angular",
"format": "eslint --fix {src,docs/docs}/**/*.js",
"lint": "eslint {src,docs/docs}/.",
"precommit": "yarn lint-staged && yarn test",
"prepare": "yarn clear && yarn build",
"prepublishOnly": "yarn test",
"release": "standard-version",
"storybook": "start-storybook -p 9001 -c .storybook",
"test": "jest"
},
"dependencies": {
"@researchgate/react-intersection-observer": "^0.7.3"
}
}