UNPKG

react-scroll-to-bottom-updated

Version:
81 lines (80 loc) 3.04 kB
{ "name": "react-scroll-to-bottom-updated", "version": "4.2.1-main.b8336f2", "description": "React container that will auto scroll to bottom", "keywords": [ "react", "follow", "jump", "jump to bottom", "jump to top", "scroll", "scroll to bottom", "scroll to top", "sticky", "stick to bottom", "stick to top", "tail" ], "main": "lib/index.js", "module": "lib/esm/index.js", "files": [ "lib/**/*" ], "scripts": { "build": "npm run build:babel && npm run build:esbuild && npm run build:test-harness", "build:babel": "concurrently \"npm run build:babel:*\"", "build:babel:cjs": "babel --config-file ./babel.cjs.config.json --out-dir lib --ignore **/*.spec.js,**/*.test.js --source-maps inline --verbose src/", "build:babel:esm": "babel --config-file ./babel.esm.config.json --out-dir lib/esm --ignore **/*.spec.js,**/*.test.js --source-maps inline --verbose src/", "build:esbuild": "esbuild lib/esm/browser.js --bundle --define:process=\"{\\\"env\\\":{}}\" --metafile=dist/meta.json --outfile=dist/react-scroll-to-bottom.development.js --sourcemap --target=chrome80", "build:test-harness": "cp ../test-harness/dist/* dist/", "eslint": "eslint src/**/*.js --ignore-pattern *.spec.js --ignore-pattern *.test.js", "precommit": "eslint", "prestart": "npm run build:babel", "start": "concurrently \"npm run start:*\"", "start:babel:cjs": "npm run build:babel:cjs -- --skip-initial-build --watch", "start:babel:esm": "npm run build:babel:esm -- --skip-initial-build --watch", "start:esbuild": "npm run build:esbuild -- --watch", "start:test-harness": "nodemon --exec \"npm run build:test-harness\" --watch ../test-harness/dist" }, "author": "William Wong <compulim@hotmail.com> (http://compulim.info/)", "license": "MIT", "repository": { "type": "git", "url": "git+https://github.com/compulim/react-scroll-to-bottom.git" }, "bugs": { "url": "https://github.com/compulim/react-scroll-to-bottom/issues" }, "homepage": "https://github.com/compulim/react-scroll-to-bottom#readme", "devDependencies": { "@babel/cli": "^7.15.7", "@babel/core": "^7.15.8", "@babel/plugin-proposal-object-rest-spread": "^7.15.6", "@babel/plugin-transform-runtime": "^7.15.8", "@babel/preset-env": "^7.15.8", "@babel/preset-react": "^7.14.5", "babel-eslint": "^10.1.0", "babel-plugin-transform-inline-environment-variables": "^0.4.3", "concurrently": "^6.3.0", "esbuild": "^0.13.5", "eslint": "^7.32.0", "eslint-plugin-prettier": "^4.0.0", "eslint-plugin-react": "^7.26.1", "eslint-plugin-react-hooks": "^4.2.0", "nodemon": "^2.0.13", "prettier": "^2.4.1" }, "dependencies": { "@babel/runtime-corejs3": "^7.15.4", "@emotion/css": "11.1.3", "classnames": "2.3.1", "core-js": "3.18.3", "math-random": "2.0.1", "prop-types": "15.7.2", "simple-update-in": "2.2.0" }, "peerDependencies": { "react": ">= 16.8.6" } }