-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
70 lines (70 loc) · 1.75 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
{
"name": "react-sizer",
"version": "1.0.6",
"description": "Simple React HOC to measure the size of a component",
"keywords": [
"React",
"size",
"with",
"height",
"HOC"
],
"files": [
"src",
"lib",
"es"
],
"author": "jharris4",
"license": "MIT",
"bugs": {
"url": "https://github.com/jharris4/react-sizer/issues"
},
"homepage": "https://github.com/jharris4/react-sizer#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/jharris4/react-sizer.git"
},
"main": "lib/index.js",
"module": "es/index.js",
"peerDependencies": {
"react": "^0.14.0 || >=15",
"react-dom": "^0.14.0 || >=15"
},
"dependencies": {
"hoist-non-react-statics": "^3.3.0",
"raf": "^3.4.1"
},
"resolutions": {
"ajv": "6.8.1"
},
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.2.2",
"@babel/plugin-proposal-object-rest-spread": "^7.3.2",
"@babel/plugin-transform-react-jsx": "^7.3.0",
"@babel/preset-env": "^7.3.1",
"babel-eslint": "^10.0.1",
"babel-loader": "^8.0.5",
"cross-env": "^5.2.0",
"eslint": "^5.13.0",
"eslint-plugin-import": "^2.16.0",
"expect": "1.20.2",
"karma": "^4.0.0",
"karma-chrome-launcher": "^2.2.0",
"karma-mocha": "^1.3.0",
"karma-mocha-reporter": "^2.2.5",
"karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "^3.0.5",
"mocha": "^5.2.0",
"react": "^16.8.1",
"react-dom": "^16.8.1",
"rimraf": "^2.6.3",
"webpack": "^4.29.3"
},
"scripts": {
"clean": "rimraf lib",
"build": "npm run clean && cross-env BABEL_ENV=lib babel src/ --out-dir lib && cross-env BABEL_ENV=es babel src/ --out-dir es",
"lint": "eslint src",
"test": "npm run lint && karma start"
}
}