UNPKG

react-navigation-drawer

Version:

Drawer navigator component for React Navigation

125 lines (124 loc) 3.39 kB
{ "name": "react-navigation-drawer", "version": "2.2.0", "description": "Drawer navigator component for React Navigation", "main": "lib/commonjs/index.js", "react-native": "lib/module/index.js", "module": "lib/module/index.js", "types": "lib/typescript/index.d.ts", "files": [ "src", "lib" ], "scripts": { "test": "jest", "lint": "eslint --ext .js,.ts,.tsx .", "typescript": "tsc --noEmit", "example": "yarn --cwd example", "bootstrap": "yarn example && yarn", "prepare": "bob build", "release": "release-it" }, "publishConfig": { "registry": "https://registry.npmjs.org/" }, "keywords": [ "react-native-component", "react-component", "react-native", "ios", "android", "drawer", "material" ], "repository": { "type": "git", "url": "git+https://github.com/react-navigation/drawer.git" }, "author": "", "license": "MIT", "bugs": { "url": "https://github.com/react-navigation/drawer/issues" }, "homepage": "https://github.com/react-navigation/drawer#readme", "devDependencies": { "@babel/core": "^7.4.3", "@commitlint/config-conventional": "^7.5.0", "@expo/vector-icons": "^10.0.1", "@react-native-community/bob": "^0.3.4", "@release-it/conventional-changelog": "^1.1.0", "@types/jest": "^24.0.11", "@types/react": "^16.8.13", "@types/react-native": "^0.57.49", "@types/react-test-renderer": "^16.8.1", "babel-jest": "^24.7.1", "commitlint": "^7.5.2", "escape-string-regexp": "^1.0.5", "eslint": "^5.16.0", "eslint-config-satya164": "^2.4.1", "eslint-plugin-react-native-globals": "^0.1.0", "husky": "^1.3.1", "jest": "^24.7.1", "prettier": "^1.17.0", "react": "16.8.3", "react-dom": "16.8.3", "react-lifecycles-compat": "^3.0.4", "react-native": "~0.59.10", "react-native-gesture-handler": "^1.1.0", "react-native-reanimated": "^1.2.0", "react-native-screens": "^1.0.0-alpha.23", "react-native-testing-library": "^1.7.0", "react-navigation": "^4.0.4", "react-test-renderer": "16.8.6", "release-it": "^12.3.6", "typescript": "^3.4.5" }, "dependencies": {}, "peerDependencies": { "react": "*", "react-native": "*", "react-native-gesture-handler": "^1.0.12", "react-native-reanimated": "^1.0.0", "react-native-screens": "^1.0.0 || ^1.0.0-alpha", "react-navigation": "^4.0.4" }, "jest": { "preset": "react-native", "setupFiles": [ "<rootDir>/jest-setup.js" ], "coveragePathIgnorePatterns": [ "jest-setup.js" ], "modulePathIgnorePatterns": [ "<rootDir>/example/" ], "transformIgnorePatterns": [ "node_modules/(?!(jest-)?react-native|react-navigation|@react-navigation/core|@react-navigation/native)" ], "testPathIgnorePatterns": [ "/node_modules/", "/lib/" ], "testRegex": "/__tests__/.*\\.(test|spec)\\.(js|tsx?)$", "testEnvironment": "node", "transform": { "^.+\\.(js|ts|tsx)$": "babel-jest" } }, "husky": { "hooks": { "pre-commit": "yarn lint && yarn typescript && yarn test", "commit-msg": "commitlint -E HUSKY_GIT_PARAMS" } }, "@react-native-community/bob": { "source": "src", "output": "lib", "targets": [ "commonjs", "module", "typescript" ] } }