UNPKG

react-scroll-to

Version:
120 lines (119 loc) 3.07 kB
{ "name": "react-scroll-to", "version": "3.0.0-beta.6", "description": "Scroll to a position using react", "main": "./dist/index.js", "types": "./dist", "scripts": { "test": "jest", "test:cover": "jest --coverage", "build": "webpack --config=./config/webpack.config.js --mode=development", "build:prod": "webpack --config=./config/webpack.config.js --mode=production", "prepublish": "npm run build:prod", "contributors:add": "all-contributors add", "contributors:generate": "all-contributors generate", "storybook": "start-storybook -p 9001 -c .storybook", "build:docs": "build-storybook -c .storybook -o docs" }, "peerDepedencies": { "react": ">= ^16.0.0", "react-dom": ">= ^16.0.0" }, "devDependencies": { "@babel/core": "7.5.5", "@babel/plugin-proposal-class-properties": "7.5.5", "@babel/preset-env": "7.5.5", "@babel/preset-react": "7.0.0", "@storybook/react": "5.1.9", "@testing-library/react": "8.0.5", "@types/react-dom": "^16.8.4", "@types/jest": "^24.0.13", "@types/node": "^12.0.4", "@types/react": "^16.8.19", "all-contributors-cli": "6.8.1", "babel-core": "7.0.0-bridge.0", "babel-jest": "24.8.0", "babel-loader": "8.0.6", "declaration-bundler-webpack-plugin": "^1.0.3", "eslint": "6.0.1", "eslint-config-airbnb": "17.1.1", "eslint-config-prettier": "6.0.0", "eslint-plugin-import": "2.18.1", "eslint-plugin-jsx-a11y": "6.2.3", "eslint-plugin-react": "7.14.2", "husky": "3.0.1", "jest": "24.8.0", "lint-staged": "9.2.0", "prettier": "1.18.2", "react": "16.8.6", "react-dom": "16.8.6", "ts-jest": "24.0.2", "ts-loader": "6.0.4", "typescript": "3.5.3", "webpack": "4.36.1", "webpack-cli": "3.3.6" }, "repository": { "type": "git", "url": "git+https://github.com/ganderzz/react-scroll-to.git" }, "keywords": [ "react", "scroll", "to", "window", "position" ], "author": "Dylan Paulus", "license": "MIT", "bugs": { "url": "https://github.com/ganderzz/react-scroll-to/issues" }, "homepage": "https://github.com/ganderzz/react-scroll-to#readme", "jest": { "setupFiles": [ "./src/tests/setup/shim.js" ], "globals": { "ts-jest": { "tsConfig": "./config/tsconfig.json" } }, "moduleFileExtensions": [ "ts", "tsx", "js", "jsx" ], "transform": { "^.+\\.jsx?$": "babel-jest", "^.+\\.tsx?$": "ts-jest" }, "collectCoverageFrom": [ "src/*.{js,jsx,ts,tsx}", "!src/definitions", "!src/tests", "!src/{setupTests,shim}.js", "!src/index.{js,jsx,ts,tsx}" ], "coverageThreshold": { "global": { "branches": 100, "functions": 100, "lines": 100, "statements": 100 } } }, "lint-staged": { "src/*.{js,jsx,ts,tsx}": [ "prettier --write", "git add" ] }, "husky": { "hooks": { "pre-commit": "lint-staged" } } }