UNPKG

react-hooks-visible

Version:

react intersectionObserver helper library.

125 lines (124 loc) 4.07 kB
{ "name": "react-hooks-visible", "version": "1.1.1", "license": "MIT", "description": "react intersectionObserver helper library.", "author": "kmkzt<info.pscreator@gmail.com>", "keywords": [ "react", "intersectionObserver", "visible" ], "main": "lib/index.cjs.js", "module": "lib/index.esm.js", "browser": "lib/index.min.js", "types": "lib/index.d.ts", "files": [ "lib/*.{js,ts}" ], "directories": { "lib": "lib", "doc": "README.md", "example": "src/example" }, "repository": "github:kmkzt/react-hooks-visible", "homepage": "https://github.com/kmkzt/react-hooks-visible", "bugs": { "url": "https://github.com/kmkzt/react-hooks-visible/issues", "email": "info.pscreator@gmail.com" }, "scripts": { "dev": "NODE_ENV=development webpack-dev-server", "prod": "npm-run-all build:*", "build:clear": "rimraf lib/* && rimraf docs/*", "build:rollup": "NODE_ENV=production rollup -c", "build:tsc": "NODE_ENV=production tsc --emitDeclarationOnly", "build:demo": "NODE_ENV=production webpack -p", "sample": "webpack-dev-server server.js", "test": "jest --passWithNoTests", "release": "release-it", "prepare": "yarn build:rollup; yarn build:tsc" }, "peerDependencies": { "react": ">=16.8" }, "devDependencies": { "@babel/core": "7.8.3", "@babel/plugin-proposal-class-properties": "7.8.3", "@babel/plugin-syntax-dynamic-import": "7.8.3", "@babel/plugin-transform-runtime": "7.8.3", "@babel/polyfill": "7.8.3", "@babel/preset-env": "7.8.3", "@babel/preset-react": "7.8.3", "@babel/preset-typescript": "7.8.3", "@rollup/plugin-commonjs": "11.0.2", "@rollup/plugin-json": "4.0.2", "@rollup/plugin-node-resolve": "7.1.1", "@rollup/plugin-replace": "2.3.1", "@types/autoprefixer": "9.5.0", "@types/babel-core": "6.25.6", "@types/babel__core": "7.1.2", "@types/dotenv-webpack": "1.7.0", "@types/eslint": "4.16.8", "@types/eslint-plugin-prettier": "2.2.0", "@types/html-webpack-plugin": "3.2.1", "@types/jest": "24.0.17", "@types/node": "12.7.2", "@types/node-sass": "4.11.0", "@types/prettier": "1.18.2", "@types/react": "16.9.2", "@types/react-dom": "16.8.5", "@types/rimraf": "2.0.2", "@types/uglifyjs-webpack-plugin": "1.1.0", "@types/webpack": "4.32.2", "@types/webpack-dev-server": "3.1.7", "@types/webpack-merge": "4.1.5", "@types/workbox-webpack-plugin": "4.1.0", "@typescript-eslint/eslint-plugin": "1.13.0", "@typescript-eslint/parser": "1.13.0", "@typescript-eslint/typescript-estree": "1.13.0", "autoprefixer": "9.6.1", "babel-core": "6.26.3", "babel-jest": "24.9.0", "babel-loader": "8.0.6", "babel-preset-es2015": "6.24.1", "babel-plugin-transform-react-remove-prop-types": "0.4.24", "css-loader": "2.1.1", "case-sensitive-paths-webpack-plugin": "2.3.0", "eslint": "5.16.0", "eslint-config-prettier": "4.3.0", "eslint-loader": "2.2.1", "eslint-plugin-prettier": "3.1.0", "eslint-plugin-react": "7.14.3", "eslint-plugin-react-hooks": "1.7.0", "fork-ts-checker-webpack-plugin": "4.1.0", "file-loader": "5.1.0", "html-loader": "0.5.5", "html-webpack-plugin": "3.2.0", "jest": "24.9.0", "node-sass": "4.12.0", "npm-run-all": "4.1.5", "postcss-loader": "3.0.0", "prettier": "1.18.2", "react": "16.9.0", "react-dom": "16.9.0", "release-it": "12.3.5", "resolve-url-loader": "3.1.0", "rimraf": "2.7.1", "rollup": "1.31.0", "rollup-plugin-babel": "4.4.0", "rollup-plugin-size-snapshot": "0.11.0", "rollup-plugin-sourcemaps": "0.5.0", "rollup-plugin-terser": "5.2.0", "sass-loader": "7.2.0", "style-loader": "0.23.1", "ts-loader": "6.0.4", "tsconfig-paths-webpack-plugin": "3.2.0", "typescript": "3.5.3", "webpack": "4.39.2", "webpack-cli": "3.3.6", "webpack-dev-server": "3.8.0", "webpack-merge": "4.2.1", "workbox-webpack-plugin": "4.3.1" } }