UNPKG

react-native-tree-multi-select

Version:

A super-fast, customizable tree view component for React Native with multi-selection, checkboxes, and search filtering capabilities.

232 lines (231 loc) 6.46 kB
{ "name": "react-native-tree-multi-select", "version": "1.9.4", "description": "A super-fast, customizable tree view component for React Native with multi-selection, checkboxes, and search filtering capabilities.", "main": "lib/commonjs/index.js", "module": "lib/module/index.js", "types": "lib/typescript/index.d.ts", "react-native": "src/index.tsx", "source": "src/index.tsx", "files": [ "src", "lib", "android", "ios", "cpp", "*.podspec", "!lib/typescript/example", "!ios/build", "!android/build", "!android/gradle", "!android/gradlew", "!android/gradlew.bat", "!android/local.properties", "!**/__tests__", "!**/__fixtures__", "!**/__mocks__", "!**/.*" ], "scripts": { "test": "jest", "test:cov": "jest --coverage --maxWorkers=2 --coverageReporters=\"json-summary\" --coverageReporters=\"html\"", "typecheck": "tsc --noEmit", "lint": "eslint \"**/*.{js,ts,tsx}\"", "prepack": "bob build", "release": "release-it", "example": "yarn --cwd example", "build:android": "cd example/android && ./gradlew assembleDebug --no-daemon --console=plain -PreactNativeArchitectures=arm64-v8a", "build:ios": "cd example/ios && pod install && xcodebuild -workspace TreeMultiSelectExample.xcworkspace -scheme TreeMultiSelectExample -configuration Debug -sdk iphonesimulator CC=clang CPLUSPLUS=clang++ LD=clang LDPLUSPLUS=clang++ GCC_OPTIMIZATION_LEVEL=0 GCC_PRECOMPILE_PREFIX_HEADER=YES ASSETCATALOG_COMPILER_OPTIMIZATION=time DEBUG_INFORMATION_FORMAT=dwarf COMPILER_INDEX_STORE_ENABLE=NO", "bootstrap": "yarn example && yarn install && yarn example pods && yarn patch-package", "clean": "del-cli android/build example/android/build example/android/app/build example/ios/build" }, "keywords": [ "react-native", "ios", "android", "react-component", "treeview", "tree-view", "tree-select", "checkbox", "react-tree-view", "react-tree-select", "react-checkbox-tree", "react-native-tree-view", "react-native-tree-select", "react-native-checkbox-list", "react-native-tree-checkbox", "tree-structure", "hierarchical-list", "collapsible-list", "nested-list", "multi-select", "dropdown-menu", "expandable-list", "customizable", "expo", "web" ], "repository": { "type": "git", "url": "https://github.com/JairajJangle/react-native-tree-multi-select.git" }, "author": "Jairaj Jangle <reachout.jairaj.jangle@gmail.com> (https://github.com/JairajJangle)", "license": "MIT", "bugs": { "url": "https://github.com/JairajJangle/react-native-tree-multi-select/issues", "email": "reachout.jairaj.jangle@gmail.com" }, "homepage": "https://github.com/JairajJangle/react-native-tree-multi-select#readme", "publishConfig": { "registry": "https://registry.npmjs.org/", "provenance": true }, "devDependencies": { "@commitlint/config-conventional": "^19.7.1", "@evilmartians/lefthook": "^1.10.10", "@react-native-community/eslint-config": "^3.2.0", "@release-it/conventional-changelog": "^10.0.0", "@semantic-release/changelog": "^6.0.3", "@semantic-release/git": "^10.0.1", "@semantic-release/github": "^11.0.1", "@semantic-release/npm": "^12.0.1", "@shopify/flash-list": "1.x.x", "@testing-library/jest-native": "^5.4.3", "@testing-library/react-native": "^12.6.1", "@types/color": "^3.0.6", "@types/jest": "^29.5.3", "@types/react": "^18.0.24", "@types/react-native": "0.70.0", "@types/react-native-vector-icons": "^6.4.18", "@types/react-test-renderer": "18.3.0", "commitlint": "^19.4.1", "del-cli": "^5.1.0", "eslint": "^8.4.1", "eslint-config-prettier": "^8.5.0", "eslint-plugin-prettier": "^4.0.0", "jest": "^29.7.0", "patch-package": "^8.0.0", "prettier": "^3.3.3", "react": "18.2.0", "react-native": "^0.72.15", "react-native-builder-bob": "^0.30.0", "react-native-paper": "5.x.x", "react-test-renderer": "18.2.0", "release-it": "^18.1.2", "semantic-release": "^24.1.0", "ts-jest": "^29.1.1", "turbo": "^2.1.0", "typescript": "^5.0.2" }, "peerDependencies": { "@shopify/flash-list": "1.x.x", "react": "*", "react-native": "*", "react-native-paper": "5.x.x", "react-native-vector-icons": "*" }, "engines": { "node": ">= 18.0.0" }, "packageManager": "yarn@1.22.22", "jest": { "preset": "react-native", "setupFilesAfterEnv": [ "./src/jest.setup.ts" ], "transformIgnorePatterns": [ "node_modules/(?!(jest-)?react-native|@react-native-community|@react-navigation|@react-native/js-polyfills)" ], "modulePathIgnorePatterns": [ "<rootDir>/example/node_modules", "<rootDir>/lib/" ], "collectCoverage": true, "coverageReporters": [ "json", "html" ] }, "commitlint": { "extends": [ "@commitlint/config-conventional" ] }, "release-it": { "git": { "commitMessage": "chore: release ${version}", "tagName": "v${version}" }, "npm": { "publish": true }, "github": { "release": true }, "plugins": { "@release-it/conventional-changelog": { "preset": "angular" } } }, "eslintConfig": { "root": true, "extends": [ "@react-native-community", "prettier" ], "rules": { "prettier/prettier": "off", "quotes": [ "error", "double" ] } }, "eslintIgnore": [ "node_modules/", "coverage/", "lib/" ], "prettier": { "quoteProps": "consistent", "singleQuote": false, "tabWidth": 2, "trailingComma": "es5", "useTabs": false }, "react-native-builder-bob": { "source": "src", "output": "lib", "targets": [ "commonjs", "module", [ "typescript", { "project": "tsconfig.build.json" } ] ] }, "dependencies": { "fast-is-equal": "^1.0.2", "react-native-uuid": "^2.0.3", "zustand": "^5.0.3" }, "funding": [ { "type": "individual", "url": "https://www.paypal.com/paypalme/jairajjangle001/usd" }, { "type": "individual", "url": "https://liberapay.com/FutureJJ/donate" }, { "type": "individual", "url": "https://ko-fi.com/futurejj" } ] }