176 lines
4.9 KiB
JSON
176 lines
4.9 KiB
JSON
{
|
|
"_from": "scroll-into-view-if-needed@^2.2.20",
|
|
"_id": "scroll-into-view-if-needed@2.2.24",
|
|
"_inBundle": false,
|
|
"_integrity": "sha512-vsC6SzyIZUyJG8o4nbUDCiIwsPdH6W/FVmjT2avR2hp/yzS53JjGmg/bKD20TkoNajbu5dAQN4xR7yes4qhwtQ==",
|
|
"_location": "/scroll-into-view-if-needed",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"type": "range",
|
|
"registry": true,
|
|
"raw": "scroll-into-view-if-needed@^2.2.20",
|
|
"name": "scroll-into-view-if-needed",
|
|
"escapedName": "scroll-into-view-if-needed",
|
|
"rawSpec": "^2.2.20",
|
|
"saveSpec": null,
|
|
"fetchSpec": "^2.2.20"
|
|
},
|
|
"_requiredBy": [
|
|
"/antd",
|
|
"/rc-menu"
|
|
],
|
|
"_resolved": "https://registry.npmjs.org/scroll-into-view-if-needed/-/scroll-into-view-if-needed-2.2.24.tgz",
|
|
"_shasum": "12bca532990769bd509115a49edcfa755e92a0ea",
|
|
"_spec": "scroll-into-view-if-needed@^2.2.20",
|
|
"_where": "/Users/thilina/TestProjects/icehrm-pro/web/node_modules/antd",
|
|
"author": {
|
|
"name": "Cody Olsen"
|
|
},
|
|
"browserify": {
|
|
"transform": [
|
|
"loose-envify"
|
|
]
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/stipsan/scroll-into-view-if-needed/issues"
|
|
},
|
|
"bundleDependencies": false,
|
|
"bundlesize": [
|
|
{
|
|
"path": "./umd/scroll-into-view-if-needed.min.js",
|
|
"maxSize": "3.2 kB",
|
|
"compression": "none"
|
|
}
|
|
],
|
|
"dependencies": {
|
|
"compute-scroll-into-view": "^1.0.13"
|
|
},
|
|
"deprecated": false,
|
|
"description": "Ponyfill for upcoming Element.scrollIntoView() APIs like scrollMode: if-needed, behavior: smooth and block: center",
|
|
"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-eslint": "10.0.3",
|
|
"babel-plugin-add-module-exports": "1.0.2",
|
|
"babel-plugin-dev-expression": "0.2.2",
|
|
"concurrently": "5.0.2",
|
|
"eslint": "4.19.1",
|
|
"eslint-config-prettier": "4.0.0",
|
|
"eslint-plugin-import": "2.20.0",
|
|
"eslint-plugin-react": "7.18.0",
|
|
"flowgen": "1.10.0",
|
|
"husky": "4.0.10",
|
|
"lint-staged": "10.0.0",
|
|
"prettier": "1.19.1",
|
|
"prettier-package-json": "2.1.3",
|
|
"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": "16.0.2",
|
|
"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": [
|
|
"behavior-smooth",
|
|
"if-needed",
|
|
"polyfill",
|
|
"ponyfill",
|
|
"scroll",
|
|
"scroll-into-view",
|
|
"scrollIntoView",
|
|
"scrollIntoViewIfNeeded",
|
|
"scrollMode",
|
|
"smooth",
|
|
"smoothscroll",
|
|
"typescript"
|
|
],
|
|
"license": "MIT",
|
|
"lint-staged": {
|
|
"*.js": [
|
|
"prettier --write",
|
|
"git add"
|
|
],
|
|
"*.{ts,tsx}": [
|
|
"prettier --write",
|
|
"git add"
|
|
],
|
|
"*.json": [
|
|
"prettier --write",
|
|
"git add"
|
|
],
|
|
"*.css": [
|
|
"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": "scroll-into-view-if-needed",
|
|
"prettier": {
|
|
"semi": false,
|
|
"singleQuote": true,
|
|
"trailingComma": "es5",
|
|
"overrides": [
|
|
{
|
|
"files": ".babelrc",
|
|
"options": {
|
|
"parser": "json"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"release": {
|
|
"prepare": [
|
|
"@semantic-release/npm"
|
|
]
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/stipsan/scroll-into-view-if-needed.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/scroll-into-view-if-needed.js",
|
|
"build:umd.min": "BABEL_ENV=umd NODE_ENV=production rollup -c -f umd -o umd/scroll-into-view-if-needed.min.js",
|
|
"clean": "rimraf 'umd' 'es' 'typings'",
|
|
"dev": "concurrently 'tsc --noEmit --watch' 'tsc --noEmit -p tests/typescript --watch' 'yarn build:cjs --watch' 'yarn build:es --watch' 'yarn build:umd --watch' 'yarn build:umd.min --watch'",
|
|
"lint": "eslint ./integration-examples",
|
|
"prebuild": "yarn clean",
|
|
"precommit": "lint-staged",
|
|
"prepublishOnly": "unset npm_config_cafile && yarn build",
|
|
"typecheck": "tsc --noEmit && tsc --noEmit -p tests/typescript"
|
|
},
|
|
"sideEffects": false,
|
|
"typings": "typings/index.d.ts",
|
|
"version": "2.2.24"
|
|
}
|