UNPKG

react-device

Version:
61 lines (60 loc) 1.54 kB
{ "name": "react-device", "version": "0.8.1", "description": "React aware device information", "keywords": [ "react", "screen", "width", "height", "browser", "device" ], "main": "dist/index.js", "scripts": { "clean": "rimraf dist", "build": "babel src --out-dir dist --copy-files --ignore test.js,stories.js", "test": "jest", "lint": "eslint src", "lib": "npm run clean && npm run build", "release": "npm run lib && standard-version", "prepare": "npm run test", "pub": "git push --follow-tags origin master; npm publish" }, "author": "Tom Jenkins <tjenkins@remedyhealthmedia.com>", "contributors": [], "license": "MIT", "repository": { "type": "git", "url": "https://github.com/remedyhealth/react-device/" }, "bugs": { "url": "https://github.com/remedyhealth/react-device/issues" }, "peerDependencies": {}, "dependencies": { "lodash.debounce": "^4.0.8", "react": "^15.4.2", "ua-parser-js": "^0.7.12" }, "devDependencies": { "babel-cli": "^6.22.2", "babel-core": "^6.22.1", "babel-eslint": "^7.1.1", "babel-preset-env": "^1.6.0", "babel-preset-react": "^6.22.0", "babel-preset-stage-1": "^6.24.1", "enzyme": "^2.7.1", "jest-cli": "^18.1.0", "react-addons-test-utils": "^15.4.2", "react-dom": "^15.4.2", "react-test-renderer": "^15.6.1", "rimraf": "^2.6.1", "standard-version": "^4.0.0" }, "jest": { "testPathIgnorePatterns": [ "<rootDir>/dist/" ] } }