UNPKG

native-base

Version:

Essential cross-platform UI components for React Native

235 lines (234 loc) 6.74 kB
{ "name": "native-base", "description": "Essential cross-platform UI components for React Native", "sideEffects": false, "keywords": [ "android", "ios", "react", "native", "react-native", "native-modules", "react-component", "navbar", "packager" ], "scripts": { "test": "node_modules/.bin/jest", "typescript": "tsc --noEmit", "prepare": "bob build", "release": "release-it", "example": "yarn --cwd example", "pods": "cd example && pod-install --quiet", "bootstrap": "yarn example && yarn && yarn pods", "build:web": "rollup --config", "bundle:analysis": "visualize-bundle", "commit-test": "yarn prepare && cd example && yarn test && cd .." }, "lint-staged": { "src/**/*.{js,ts,tsx}": [ "eslint" ], "example/**/*.{js,ts,tsx}": [ "eslint" ], "*.{json,md,html}": [ "prettier --write" ] }, "version": "3.4.5", "license": "MIT", "private": false, "main": "lib/commonjs/index", "module": "lib/module/index", "types": "lib/typescript/src/index.d.ts", "react-native": "src/index", "source": "src/index", "typings": "lib/typescript/index.d.ts", "devDependencies": { "@commitlint/config-conventional": "^8.3.4", "@react-native-community/bob": "^0.16.2", "@react-native-community/eslint-config": "^2.0.0", "@release-it/conventional-changelog": "^1.1.4", "@testing-library/react-hooks": "^5.0.3", "@testing-library/react-native": "^7.1.0", "@types/jest": "^26.0.0", "@types/lodash.clonedeep": "^4.5.6", "@types/lodash.get": "^4.4.6", "@types/lodash.isempty": "^4.4.6", "@types/lodash.isequal": "^4.5.5", "@types/lodash.isnil": "^4.0.6", "@types/lodash.merge": "^4.6.6", "@types/lodash.mergewith": "^4.6.6", "@types/lodash.omit": "^4.5.6", "@types/lodash.omitby": "^4.6.6", "@types/lodash.pick": "^4.4.6", "@types/react": "^16.9.19", "@types/react-native": "~0.63.2", "@types/tinycolor2": "^1.4.2", "babel-plugin-transform-remove-console": "^6.9.4", "commitlint": "^8.3.5", "eslint": "^7.10.0", "eslint-config-prettier": "^6.11.0", "eslint-plugin-prettier": "^3.1.3", "husky": "^4.2.5", "jest": "^26.0.1", "jest-expo": "^40.0.1", "lint-staged": "^11.1.1", "metro-react-native-babel-preset": "^0.64.0", "pod-install": "^0.1.0", "postinstall-postinstall": "^2.1.0", "prettier": "^2.0.5", "react": "17.0.1", "react-dom": "17.0.1", "react-native": "0.63.2", "react-native-safe-area-context": "^3.1.9", "react-native-svg": "^12.1.0", "react-native-web": "^0.17.7", "react-test-renderer": "^16.9.0", "release-it": "^13.5.8", "rollup": "^2.34.1", "rollup-plugin-flow": "^1.1.1", "typescript": "4.6", "visualize-bundle": "^1.4.0" }, "peerDependencies": { "@types/react": "*", "@types/react-native": "*", "react": "*", "react-dom": "*", "react-native": "*", "react-native-safe-area-context": "*", "react-native-svg": "*" }, "jest": { "preset": "jest-expo", "transform": { "^.+\\.js$": "<rootDir>/node_modules/react-native/jest/preprocessor.js" }, "modulePathIgnorePatterns": [ "<rootDir>/example/*", "<rootDir>/lib/" ], "transformIgnorePatterns": [ "node_modules/(?!(@react-native|react-native|expo-asset|expo-constants|@unimodules|react-native-unimodules|expo-font|react-native-svg|@expo/vector-icons|react-native-vector-icons|@react-native-aria/checkbox|@react-native-aria/interactions|@react-native-aria/button|@react-native-aria/switch|@react-native-aria/toggle|@react-native-aria/utils|@react-native-aria/*))" ], "setupFiles": [ "<rootDir>/src/jest/mock.ts" ] }, "husky": { "hooks": { "commit-msg": "commitlint -E HUSKY_GIT_PARAMS", "pre-commit": "yarn lint-staged" } }, "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" } } }, "eslintIgnore": [ "node_modules/", "lib/", "cli.js", "example/webpack.config.js", "example/babel.config.js", "example/metro.config.js" ], "prettier": { "quoteProps": "consistent", "singleQuote": true, "tabWidth": 2, "trailingComma": "es5", "useTabs": false }, "@react-native-community/bob": { "source": "src", "output": "lib", "targets": [ [ "commonjs" ], [ "module" ], "typescript" ] }, "dependencies": { "@react-aria/focus": "^3.2.3", "@react-aria/utils": "^3.6.0", "@react-aria/visually-hidden": "^3.2.1", "@react-native-aria/button": "^0.2.4", "@react-native-aria/checkbox": "^0.2.2", "@react-native-aria/combobox": "^0.2.4-alpha.0", "@react-native-aria/focus": "^0.2.4", "@react-native-aria/interactions": "^0.2.2", "@react-native-aria/listbox": "^0.2.4-alpha.3", "@react-native-aria/overlays": "0.3.3-rc.0", "@react-native-aria/radio": "^0.2.4", "@react-native-aria/slider": "^0.2.5-alpha.1", "@react-native-aria/tabs": "^0.2.7", "@react-native-aria/utils": "^0.2.8", "@react-stately/checkbox": "3.0.3", "@react-stately/collections": "^3.3.0", "@react-stately/combobox": "^3.0.0-alpha.1", "@react-stately/radio": "^3.2.1", "@react-stately/slider": "^3.0.1", "@react-stately/tabs": "^3.0.0-alpha.1", "@react-stately/toggle": "^3.2.1", "@types/lodash.has": "^4.5.6", "lodash.clonedeep": "^4.5.0", "lodash.get": "^4.4.2", "lodash.has": "^4.5.2", "lodash.isempty": "^4.4.0", "lodash.isequal": "^4.5.0", "lodash.isnil": "^4.0.0", "lodash.merge": "^4.6.2", "lodash.mergewith": "^4.6.2", "lodash.omit": "^4.5.0", "lodash.omitby": "^4.6.0", "lodash.pick": "^4.4.0", "react-native-keyboard-aware-scroll-view": "^0.9.5", "stable-hash": "^0.0.2", "tinycolor2": "^1.4.2" }, "directories": { "example": "example", "lib": "lib" }, "gitHead": "5bbeacc403ba97622703699132c55d8359344004", "homepage": "https://github.com/GeekyAnts/NativeBase#readme", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git+https://github.com/GeekyAnts/NativeBase.git" }, "collective": { "type": "opencollective", "url": "https://opencollective.com/NativeBase" }, "files": [ "src", "lib", "cli.js" ] }