{ "name": "react-waypoint", "version": "10.3.0", "description": "A React component to execute a function whenever you scroll to an element.", "main": "cjs/index.js", "module": "es/index.js", "types": "index.d.ts", "files": [ "cjs", "es", "index.d.ts" ], "repository": { "type": "git", "url": "https://github.com/civiccc/react-waypoint.git" }, "homepage": "https://github.com/civiccc/react-waypoint", "bugs": "https://github.com/civiccc/react-waypoint/issues", "scripts": { "build": "npm run clean && rollup -c", "check-changelog": "expr $(git status --porcelain 2>/dev/null| grep \"^\\s*M.*CHANGELOG.md\" | wc -l) >/dev/null || (echo 'Please edit CHANGELOG.md' && exit 1)", "check-only-changelog-changed": "(expr $(git status --porcelain 2>/dev/null| grep -v \"CHANGELOG.md\" | wc -l) >/dev/null && echo 'Only CHANGELOG.md may have uncommitted changes' && exit 1) || exit 0", "clean": "rimraf es cjs", "lint": "eslint . --ext .js,.jsx", "postversion": "git commit package.json CHANGELOG.md -m \"Version $npm_package_version\" && npm run tag && git push && git push --tags && npm publish", "prepublish": "in-publish && safe-publish-latest && npm run build || not-in-publish", "pretest": "npm run --silent lint", "preversion": "npm run check-changelog && npm run check-only-changelog-changed", "tag": "git tag v$npm_package_version", "test": "npm run test:browser && npm run test:node", "test:node": "jest 'test/node/.*.js'", "test:browser": "karma start --single-run", "test:browser:watch": "karma start --no-single-run", "performance-test:watch": "webpack --watch --config webpack.config.performance-test.js" }, "author": "Brigade Engineering", "license": "MIT", "peerDependencies": { "react": "^15.3.0 || ^16.0.0 || ^17.0.0 || ^18.0.0" }, "devDependencies": { "@babel/cli": "^7.0.0", "@babel/core": "^7.0.0", "@rollup/plugin-babel": "^5.2.1", "@types/react": "^16.14.5", "babel-loader": "^8.0.0", "babel-preset-airbnb": "^5.0.0", "eslint": "^7.12.0", "eslint-config-airbnb": "^18.2.0", "eslint-plugin-import": "^2.22.0", "eslint-plugin-jest": "^24.1.3", "eslint-plugin-jsx-a11y": "^6.3.1", "eslint-plugin-react": "^7.21.2", "in-publish": "^2.0.0", "jasmine-core": "^2.99.1", "jest": "^26.6.3", "karma": "^6.0.2", "karma-chrome-launcher": "^3.1.0", "karma-cli": "^2.0.0", "karma-firefox-launcher": "^2.1.0", "karma-jasmine": "^1.1.2", "karma-webpack": "^4.0.2", "loose-envify": "^1.4.0", "react": "^16.0.0 || ^17.0.0 || ^18.0.0", "react-dom": "^16.0.0 || ^17.0.0 || ^18.0.0", "react-test-renderer": "^16.0.0 || ^17.0.0 || ^18.0.0", "rimraf": "^3.0.2", "rollup": "^2.33.2", "safe-publish-latest": "^1.1.1", "webpack": "^4.46.0", "webpack-cli": "^4.4.0" }, "keywords": [ "react", "component", "react-component", "scroll", "onscroll", "scrollspy" ], "dependencies": { "@babel/runtime": "^7.12.5", "consolidated-events": "^1.1.0 || ^2.0.0", "prop-types": "^15.0.0", "react-is": "^17.0.1 || ^18.0.0" }, "browserify": { "transform": [ "loose-envify" ] } }