UNPKG

react-native-indicate

Version:

Enhanced ScrollView with elements indicating scrollable overflow.

108 lines (107 loc) 2.93 kB
{ "name": "react-native-indicate", "description": "Enhanced ScrollView with elements indicating scrollable overflow.", "version": "3.0.2", "repository": "github:tobua/react-native-indicate", "license": "MIT", "author": "Matthias Giger", "scripts": { "app": "node create-app.js", "app:install": "npm i --no-save $(npm pack . | tail -1) --prefix app", "build": "esbuild index.tsx --outdir=dist --bundle --format=esm --platform=neutral --sourcemap --external:react-native --external:react --loader:.png=dataurl && tsc", "watch": "npm-run-all --parallel build:watch copy", "copy": "cpx 'dist/**/*' app/node_modules/reactigation/dist --watch", "build:watch": "esbuild index.tsx --watch --outdir=dist --bundle --format=esm --platform=neutral --sourcemap --external:react-native --external:react --loader:.png=dataurl", "test": "jest", "test:watch": "jest --watchAll", "lint": "eslint . --fix --ext .js,.jsx,.ts,.tsx", "format": "prettier \"{,!(app|dist)/**/}*.{ts,tsx}\" --write" }, "devDependencies": { "@react-native-community/cli": "^13.0.0", "@react-native/babel-preset": "^0.74.0", "@react-native/eslint-config": "^0.74.0", "@react-native/typescript-config": "^0.74.0", "@types/jest": "^29.5.11", "@types/node": "^20.10.4", "@types/react": "^18.2.43", "@types/react-native": "^0.72.8", "@types/react-test-renderer": "^18.0.7", "babel-jest": "^29.7.0", "cpx": "^1.5.0", "esbuild": "^0.19.9", "eslint": "^8.55.0", "eslint-plugin-flowtype": "^8.0.3", "eslint-plugin-prettier": "^5.0.1", "jest": "^29.7.0", "npm-run-all": "^4.1.5", "prettier": "^3.1.1", "react": "^18.2.0", "react-native": "^0.73.0", "react-test-renderer": "^18.2.0", "typescript": "^5.3.3" }, "peerDependencies": { "react": ">= 18", "react-native": ">= 0.70" }, "type": "module", "main": "./dist/index.js", "exports": { ".": { "types": "./dist/index.d.ts", "default": "./dist/index.js" } }, "types": "./dist/index.d.ts", "files": [ "dist" ], "keywords": [ "react-native", "scroll", "scrollview", "overflow", "indicate" ], "prettier": { "printWidth": 100, "semi": false, "singleQuote": true }, "eslintConfig": { "extends": "@react-native", "rules": { "semi": 0 }, "ignorePatterns": [ "dist", "app" ], "root": true }, "jest": { "moduleFileExtensions": [ "ts", "tsx", "js", "jsx", "json", "node" ], "moduleNameMapper": { "react-dom": "react-native", "react-native-indicate": "<rootDir>" }, "preset": "react-native", "testPathIgnorePatterns": [ "/app/" ], "transformIgnorePatterns": [ "node_modules/(?!react-native|@react-native)" ] }, "publishConfig": { "provenance": true } }