{
  "name": "@kohlmannj/react-scroll-percentage",
  "version": "3.0.0-alpha.13",
  "description": "Monitor the scroll percentage of a component inside the viewport, using the IntersectionObserver API.",
  "main": "dist/react-scroll-percentage.cjs.js",
  "jsnext:main": "dist/react-scroll-percentage.esm.js",
  "module": "dist/react-scroll-percentage.esm.js",
  "unpkg": "dist/react-scroll-percentage.umd.min.js",
  "types": "dist/index.d.ts",
  "files": [
    "dist/*",
    "src/*"
  ],
  "author": "Daniel Schmidt",
  "maintainers": [
    "Joseph Kohlmann <kohlmannj@mac.com>"
  ],
  "repository": {
    "type": "git",
    "url": "https://github.com/kohlmannj/react-scroll-percentage"
  },
  "publishConfig": {
    "access": "public"
  },
  "license": "MIT",
  "keywords": [
    "react",
    "component",
    "viewport",
    "intersection",
    "scroll",
    "inview"
  ],
  "scripts": {
    "build": "rm -rf dist && npm run build:lib && npm run build:dts",
    "build:lib": "concurrently npm:rollup:*",
    "build:storybook": "build-storybook --output-dir example",
    "build:dts": "tsc -p tsconfig.json --emitDeclarationOnly",
    "dev": "rm -rf dist && concurrently 'npm run rollup:es -- -w' 'npm run build:dts -- --watch'",
    "lint": "tslint -p . -t stylish",
    "rollup:es": "rollup -c --environment FORMAT:es",
    "rollup:cjs": "rollup -c --environment FORMAT:cjs",
    "rollup:umd": "rollup -c --environment FORMAT:umd",
    "rollup:umd.min": "rollup -c --environment MINIFY,FORMAT:umd",
    "precommit": "tsc --noEmit && lint-staged",
    "postcommit": "git update-index --again",
    "prepare": "npm run build",
    "pretty": "prettier '**/*.{js,json,ts,md}' --write",
    "storybook": "start-storybook -p 9000",
    "test": "jest"
  },
  "lint-staged": {
    "*.{json,css,md}": [
      "prettier --write",
      "git add"
    ],
    "src/**/*.{js,jsx,ts,jsx}": [
      "prettier --write",
      "npm run lint -- --fix",
      "jest --findRelatedTests",
      "git add"
    ]
  },
  "jest": {
    "testEnvironment": "jsdom",
    "snapshotSerializers": [
      "enzyme-to-json/serializer"
    ],
    "setupFiles": [
      "<rootDir>/scripts/jest-setup.js"
    ]
  },
  "peerDependencies": {
    "@kohlmannj/react-intersection-observer": "^7.0.0 || ^7.0.0-alpha.6",
    "invariant": "^2.2.4",
    "react": "^16.3.0 || ^17.0.0"
  },
  "devDependencies": {
    "@babel/cli": "^7.1.2",
    "@babel/core": "^7.1.2",
    "@babel/plugin-external-helpers": "^7.0.0",
    "@babel/plugin-proposal-class-properties": "^7.1.0",
    "@babel/plugin-proposal-decorators": "^7.1.2",
    "@babel/plugin-proposal-export-namespace-from": "^7.0.0",
    "@babel/plugin-proposal-function-sent": "^7.1.0",
    "@babel/plugin-proposal-json-strings": "^7.0.0",
    "@babel/plugin-proposal-numeric-separator": "^7.0.0",
    "@babel/plugin-proposal-throw-expressions": "^7.0.0",
    "@babel/plugin-syntax-dynamic-import": "^7.0.0",
    "@babel/plugin-syntax-import-meta": "^7.0.0",
    "@babel/preset-env": "^7.1.0",
    "@babel/preset-react": "^7.0.0",
    "@babel/preset-typescript": "^7.1.0",
    "@babel/runtime": "^7.1.2",
    "@kohlmannj/react-intersection-observer": "^7.0.0 || ^7.0.0-alpha.6",
    "@storybook/addon-actions": "^4.0.0",
    "@storybook/addon-options": "^4.0.0",
    "@storybook/react": "^4.0.0",
    "@types/enzyme": "^3.1.14",
    "@types/invariant": "^2.2.29",
    "@types/jest": "^23.3.8",
    "@types/react": "^16.4.18",
    "@types/storybook__addon-actions": "^3.4.1",
    "@types/storybook__react": "^3.0.9",
    "babel-core": "^7.0.0-bridge.0",
    "babel-eslint": "^10.0.1",
    "babel-jest": "^23.6.0",
    "concurrently": "^4.0.1",
    "enzyme": "^3.7.0",
    "enzyme-adapter-react-16": "^1.6.0",
    "enzyme-to-json": "^3.3.4",
    "eslint": "^5.0.1",
    "eslint-config-insilico": "^5.2.0",
    "husky": "^1.1.2",
    "intersection-observer": "^0.5.1",
    "invariant": "^2.2.4",
    "jest": "^23.2.0",
    "lint-staged": "^7.2.0",
    "np": "^3.0.4",
    "prettier": "^1.14.3",
    "react": "^16.6.0",
    "react-dom": "^16.6.0",
    "react-test-renderer": "^16.6.0",
    "rollup": "^1.1.0",
    "rollup-plugin-babel": "^4.3.0",
    "rollup-plugin-commonjs": "^9.2.0",
    "rollup-plugin-node-resolve": "^4.0.0",
    "rollup-plugin-replace": "^2.1.0",
    "rollup-plugin-uglify": "^6.0.1",
    "tslint": "^5.11.0",
    "tslint-config-prettier": "^1.15.0",
    "typescript": "^3.1.4"
  }
}
