{ "_from": "compute-scroll-into-view@^1.0.20", "_id": "compute-scroll-into-view@1.0.20", "_inBundle": false, "_integrity": "sha512-UCB0ioiyj8CRjtrvaceBLqqhZCVP+1B8+NWQhmdsm0VXOJtobBCf1dBQmebCCo34qZmUwZfIH2MZLqNHazrfjg==", "_location": "/compute-scroll-into-view", "_phantomChildren": {}, "_requested": { "type": "range", "registry": true, "raw": "compute-scroll-into-view@^1.0.20", "name": "compute-scroll-into-view", "escapedName": "compute-scroll-into-view", "rawSpec": "^1.0.20", "saveSpec": null, "fetchSpec": "^1.0.20" }, "_requiredBy": [ "/scroll-into-view-if-needed" ], "_resolved": "https://registry.npmmirror.com/compute-scroll-into-view/-/compute-scroll-into-view-1.0.20.tgz", "_shasum": "1768b5522d1172754f5d0c9b02de3af6be506a43", "_spec": "compute-scroll-into-view@^1.0.20", "_where": "E:\\qinduan\\mallbackinfrontend\\node_modules\\scroll-into-view-if-needed", "author": { "name": "Cody Olsen" }, "browserify": { "transform": [ "loose-envify" ] }, "bugs": { "url": "https://github.com/scroll-into-view/compute-scroll-into-view/issues" }, "bundleDependencies": false, "bundlesize": [ { "path": "./umd/compute-scroll-into-view.min.js", "maxSize": "3 kB", "compression": "none" } ], "deprecated": false, "description": "The engine that powers scroll-into-view-if-needed", "devDependencies": { "@sanity/semantic-release-preset": "^2.0.2", "husky": "^8.0.2", "jest": "^29.3.1", "jest-junit": "^15.0.0", "jest-puppeteer": "^6.1.1", "lint-staged": "^13.0.4", "microbundle": "^0.15.1", "prettier": "^2.8.0", "prettier-plugin-packagejson": "^2.3.0", "puppeteer": "^19.3.0", "rimraf": "^3.0.2", "serve": "^14.1.2", "typescript": "^4.9.3" }, "exports": { ".": { "types": "./typings/index.d.ts", "source": "./src/index.ts", "import": "./dist/index.mjs", "require": "./dist/index.js", "default": "./dist/index.mjs" }, "./package.json": "./package.json" }, "files": [ "dist", "typings", "umd/compute-scroll-into-view.min.js", "umd/compute-scroll-into-view.min.js.map" ], "homepage": "https://scroll-into-view.dev", "husky": { "hooks": { "pre-commit": "lint-staged" } }, "keywords": [ "if-needed", "scroll", "scroll-into-view", "scroll-into-view-if-needed", "scrollIntoView", "scrollIntoViewIfNeeded", "scrollMode", "typescript" ], "license": "MIT", "lint-staged": { "*.{js,ts,tsx,json,md}": "prettier --write" }, "main": "dist/index.js", "module": "dist/index.mjs", "name": "compute-scroll-into-view", "prettier": { "semi": false, "singleQuote": true }, "repository": { "type": "git", "url": "git+https://github.com/scroll-into-view/compute-scroll-into-view.git" }, "scripts": { "build": "npm run build:dist && npm run build:umd", "build:dist": "microbundle -f cjs,es", "build:umd": "microbundle -f umd -o umd", "prebuild": "rimraf 'dist' 'umd'", "prepublishOnly": "npm run build", "test": "jest -c integration/jest.config.js", "typecheck": "tsc --noEmit" }, "sideEffects": false, "source": "src/index.ts", "typings": "typings/index.d.ts", "umd:main": "umd/compute-scroll-into-view.min.js", "version": "1.0.20" }