UNPKG

@monchilin/react-native-dropdown

Version:
147 lines (146 loc) 3.5 kB
{ "name": "@monchilin/react-native-dropdown", "version": "0.2.3", "description": "Dropdown component for React Native", "main": "lib/commonjs/index", "module": "lib/module/index", "types": "lib/typescript/src/index.d.ts", "react-native": "src/index", "source": "src/index", "files": [ "src", "lib", "android", "ios", "cpp", "monchilin-react-dropdown.podspec", "!lib/typescript/example", "!**/__tests__" ], "scripts": { "test": "jest", "typescript": "tsc --noEmit", "lint": "eslint --ext .js,.ts,.tsx .", "prepare": "bob build", "release": "dotenv release-it", "example": "yarn --cwd example", "pods": "cd example && pod-install --quiet", "bootstrap": "yarn example && yarn && yarn pods" }, "keywords": [ "react-native-component", "react-component", "react-native", "select", "dropdown", "picker" ], "repository": "https://github.com/MonchiLin/react-native-dropdown", "author": "monchilin <monchilin2019@outlook.com> (https://github.com/MonchiLin)", "license": "MIT", "bugs": { "url": "https://github.com/MonchiLin/react-native-dropdown/issues" }, "homepage": "https://github.com/MonchiLin/react-native-dropdown#readme", "dependencies": { "modal-react-native-web": "^0.2.0", "react-dom": "^16.14.0" }, "devDependencies": { "@commitlint/config-conventional": "^11.0.0", "@react-native-community/bob": "^0.16.2", "@react-native-community/eslint-config": "^2.0.0", "@release-it/conventional-changelog": "^2.0.0", "@types/jest": "^26.0.15", "@types/react": "^16.9.53", "@types/react-native": "0.63.26", "commitlint": "^11.0.0", "dotenv-cli": "^4.0.0", "eslint": "^7.11.0", "eslint-config-prettier": "^6.13.0", "eslint-plugin-prettier": "^3.1.4", "husky": "^4.3.0", "jest": "^26.6.0", "pod-install": "^0.1.12", "prettier": "^2.1.2", "react": "^16.13.1", "react-native": "^0.62.2", "release-it": "^14.2.0", "typescript": "^4.0.3" }, "peerDependencies": { "react": "*", "react-native": "*" }, "jest": { "preset": "react-native", "modulePathIgnorePatterns": [ "<rootDir>/example/node_modules", "<rootDir>/lib/" ] }, "husky": { "hooks": { "commit-msg": "commitlint -E HUSKY_GIT_PARAMS", "pre-commit": "yarn lint && yarn typescript" } }, "eslintConfig": { "extends": [ "@react-native-community", "prettier" ], "rules": { "prettier/prettier": [ "error", { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "es5", "useTabs": false } ] } }, "eslintIgnore": [ "node_modules/", "lib/" ], "prettier": { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "es5", "useTabs": false }, "publishConfig": { "access": "public" }, "release-it": { "git": { "commitMessage": "chore: release ${version}", "tagName": "v${version}" }, "npm": { "publish": true }, "github": { "release": true }, "plugins": { "@release-it/conventional-changelog": { "preset": "angular" } } }, "@react-native-community/bob": { "source": "src", "output": "lib", "targets": [ "commonjs", "module", "typescript" ] } }