155 lines
4.4 KiB
JSON
155 lines
4.4 KiB
JSON
{
|
|
"_from": "compute-scroll-into-view@^1.0.13",
|
|
"_id": "compute-scroll-into-view@1.0.13",
|
|
"_inBundle": false,
|
|
"_integrity": "sha512-o+w9w7A98aAFi/GjK8cxSV+CdASuPa2rR5UWs3+yHkJzWqaKoBEufFNWYaXInCSmUfDCVhesG+v9MTWqOjsxFg==",
|
|
"_location": "/compute-scroll-into-view",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"type": "range",
|
|
"registry": true,
|
|
"raw": "compute-scroll-into-view@^1.0.13",
|
|
"name": "compute-scroll-into-view",
|
|
"escapedName": "compute-scroll-into-view",
|
|
"rawSpec": "^1.0.13",
|
|
"saveSpec": null,
|
|
"fetchSpec": "^1.0.13"
|
|
},
|
|
"_requiredBy": [
|
|
"/scroll-into-view-if-needed"
|
|
],
|
|
"_resolved": "https://registry.npmjs.org/compute-scroll-into-view/-/compute-scroll-into-view-1.0.13.tgz",
|
|
"_shasum": "be1b1663b0e3f56cd5f7713082549f562a3477e2",
|
|
"_spec": "compute-scroll-into-view@^1.0.13",
|
|
"_where": "/Users/thilina/TestProjects/icehrm-pro/web/node_modules/scroll-into-view-if-needed",
|
|
"author": {
|
|
"name": "Cody Olsen"
|
|
},
|
|
"browserify": {
|
|
"transform": [
|
|
"loose-envify"
|
|
]
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/stipsan/compute-scroll-into-view/issues"
|
|
},
|
|
"bundleDependencies": false,
|
|
"bundlesize": [
|
|
{
|
|
"path": "./umd/compute-scroll-into-view.min.js",
|
|
"maxSize": "2.6 kB",
|
|
"compression": "none"
|
|
}
|
|
],
|
|
"deprecated": false,
|
|
"description": "The engine that powers scroll-into-view-if-needed",
|
|
"devDependencies": {
|
|
"@babel/cli": "7.8.3",
|
|
"@babel/core": "7.8.3",
|
|
"@babel/plugin-external-helpers": "7.8.3",
|
|
"@babel/preset-env": "7.8.3",
|
|
"@babel/preset-typescript": "7.8.3",
|
|
"babel-plugin-add-module-exports": "1.0.2",
|
|
"babel-plugin-dev-expression": "0.2.2",
|
|
"concurrently": "5.0.2",
|
|
"husky": "3.1.0",
|
|
"jest": "23.6.0",
|
|
"jest-junit": "10.0.0",
|
|
"jest-puppeteer": "4.4.0",
|
|
"lint-staged": "10.0.0",
|
|
"prettier": "1.19.1",
|
|
"prettier-package-json": "2.1.3",
|
|
"puppeteer": "2.0.0",
|
|
"rimraf": "3.0.0",
|
|
"rollup": "1.29.0",
|
|
"rollup-plugin-babel": "4.3.3",
|
|
"rollup-plugin-commonjs": "10.1.0",
|
|
"rollup-plugin-node-resolve": "5.2.0",
|
|
"rollup-plugin-replace": "2.2.0",
|
|
"rollup-plugin-terser": "5.2.0",
|
|
"semantic-release": "15.14.0",
|
|
"serve": "11.3.0",
|
|
"tslint": "5.20.1",
|
|
"tslint-config-prettier": "1.18.0",
|
|
"typescript": "3.7.5"
|
|
},
|
|
"files": [
|
|
"es",
|
|
"typings",
|
|
"umd"
|
|
],
|
|
"homepage": "https://scroll-into-view-if-needed.netlify.com",
|
|
"keywords": [
|
|
"if-needed",
|
|
"scroll",
|
|
"scroll-into-view",
|
|
"scroll-into-view-if-needed",
|
|
"scrollIntoView",
|
|
"scrollIntoViewIfNeeded",
|
|
"scrollMode",
|
|
"typescript"
|
|
],
|
|
"license": "MIT",
|
|
"lint-staged": {
|
|
"*.js": [
|
|
"prettier --write",
|
|
"git add"
|
|
],
|
|
"*.{ts,tsx}": [
|
|
"prettier --write",
|
|
"git add"
|
|
],
|
|
"*.json": [
|
|
"prettier --write",
|
|
"git add"
|
|
],
|
|
"*.md": [
|
|
"prettier --write",
|
|
"git add"
|
|
],
|
|
"**/package.json": [
|
|
"prettier-package-json --write",
|
|
"git add"
|
|
],
|
|
"**/.babelrc": [
|
|
"prettier --write",
|
|
"git add"
|
|
]
|
|
},
|
|
"main": "index.js",
|
|
"module": "es/index.js",
|
|
"name": "compute-scroll-into-view",
|
|
"prettier": {
|
|
"semi": false,
|
|
"singleQuote": true,
|
|
"trailingComma": "es5"
|
|
},
|
|
"release": {
|
|
"prepare": [
|
|
"@semantic-release/npm"
|
|
]
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/stipsan/compute-scroll-into-view.git"
|
|
},
|
|
"scripts": {
|
|
"build": "yarn build:d.ts && yarn build:cjs && yarn build:es && yarn build:umd && yarn build:umd.min",
|
|
"build:cjs": "BABEL_ENV=cjs babel src -d . --extensions '.ts'",
|
|
"build:d.ts": "tsc --emitDeclarationOnly",
|
|
"build:es": "BABEL_ENV=es babel src -d es --extensions '.ts'",
|
|
"build:umd": "BABEL_ENV=umd NODE_ENV=development rollup -c -f umd -o umd/compute-scroll-into-view.js",
|
|
"build:umd.min": "BABEL_ENV=umd NODE_ENV=production rollup -c -f umd -o umd/compute-scroll-into-view.min.js",
|
|
"clean": "rimraf 'umd' 'es' 'typings'",
|
|
"dev": "concurrently 'tsc --noEmit --watch' 'yarn build:cjs --watch' 'yarn build:es --watch' 'yarn build:umd --watch' 'yarn build:umd.min --watch'",
|
|
"prebuild": "yarn clean",
|
|
"precommit": "lint-staged",
|
|
"prepublishOnly": "unset npm_config_cafile && yarn build",
|
|
"test": "jest -c integration/jest.config.js",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"sideEffects": false,
|
|
"typings": "typings/index.d.ts",
|
|
"version": "1.0.13"
|
|
}
|