|
| 1 | +{ |
| 2 | + "name": "react-within-viewport", |
| 3 | + "version": "1.0.0", |
| 4 | + "description": "Debounced React high order component to flag when it's container is inside the viewport.", |
| 5 | + "main": "dist/index.js", |
| 6 | + "scripts": { |
| 7 | + "test": "jest", |
| 8 | + "clean": "rm -rf dist", |
| 9 | + "transpile": "babel src -D -d dist --ignore '__tests__'", |
| 10 | + "bundle": "webpack --config webpack.config.js", |
| 11 | + "build": "npm run lint && npm run clean && npm run transpile && npm run bundle", |
| 12 | + "lint": "eslint ./src" |
| 13 | + }, |
| 14 | + "repository": { |
| 15 | + "type": "git", |
| 16 | + "url": "git+ssh://[email protected]/team-magneto/react-within-viewport.git" |
| 17 | + }, |
| 18 | + "keywords": [ |
| 19 | + "react", |
| 20 | + "within-viewport", |
| 21 | + "isomorphic", |
| 22 | + "inline-style", |
| 23 | + "high-order-component" |
| 24 | + ], |
| 25 | + "author": "Team Magneto", |
| 26 | + "license": "ISC", |
| 27 | + "bugs": { |
| 28 | + "url": "https://github.com/team-magneto/react-within-viewport/issues" |
| 29 | + }, |
| 30 | + "homepage": "https://github.com/team-magneto/react-within-viewport#readme", |
| 31 | + "dependencies": { |
| 32 | + "lodash.debounce": ">= 4.0.6 < 5", |
| 33 | + "recompose": ">= 0.19.0 < 1.0" |
| 34 | + }, |
| 35 | + "peerDependencies": { |
| 36 | + "react": ">= 0.14" |
| 37 | + }, |
| 38 | + "devDependencies": { |
| 39 | + "babel-cli": "^6.6.5", |
| 40 | + "babel-core": "^6.7.4", |
| 41 | + "babel-eslint": "^6.0.4", |
| 42 | + "babel-jest": "^12.0.0", |
| 43 | + "babel-loader": "^6.2.4", |
| 44 | + "babel-preset-es2015": "^6.6.0", |
| 45 | + "babel-preset-react": "^6.5.0", |
| 46 | + "babel-preset-stage-0": "^6.5.0", |
| 47 | + "enzyme": "^2.2.0", |
| 48 | + "eslint": "^2.9.0", |
| 49 | + "eslint-config-airbnb": "^9.0.1", |
| 50 | + "eslint-plugin-import": "^1.7.0", |
| 51 | + "eslint-plugin-jsx-a11y": "^1.2.0", |
| 52 | + "eslint-plugin-react": "^5.0.1", |
| 53 | + "jest-cli": "^12.0.0", |
| 54 | + "react": "^15.0.0", |
| 55 | + "react-addons-test-utils": "^15.0.0", |
| 56 | + "react-dom": "^15.0.0", |
| 57 | + "webpack": "^1.12.14" |
| 58 | + }, |
| 59 | + "jest": { |
| 60 | + "unmockedModulePathPatterns": [ |
| 61 | + "react", |
| 62 | + "react-dom", |
| 63 | + "react-addons-test-utils", |
| 64 | + "fbjs", |
| 65 | + "enzyme" |
| 66 | + ], |
| 67 | + "rootDir": "./src" |
| 68 | + }, |
| 69 | + "babel": { |
| 70 | + "presets": [ |
| 71 | + "react", |
| 72 | + "es2015", |
| 73 | + "stage-0" |
| 74 | + ] |
| 75 | + }, |
| 76 | + "eslintConfig": { |
| 77 | + "extends": "airbnb", |
| 78 | + "env": { |
| 79 | + "browser": true, |
| 80 | + "node": true, |
| 81 | + "jasmine": true, |
| 82 | + "jest": true |
| 83 | + }, |
| 84 | + "parser": "babel-eslint", |
| 85 | + "rules": { |
| 86 | + "semi": 0, |
| 87 | + "new-cap": 0 |
| 88 | + } |
| 89 | + } |
| 90 | +} |
0 commit comments