Permalink
Fetching contributors…
Cannot retrieve contributors at this time
82 lines (81 sloc) 2.23 KB
{
"name": "react-container-dimensions",
"version": "1.3.0",
"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",
"lint:fix": "eslint --fix ./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",
"eslint-staged": "eslint-staged",
"deps": "npm-check -s",
"deps:update": "npm-check -u",
"release": "npmpub"
},
"pre-commit": [
"eslint-staged"
],
"repository": {
"type": "git",
"url": "git+https://github.com/okonet/react-container-dimensions.git"
},
"files": [
"lib"
],
"directories": {
"lib": "lib"
},
"keywords": [
"resize",
"parent",
"container",
"element",
"react",
"detector",
"detect",
"size",
"dimensions"
],
"author": "Andrey Okonetchnikov <andrey@okonet.ru>",
"license": "ISC",
"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.5",
"invariant": "^2.2.1"
},
"peerDependencies": {
"react": "^0.14.0 || ^15.0.0",
"react-dom": "^0.14.0 || ^15.0.0"
},
"devDependencies": {
"babel": "^6.5.2",
"babel-cli": "^6.6.5",
"babel-preset-es2015": "^6.6.0",
"babel-preset-react": "^6.5.0",
"babel-preset-stage-1": "^6.5.0",
"chai": "^3.5.0",
"chai-enzyme": "^0.4.1",
"enzyme": "^2.2.0",
"eslint": "^2.5.3",
"eslint-config-wildbit": "^2.0.0",
"eslint-plugin-import": "^1.4.0",
"jsdom": "^8.4.0",
"lint-staged": "^0.1.1",
"mocha": "^2.4.5",
"npm-check": "^5.2.2",
"npmpub": "^3.1.0",
"pre-commit": "^1.1.2",
"react": "^0.14.8",
"react-addons-test-utils": "^0.14.8",
"react-dom": "^0.14.8",
"rimraf": "^2.5.3",
"sinon": "^1.17.3"
}
}