package.json 4.91 KB
{
  "_from": "scroll-into-view-if-needed@^2.2.25",
  "_id": "scroll-into-view-if-needed@2.2.26",
  "_inBundle": false,
  "_integrity": "sha512-SQ6AOKfABaSchokAmmaxVnL9IArxEnLEX9j4wAZw+x4iUTb40q7irtHG3z4GtAWz5veVZcCnubXDBRyLVQaohw==",
  "_location": "/scroll-into-view-if-needed",
  "_phantomChildren": {},
  "_requested": {
    "type": "range",
    "registry": true,
    "raw": "scroll-into-view-if-needed@^2.2.25",
    "name": "scroll-into-view-if-needed",
    "escapedName": "scroll-into-view-if-needed",
    "rawSpec": "^2.2.25",
    "saveSpec": null,
    "fetchSpec": "^2.2.25"
  },
  "_requiredBy": [
    "/antd"
  ],
  "_resolved": "https://registry.npmjs.org/scroll-into-view-if-needed/-/scroll-into-view-if-needed-2.2.26.tgz",
  "_shasum": "e4917da0c820135ff65ad6f7e4b7d7af568c4f13",
  "_spec": "scroll-into-view-if-needed@^2.2.25",
  "_where": "C:\\Users\\kkwan_000\\Desktop\\git\\2017110269\\minsung\\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.16"
  },
  "deprecated": false,
  "description": "Ponyfill for upcoming Element.scrollIntoView() APIs like scrollMode: if-needed, behavior: smooth and block: center",
  "devDependencies": {
    "@babel/cli": "7.10.5",
    "@babel/core": "7.11.4",
    "@babel/plugin-external-helpers": "7.10.4",
    "@babel/preset-env": "7.11.0",
    "@babel/preset-typescript": "7.10.4",
    "babel-eslint": "10.1.0",
    "babel-plugin-add-module-exports": "1.0.2",
    "babel-plugin-dev-expression": "0.2.2",
    "concurrently": "5.3.0",
    "eslint": "4.19.1",
    "eslint-config-prettier": "4.0.0",
    "eslint-plugin-import": "2.22.0",
    "eslint-plugin-react": "7.20.6",
    "flowgen": "1.11.0",
    "husky": "4.2.5",
    "lint-staged": "10.2.13",
    "prettier": "2.1.1",
    "prettier-package-json": "2.1.3",
    "rimraf": "3.0.2",
    "rollup": "2.26.8",
    "rollup-plugin-babel": "4.4.0",
    "rollup-plugin-commonjs": "10.1.0",
    "rollup-plugin-node-resolve": "5.2.0",
    "rollup-plugin-replace": "2.2.0",
    "rollup-plugin-terser": "6.1.0",
    "semantic-release": "17.1.1",
    "tslint": "5.20.1",
    "tslint-config-prettier": "1.18.0",
    "typescript": "3.9.7"
  },
  "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.26"
}