157 lines
4.3 KiB
JSON
157 lines
4.3 KiB
JSON
{
|
|
"_args": [
|
|
[
|
|
"compute-scroll-into-view@1.0.11",
|
|
"/home/riddhi/frontend"
|
|
]
|
|
],
|
|
"_from": "compute-scroll-into-view@1.0.11",
|
|
"_id": "compute-scroll-into-view@1.0.11",
|
|
"_inBundle": false,
|
|
"_integrity": "sha512-uUnglJowSe0IPmWOdDtrlHXof5CTIJitfJEyITHBW6zDVOGu9Pjk5puaLM73SLcwak0L4hEjO7Td88/a6P5i7A==",
|
|
"_location": "/compute-scroll-into-view",
|
|
"_phantomChildren": {},
|
|
"_requested": {
|
|
"type": "version",
|
|
"registry": true,
|
|
"raw": "compute-scroll-into-view@1.0.11",
|
|
"name": "compute-scroll-into-view",
|
|
"escapedName": "compute-scroll-into-view",
|
|
"rawSpec": "1.0.11",
|
|
"saveSpec": null,
|
|
"fetchSpec": "1.0.11"
|
|
},
|
|
"_requiredBy": [
|
|
"/downshift"
|
|
],
|
|
"_resolved": "https://registry.npmjs.org/compute-scroll-into-view/-/compute-scroll-into-view-1.0.11.tgz",
|
|
"_spec": "1.0.11",
|
|
"_where": "/home/riddhi/frontend",
|
|
"author": {
|
|
"name": "Cody Olsen"
|
|
},
|
|
"browserify": {
|
|
"transform": [
|
|
"loose-envify"
|
|
]
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/stipsan/compute-scroll-into-view/issues"
|
|
},
|
|
"bundlesize": [
|
|
{
|
|
"path": "./umd/compute-scroll-into-view.min.js",
|
|
"maxSize": "2.5 kB",
|
|
"compression": "none"
|
|
}
|
|
],
|
|
"description": "The engine that powers scroll-into-view-if-needed",
|
|
"devDependencies": {
|
|
"@babel/cli": "7.1.2",
|
|
"@babel/core": "7.1.2",
|
|
"@babel/plugin-external-helpers": "7.0.0",
|
|
"@babel/preset-env": "7.1.0",
|
|
"@babel/preset-typescript": "7.1.0",
|
|
"babel-plugin-add-module-exports": "1.0.0",
|
|
"babel-plugin-dev-expression": "0.2.1",
|
|
"concurrently": "4.0.1",
|
|
"husky": "1.1.1",
|
|
"jest": "23.6.0",
|
|
"jest-junit": "5.2.0",
|
|
"jest-puppeteer": "3.4.0",
|
|
"lint-staged": "7.3.0",
|
|
"prettier": "1.14.3",
|
|
"prettier-package-json": "2.0.1",
|
|
"puppeteer": "1.9.0",
|
|
"rimraf": "2.6.2",
|
|
"rollup": "0.66.4",
|
|
"rollup-plugin-babel": "4.0.3",
|
|
"rollup-plugin-commonjs": "9.1.8",
|
|
"rollup-plugin-node-resolve": "3.4.0",
|
|
"rollup-plugin-replace": "2.1.0",
|
|
"rollup-plugin-terser": "3.0.0",
|
|
"semantic-release": "15.9.17",
|
|
"serve": "10.0.2",
|
|
"tslint": "5.11.0",
|
|
"tslint-config-prettier": "1.15.0",
|
|
"typescript": "3.1.1"
|
|
},
|
|
"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"
|
|
},
|
|
"typings": "typings/index.d.ts",
|
|
"version": "1.0.11"
|
|
}
|