UNPKG

react-native-scroll-to-child

Version:
186 lines (185 loc) 6.15 kB
{ "$schema": "https://json.schemastore.org/package.json", "name": "react-native-scroll-to-child", "packageManager": "pnpm@10.25.0", "private": false, "version": "0.2.1", "description": "Scroll a ScrollView's child into the visible viewport", "main": "./dist/index.cjs", "module": "./dist/index.js", "types": "./dist/index.d.ts", "type": "module", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "module": "./dist/index.js", "require": "./dist/index.cjs" } }, "repository": { "type": "git", "url": "git+https://github.com/filiphsps/react-native-scroll-to-child.git" }, "files": [ "dist", "README.md", "LICENSE" ], "keywords": [ "react-native", "react", "scrollIntoView", "form", "scroll", "into", "view", "expo", "visible" ], "author": "Filiph Sandström", "contributors": [ { "name": "Filiph Sandström", "email": "filfat@hotmail.se", "url": "https://github.com/filiphsps" } ], "license": "MIT", "bugs": { "url": "https://github.com/filiphsps/react-native-scroll-to-child/issues" }, "homepage": "https://github.com/filiphsps/react-native-scroll-to-child#README", "scripts": { "build": "tsup", "watch": "tsup --watch", "prepublish": "pnpm build && pnpm configure:publish", "configure:publish": "json -I -f package.json -e 'this.main=\"build/index.js\"'", "test": "jest --passWithNoTests", "lint": "eslint ./src/*.* ./src/**/*.*", "typecheck": "tsc --noEmit", "prettier": "prettier \"src/**/*.{ts,tsx}\" --check", "format": "concurrently pnpm:format:*", "format:eslint": "eslint --fix ./src/*.* ./src/**/*.*", "format:prettier": "prettier --write \"./src/**/*.{cjs,mjs,ts,tsx,scss,json}\"" }, "peerDependencies": { "react": "*", "react-native": "*" }, "devDependencies": { "@babel/plugin-transform-private-methods": "7.27.1", "@babel/preset-typescript": "7.28.5", "@eslint/eslintrc": "3.3.3", "@eslint/js": "9.39.2", "@jest/globals": "30.2.0", "@react-native/babel-preset": "0.83.0", "@semantic-release/changelog": "6.0.3", "@semantic-release/commit-analyzer": "13.0.1", "@semantic-release/git": "10.0.1", "@semantic-release/npm": "13.1.3", "@semantic-release/release-notes-generator": "14.1.0", "@testing-library/react-native": "13.3.3", "@types/jest": "^30.0.0", "@types/react": "19.2.7", "@typescript-eslint/eslint-plugin": "8.49.0", "@typescript-eslint/parser": "8.49.0", "babel-jest": "30.2.0", "concurrently": "9.2.1", "eslint-config-prettier": "10.1.8", "eslint-plugin-jsx-a11y": "6.10.2", "eslint-plugin-prettier": "5.5.4", "eslint-plugin-react-compiler": "19.1.0-rc.2", "eslint-plugin-react": "7.37.5", "eslint-plugin-simple-import-sort": "12.1.1", "eslint-plugin-unused-imports": "4.3.0", "eslint": "9.39.2", "globals": "16.5.0", "jest": "30.2.0", "json": "11.0.0", "lodash": "4.17.21", "prettier-eslint": "16.4.2", "prettier": "3.7.4", "react-native": "0.83.0", "react": "19.2.3", "rimraf": "6.1.2", "semantic-release": "25.0.2", "ts-jest": "29.4.6", "ts-node": "10.9.2", "tsup": "8.5.1", "typescript": "5.9.3" }, "release": { "repositoryUrl": "https://github.com/filiphsps/react-native-scroll-to-child", "branches": [ "master" ], "plugins": [ [ "@semantic-release/commit-analyzer", { "preset": "angular", "releaseRules": [ { "type": "*", "release": false }, { "type": "deps", "release": false }, { "type": "chore", "scope": "deps", "release": false }, { "breaking": true, "release": "minor" }, { "type": "feat", "release": "patch" } ], "parserOpts": { "noteKeywords": [ "BREAKING CHANGE", "BREAKING CHANGES" ] } } ], [ "@semantic-release/release-notes-generator", { "preset": "angular", "parserOpts": { "noteKeywords": [ "BREAKING CHANGE", "BREAKING CHANGES", "BREAKING" ] }, "writerOpts": { "commitsSort": [ "subject", "scope" ] } } ], "@semantic-release/changelog", "@semantic-release/npm", [ "@semantic-release/git", { "assets": [ "CHANGELOG.md" ], "message": "chore(release): 🚀 ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" } ] ] } }