UNPKG

react-matchmedia-connect

Version:
78 lines (77 loc) 2.35 kB
{ "name": "react-matchmedia-connect", "version": "0.2.1", "description": "Higher order component for matchMedia", "main": "lib/index.js", "scripts": { "clean": "rimraf lib dist", "build": "babel src --out-dir lib", "build:umd": "webpack src/index.js dist/react-matchmedia-connect.js && NODE_ENV=production webpack src/index.js dist/react-matchmedia-connect.min.js", "lint": "eslint src test examples", "test": "NODE_ENV=test karma start", "test:watch": "NODE_ENV=test karma start --auto-watch --no-single-run", "test:cov": "NODE_ENV=test COVERAGE=true karma start --single-run", "prepublish": "npm run lint && npm run test && npm run clean && npm run build" }, "repository": { "type": "git", "url": "https://github.com/malte-wessel/react-matchmedia-connect.git" }, "keywords": [ "matchmedia", "media queries", "responsive", "react", "react-component", "redux", "recompose" ], "author": "Malte Wessel", "license": "MIT", "bugs": { "url": "https://github.com/malte-wessel/react-matchmedia-connect/issues" }, "homepage": "https://github.com/malte-wessel/react-matchmedia-connect", "dependencies": { "shallowequal": "^1.0.2" }, "devDependencies": { "babel-cli": "^6.2.0", "babel-core": "^6.2.1", "babel-eslint": "^8", "babel-loader": "7.1.2", "babel-plugin-rewire": "^1.1.0", "babel-preset-es2015": "^6.1.18", "babel-preset-react": "^6.3.13", "babel-preset-stage-1": "^6.1.18", "babel-register": "^6.3.13", "babel-runtime": "^6.3.19", "eslint": "^4", "eslint-config-airbnb": "^16", "eslint-plugin-import": "^2.8.0", "eslint-plugin-jsx-a11y": "^6.0.2", "eslint-plugin-react": "^7", "expect": "^21.2.1", "isparta-loader": "^2.0.0", "karma": "0.13.19", "karma-chrome-launcher": "^0.2.1", "karma-cli": "^0.1.1", "karma-coverage": "^0.5.3", "karma-mocha": "^0.2.0", "karma-mocha-reporter": "^1.0.3", "karma-sourcemap-loader": "^0.3.6", "karma-webpack": "2.0.5", "mocha": "^2.2.5", "react": "^16.0.0", "react-dom": "^16.0.0", "rimraf": "^2.3.4", "simulant": "^0.1.5", "sinon": "^4.0.1", "webpack": "^3", "webpack-dev-server": "^2.9" }, "peerDependencies": { "react": ">=0.14.0", "react-dom": ">=0.14.0" } }