-
Notifications
You must be signed in to change notification settings - Fork 26
/
package.json
88 lines (88 loc) · 2.44 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
{
"name": "react-container-dimensions",
"version": "0.0.0-development",
"description": "Wrapper component that detects element resize and passes new dimensions down the tree. Based on [element-resize-detector](https://github.com/wnr/element-resize-detector)",
"main": "lib/index.js",
"scripts": {
"build": "babel --presets=react,es2015,stage-1 src --out-dir lib",
"clean": "rimraf lib",
"lint": "eslint ./src",
"prepublish": "npm run lint && npm run clean && npm run build",
"test": "mocha --compilers js:babel-core/register --require testSetup.js --recursive ./tests/*.js",
"test:watch": "npm test -- --watch",
"lint-staged": "lint-staged",
"deps": "npm-check -s",
"deps:update": "npm-check -u",
"release": "npmpub",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"lint-staged": {
"*.js": [
"eslint --fix",
"git add"
]
},
"pre-commit": "lint-staged",
"repository": {
"type": "git",
"url": "https://github.com/okonet/react-container-dimensions.git"
},
"files": [
"lib",
"index.d.ts"
],
"directories": {
"lib": "lib"
},
"keywords": [
"resize",
"parent",
"container",
"element",
"react",
"detector",
"detect",
"size",
"dimensions"
],
"author": "Andrey Okonetchnikov <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/okonet/react-container-dimensions/issues"
},
"homepage": "https://github.com/okonet/react-container-dimensions#readme",
"dependencies": {
"element-resize-detector": "^1.1.10",
"invariant": "^2.2.2",
"prop-types": "^15.5.8"
},
"peerDependencies": {
"react": "^0.14.0 || ^15.0.0 || 16.x",
"react-dom": "^0.14.0 || ^15.0.0 || 16.x"
},
"devDependencies": {
"babel": "^6.23.0",
"babel-cli": "^6.23.0",
"babel-preset-es2015": "^6.22.0",
"babel-preset-react": "^6.23.0",
"babel-preset-stage-1": "^6.22.0",
"chai": "^3.5.0",
"chai-enzyme": "^0.6.1",
"enzyme": "^2.7.1",
"eslint": "^3.11.0",
"eslint-config-okonet": "^1.2.3",
"jsdom": "^9.11.0",
"lint-staged": "^4.0.0",
"mocha": "^3.2.0",
"npm-check": "^5.2.2",
"npmpub": "^3.1.0",
"pre-commit": "^1.1.2",
"prettier": "^1.5.3",
"react": "^15.4.1",
"react-addons-test-utils": "^15.4.1",
"react-dom": "^15.4.1",
"rimraf": "^2.5.3",
"semantic-release": "^6.3.2",
"sinon": "^2.2.0"
}
}