UNPKG

react-fullscreen

Version:

React component that fullscreens a child component. Responds to browser resizes.

48 lines (47 loc) 1.34 kB
{ "name": "react-fullscreen", "version": "0.1.0", "description": "React component that fullscreens a child component. Responds to browser resizes.", "main": "dist/index.js", "scripts": { "build": "rimraf dist && babel src --out-dir dist --ignore \"__tests__\"", "lint": "eslint src/", "mocha": "mocha **/*__tests__/* -R spec --require test-setup", "test": "npm run lint && npm run mocha", "prepublish": "npm test && npm run build && npm shrinkwrap", "postpublish": "rm npm-shrinkwrap.json" }, "repository": { "type": "git", "url": "https://github.com/ThomWright/react-fullscreen" }, "keywords": [ "react", "full", "screen", "fullscreen", "full-screen", "maximise", "react-component" ], "author": "Thom Wright <npm@thomwright.co.uk> (http://thomwright.co.uk/)", "license": "MIT", "bugs": { "url": "https://github.com/ThomWright/react-fullscreen/issues" }, "homepage": "https://github.com/ThomWright/react-fullscreen", "dependencies": {}, "devDependencies": { "babel": "^5.4.7", "babel-eslint": "^3.1.9", "chai": "^3", "eslint": "^0", "eslint-plugin-react": "^2.2.0", "mocha": "^2.2.5", "react": "^0.13.0 || ^0.14.0-a", "rimraf": "^2.3.4" }, "peerDependencies": { "react": "^0.13.0 || ^0.14.0-a" } }