UNPKG

react-native-tree-selection

Version:

A high-performance and lightweight tree selection library for React Native.

123 lines 3.17 kB
{ "name": "react-native-tree-selection", "version": "1.0.1", "description": "A high-performance and lightweight tree selection library for React Native.", "main": "lib/index", "types": "lib/index.d.ts", "contributors": [], "author": "Simform Solutions", "repository": { "type": "git", "url": "https://github.com/SimformSolutionsPvtLtd/react-native-tree-selection" }, "homepage": "https://github.com/SimformSolutionsPvtLtd/react-native-tree-selection#readme", "keywords": [ "react", "react-native", "typescript", "rn", "selection", "tree-selection", "select-list", "tree", "tree-view", "nested-tree", "nested-tree-dropdown", "dropdown", "nested-dropdown", "react-native-dropdown", "react-native-tree-dropdown", "react-native-tree-selection", "react-tree", "tree-ui", "ui-components", "android", "ios", "hierarchical", "hierarchical-view", "hierarchical-dropdown" ], "license": "MIT", "files": [ "/lib" ], "scripts": { "prepare": "husky install && yarn build", "clean": "rm -rf node_modules", "build": "rm -rf lib && tsc -p . && cp -R ./src/assets ./lib/ ", "lint": "eslint . --ext .js,.jsx,.ts,.tsx", "lint:fix": "eslint 'src/**/*.{js,jsx,ts,tsx}' -c .eslintrc --fix ", "build:local": "yarn build && yarn pack", "test": "jest", "example": "yarn --cwd example", "coverage": "yarn test -u --coverage --watchAll --collectCoverageFrom='src/components/**/*.{ts,tsx}'" }, "peerDependencies": { "react": "*", "react-native": "*" }, "devDependencies": { "@babel/core": "^7.12.9", "@babel/runtime": "^7.12.5", "@commitlint/cli": "^16.1.0", "@commitlint/config-conventional": "^16.0.0", "@react-native-community/eslint-config": "^3.0.1", "@testing-library/react-native": "^9.0.0", "@tsconfig/react-native": "^2.0.2", "@types/jest": "^27.4.0", "@types/lodash": "^4", "@types/react-native": "^0.69.5", "@types/react-test-renderer": "^18.0.0", "@typescript-eslint/eslint-plugin": "^5.29.0", "@typescript-eslint/parser": "^5.29.0", "babel-jest": "^27.4.6", "eslint": "^8", "eslint-plugin-simple-import-sort": "^8", "husky": "^8.0.1", "jest": "^27.4.7", "lint-staged": "^11.1.2", "lodash": "^4.17.21", "metro-react-native-babel-preset": "^0.70.3", "prettier": "^2.7.1", "react": "18.0.0", "react-native": "0.69.5", "react-test-renderer": "18.0.0", "typescript": "4.7.4" }, "husky": { "hooks": { "pre-commit": "lint-staged", "pre-push": "yarn build && yarn test" } }, "lint-staged": { "src/**/*.{js,ts,tsx}": [ "eslint" ] }, "resolutions": { "@types/react": "*" }, "jest": { "preset": "react-native", "moduleFileExtensions": [ "ts", "tsx", "js", "jsx", "json", "node" ], "setupFilesAfterEnv": [], "modulePathIgnorePatterns": [] }, "eslintIgnore": [ "node_modules/", "lib/" ], "commitlint": { "extends": [ "@commitlint/config-conventional" ] } }