UNPKG

react-measured-dom

Version:
108 lines (107 loc) 3.4 kB
{ "name": "react-measured-dom", "version": "1.1.1", "description": "Width & height providers for React", "main": "dist/index.cjs.js", "module": "dist/index.es.js", "types": "dist/index.es.d.ts", "files": [ "dist" ], "repository": { "type": "git", "url": "git+https://github.com/janjakubnanista/react-measured.git", "directory": "packages/dom" }, "author": "Jan Jakub Nanista <jan.jakub.nanista@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/janjakubnanista/react-measured/issues" }, "homepage": "https://github.com/janjakubnanista/react-measured#readme", "keywords": [ "React", "React DOM", "DOM", "Dimensions", "Width", "Height", "Size" ], "dependencies": { "react-measured": "^1.1.1" }, "peerDependencies": { "react": "^16.10.1" }, "scripts": { "build": "yarn build:dist && yarn build:lint", "build:dist": "rollup -c", "build:lint": "eslint --fix dist --ext d.ts", "clean": "rm -rf dist", "lint": "eslint \"src/**\"", "test": "jest", "test:watch": "yarn test --watchAll", "storybook:build": "build-storybook", "storybook:start": "start-storybook -p 6006", "storybook:publish": "storybook-to-ghpages", "gh-pages": "npm run gh-pages:clean && npm run gh-pages:build && npm run gh-pages:publish", "watch": "rollup -cw", "prepublishOnly": "yarn test && yarn clean && NODE_ENV=production yarn build" }, "devDependencies": { "@babel/core": "^7.6.2", "@babel/plugin-proposal-object-rest-spread": "^7.7.4", "@storybook/addon-actions": "^5.2.1", "@storybook/addon-info": "^5.2.1", "@storybook/addon-links": "^5.2.1", "@storybook/addons": "^5.2.1", "@storybook/cli": "^5.2.1", "@storybook/react": "^5.2.1", "@storybook/storybook-deployer": "^2.8.1", "@types/enzyme": "^3.10.3", "@types/jest": "^24.0.18", "@types/react": "16.9.11", "@types/react-dom": "16.9.3", "@types/react-motion": "^0.0.29", "@types/storybook__react": "^4.0.2", "@types/styled-components": "^4.1.19", "@typescript-eslint/eslint-plugin": "^2.3.2", "@typescript-eslint/parser": "^2.3.2", "@wessberg/rollup-plugin-ts": "^1.1.73", "babel-loader": "^8.0.6", "babel-preset-env": "^1.7.0", "babel-preset-react": "^6.24.1", "babel-preset-typescript": "^7.0.0-alpha.19", "enzyme": "^3.10.0", "eslint": "^6.5.1", "eslint-config-airbnb": "^18.0.1", "eslint-config-prettier": "^6.3.0", "eslint-plugin-import": "^2.18.2", "eslint-plugin-jest": "^22.17.0", "eslint-plugin-jsx-a11y": "^6.2.3", "eslint-plugin-mocha": "^6.1.1", "eslint-plugin-prettier": "^3.1.1", "eslint-plugin-react": "^7.14.3", "eslint-plugin-react-hooks": "^1.7.0", "fp-ts": "^2.1.1", "jest": "^24.9.0", "prettier": "^1.18.2", "react": "16.10.1", "react-dom": "16.10.1", "react-motion": "^0.5.2", "react-syntax-highlighter": "^11.0.2", "rollup": "^1.27.0", "rollup-plugin-commonjs": "^10.1.0", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-terser": "^5.1.2", "storybook": "^5.1.11", "styled-components": "^4.4.0", "ts-jest": "^24.1.0", "ts-loader": "^6.2.0", "ts-node": "^8.4.1", "tslib": "^1.10.0", "typescript": "^3.7.2" }, "gitHead": "3ef142aad239aa18abe7ac9eb68adf14f6c6593d" }