{ "name": "compute-scroll-into-view", "description": "The engine that powers scroll-into-view-if-needed", "license": "MIT", "author": "Cody Olsen", "homepage": "https://scroll-into-view-if-needed.netlify.com", "repository": { "type": "git", "url": "git+https://github.com/stipsan/compute-scroll-into-view.git" }, "version": "1.0.17", "main": "dist/index.js", "module": "dist/index.module.js", "files": [ "dist", "typings", "umd/compute-scroll-into-view.min.js", "umd/compute-scroll-into-view.min.js.map" ], "scripts": { "prebuild": "rimraf 'dist' 'umd'", "build": "npm run build:dist && npm run build:umd", "build:dist": "microbundle -f cjs,es", "build:umd": "microbundle -f umd -o umd", "dev": "concurrently 'npm run typecheck -- --watch' 'npm run build:dist -- --watch' 'npm run build:umd -- --watch'", "prepublishOnly": "unset npm_config_cafile && npm run build", "test": "jest -c integration/jest.config.js", "typecheck": "tsc --noEmit" }, "sideEffects": false, "typings": "typings/index.d.ts", "devDependencies": { "concurrently": "5.3.0", "husky": "5.1.0", "jest": "26.6.3", "jest-junit": "12.0.0", "jest-puppeteer": "4.4.0", "lint-staged": "10.5.4", "microbundle": "^0.13.0", "prettier": "2.2.1", "prettier-package-json": "2.1.3", "puppeteer": "5.5.0", "rimraf": "3.0.2", "serve": "11.3.2", "typescript": "4.1.5" }, "keywords": [ "if-needed", "scroll", "scroll-into-view", "scroll-into-view-if-needed", "scrollIntoView", "scrollIntoViewIfNeeded", "scrollMode", "typescript" ], "browserify": { "transform": [ "loose-envify" ] }, "bundlesize": [ { "path": "./umd/compute-scroll-into-view.min.js", "maxSize": "3 kB", "compression": "none" } ], "husky": { "hooks": { "pre-commit": "lint-staged" } }, "lint-staged": { "*.{js,ts,tsx,json,md}": "prettier --write", "**/package.json": "prettier-package-json --write" }, "prettier": { "semi": false, "singleQuote": true, "trailingComma": "es5" }, "release": { "prepare": [ "@semantic-release/npm" ] }, "source": "src/index.ts", "umd:main": "umd/compute-scroll-into-view.min.js" }