-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
71 lines (71 loc) · 2.03 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
{
"name": "react-lazily-render",
"version": "1.2.0",
"description": "Lazily render react components",
"keywords": [
"react",
"lazy-load",
"react-lazy-load",
"lazy",
"load",
"delay",
"expensive",
"performance"
],
"main": "dist/es5/index.js",
"jsnext:main": "dist/esnext/index.js",
"module": "dist/esnext/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist/index.d.ts",
"dist/es5",
"dist/esnext"
],
"repository": "jameslnewell/react-lazily-render",
"dependencies": {
"scrollparent": "^2.0.1"
},
"peerDependencies": {
"react": "^16.1.1"
},
"devDependencies": {
"@babel/cli": "^7.4.4",
"@babel/core": "^7.4.5",
"babel-jest": "^24.8.0",
"babel-loader": "^8.0.6",
"@babel/preset-env": "^7.4.5",
"@babel/preset-flow": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.4.4",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.14.0",
"flow-bin": "^0.59.0",
"gh-pages": "^1.1.0",
"html-webpack-plugin": "^3.2.0",
"jest": "^24.8.0",
"jest-enzyme": "^7.0.2",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"react-test-renderer": "^16.8.6",
"webpack": "^4.33.0",
"webpack-cli": "^3.3.4",
"webpack-dev-server": "^3.7.1"
},
"scripts": {
"clean": "rm -rf ./dist",
"flow": "flow",
"build:es5": "BABEL_ENV=es5 babel ./src -d ./dist/es5 --ignore .test.js",
"build:esnext": "BABEL_ENV=esnext babel ./src -d ./dist/esnext --ignore .test.js",
"build:types": "cp ./src/index.d.ts ./dist/index.d.ts",
"build:example": "BABEL_ENV=es5 webpack",
"build": "yarn run build:es5 && yarn run build:esnext && yarn run build:types && yarn run build:example",
"deploy": "gh-pages -d ./dist/example",
"dev": "BABEL_ENV=es5 webpack-dev-server",
"test": "jest",
"test:watch": "jest --watch",
"ci": "yarn run clean && yarn run test && yarn run build",
"prepublishOnly": "yarn run ci",
"postpublish": "yarn run deploy"
},
"license": "MIT"
}