UNPKG

@researchgate/react-intersection-list

Version:

React List Component using the Intersection Observer API

98 lines (97 loc) 2.7 kB
{ "name": "@researchgate/react-intersection-list", "description": "React List Component using the Intersection Observer API", "version": "3.0.12", "author": "Luis Merino <mail@luismerino.name>", "engines": { "node": ">=10.0.0" }, "bugs": { "url": "https://github.com/researchgate/react-intersection-list/issues" }, "dependencies": { "@researchgate/react-intersection-observer": "^1.1.2", "prop-types": "^15.7.2", "warning": "^4.0.3" }, "devDependencies": { "@babel/cli": "7.12.1", "@babel/core": "7.12.3", "@researchgate/babel-preset": "2.0.6", "@researchgate/spire-config": "5.0.7", "@storybook/addon-options": "5.3.21", "@storybook/react": "5.3.21", "@types/react": "16.9.56", "babel-loader": "8.2.1", "cross-env": "7.0.2", "intersection-observer": "0.11.0", "react": "16.14.0", "react-dom": "16.14.0", "react-test-renderer": "16.14.0", "spire": "3.2.1", "spire-plugin-semantic-release": "3.0.2", "typescript": "3.9.7", "whatwg-fetch": "3.5.0" }, "files": [ "lib", "types/index.d.ts" ], "types": "types/index.d.ts", "homepage": "https://github.com/researchgate/react-intersection-list#readme", "keywords": [ "Intersection", "Observer", "react", "component", "list", "infinite", "scrollable", "researchgate" ], "license": "MIT", "main": "lib/js/index.js", "module": "lib/es/index.js", "peerDependencies": { "react": "^16.3.2", "react-dom": "^16.3.2" }, "repository": { "type": "git", "url": "https://github.com/researchgate/react-intersection-list.git" }, "jest": { "rootDir": "src", "testMatch": [ "**/__tests__/**/*.spec.js" ], "testURL": "http://localhost/" }, "prettier": "@researchgate/prettier-config", "spire": { "extends": [ [ "@researchgate/spire-config", { "eslint": "react-typescript" } ] ], "plugins": [ "spire-plugin-semantic-release", "<rootDir>/.spire/spire-plugin-tslint" ] }, "scripts": { "build": "yarn build:js && yarn build:es", "build:js": "cross-env BABEL_ENV=production BABEL_OUTPUT=cjs babel src --out-dir lib/js --ignore **/__tests__,**/__mocks__", "build:es": "cross-env BABEL_ENV=production BABEL_OUTPUT=esm babel src --out-dir lib/es --ignore **/__tests__,**/__mocks__", "build:storybook": "build-storybook -o .docs", "lint": "spire lint", "prepublishOnly": "yarn build", "release": "spire release --branches main", "storybook": "start-storybook -p 9001 -c .storybook", "test": "spire test", "ts:check": "tsc --project types" } }