{
  "name": "scroll-behavior",
  "version": "0.11.0",
  "description": "Pluggable browser scroll management",
  "files": [
    "lib",
    "es"
  ],
  "main": "lib/index.js",
  "module": "es/index.js",
  "types": "lib/index.d.ts",
  "scripts": {
    "build": "npm run build:cjs && npm run build:esm && npm run build:types",
    "build:cjs": "babel -d lib --delete-dir-on-start src",
    "build:esm": "babel --env-name esm -d es --delete-dir-on-start src",
    "build:types": "cpy types/*.d.ts lib",
    "format": "eslint --fix . && npm run prettier -- --write",
    "lint": "eslint . && npm run prettier -- -l",
    "prepublish": "npm run build",
    "prettier": "prettier --ignore-path .eslintignore '**/*.{md,ts,tsx}'",
    "tdd": "cross-env NODE_ENV=test karma start",
    "test": "npm run lint && npm run test:ts && npm run testonly",
    "test:ts": "dtslint types",
    "testonly": "npm run tdd -- --single-run"
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged"
    }
  },
  "lint-staged": {
    "*.js": "eslint --fix",
    "*.{md,ts,tsx}": "prettier --write"
  },
  "prettier": {
    "printWidth": 79,
    "singleQuote": true,
    "trailingComma": "all"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/taion/scroll-behavior.git"
  },
  "keywords": [
    "scroll"
  ],
  "author": "Jimmy Jia",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/taion/scroll-behavior/issues"
  },
  "homepage": "https://github.com/taion/scroll-behavior#readme",
  "dependencies": {
    "dom-helpers": "^5.1.4",
    "invariant": "^2.2.4",
    "page-lifecycle": "^0.1.2"
  },
  "devDependencies": {
    "@4c/babel-preset": "^7.3.4",
    "@babel/cli": "^7.8.4",
    "@babel/core": "^7.9.0",
    "@babel/polyfill": "^7.8.7",
    "babel-loader": "^8.1.0",
    "babel-plugin-add-module-exports": "^1.0.2",
    "babel-plugin-istanbul": "^6.0.0",
    "babel-polyfill": "^6.26.0",
    "chai": "^4.2.0",
    "codecov": "^3.6.5",
    "cpy-cli": "^3.1.0",
    "cross-env": "^7.0.2",
    "dirty-chai": "^2.0.1",
    "dtslint": "^3.4.0",
    "eslint": "^6.8.0",
    "eslint-config-4catalyzer": "^1.1.1",
    "eslint-config-prettier": "^6.10.1",
    "eslint-plugin-import": "^2.20.2",
    "eslint-plugin-prettier": "^3.1.2",
    "history": "^2.1.2",
    "husky": "^4.2.3",
    "karma": "^4.4.1",
    "karma-chrome-launcher": "^3.1.0",
    "karma-coverage": "^2.0.1",
    "karma-firefox-launcher": "^1.3.0",
    "karma-mocha": "^1.3.0",
    "karma-mocha-reporter": "^2.2.5",
    "karma-sinon-chai": "^2.0.2",
    "karma-sourcemap-loader": "^0.3.7",
    "karma-webpack": "^4.0.2",
    "lint-staged": "^10.1.0",
    "mocha": "^7.1.1",
    "prettier": "^2.0.2",
    "sinon": "^9.0.1",
    "sinon-chai": "^3.5.0",
    "webpack": "^4.42.1"
  }
}
