Files
react-navigation/packages/stack/package.json
2020-01-05 02:36:08 +01:00

133 lines
3.8 KiB
JSON

{
"name": "react-navigation-stack",
"version": "2.0.5",
"description": "Stack navigator component for React Navigation",
"main": "lib/commonjs/index.js",
"module": "lib/module/index.js",
"react-native": "lib/module/index.js",
"types": "lib/typescript/src/index.d.ts",
"sideEffects": false,
"files": [
"src",
"lib"
],
"scripts": {
"test": "jest",
"lint": "eslint --ext .js,.ts,.tsx .",
"typescript": "tsc --noEmit",
"prepare": "bob build",
"prerelease": "yarn sync",
"release": "release-it",
"example": "yarn --cwd example",
"bootstrap": "yarn example && yarn --ignore-scripts && yarn sync",
"sync": "bash scripts/sync-stack.sh",
"patch": "diff -ruN node_modules/@react-navigation/stack/src src/vendor > scripts/stack.patch; printf ''"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"keywords": [
"react-native-component",
"react-component",
"react-native",
"ios",
"android",
"stack"
],
"repository": {
"type": "git",
"url": "git+https://github.com/react-navigation/react-navigation-stack.git"
},
"author": "",
"license": "MIT",
"bugs": {
"url": "https://github.com/react-navigation/react-navigation-stack/issues"
},
"homepage": "https://github.com/react-navigation/react-navigation-stack#readme",
"devDependencies": {
"@babel/core": "^7.7.7",
"@commitlint/config-conventional": "^8.3.4",
"@expo/vector-icons": "^10.0.6",
"@react-native-community/bob": "^0.7.0",
"@react-native-community/masked-view": "^0.1.5",
"@react-navigation/stack": "^5.0.0-alpha.52",
"@release-it/conventional-changelog": "^1.1.0",
"@types/color": "^3.0.1",
"@types/jest": "^24.0.25",
"@types/react": "^16.9.17",
"@types/react-native": "^0.60.27",
"@types/react-test-renderer": "^16.9.1",
"commitlint": "^8.3.4",
"eslint": "^6.8.0",
"eslint-config-satya164": "^3.1.5",
"eslint-plugin-react-native-globals": "^0.1.0",
"husky": "^3.1.0",
"jest": "^24.9.0",
"prettier": "^1.19.1",
"react": "~16.9.0",
"react-dom": "~16.9.0",
"react-native": "~0.61.4",
"react-native-gesture-handler": "^1.5.3",
"react-native-safe-area-context": "^0.6.2",
"react-native-screens": "^2.0.0-alpha.22",
"react-navigation": "^4.0.10",
"react-test-renderer": "~16.9.0",
"release-it": "^12.4.3",
"scheduler": "^0.18.0",
"typescript": "^3.7.4"
},
"peerDependencies": {
"@react-native-community/masked-view": "^0.1.1",
"react": "*",
"react-native": "*",
"react-native-gesture-handler": "^1.5.0",
"react-native-safe-area-context": "^0.6.0",
"react-native-screens": "^1.0.0 || ^1.0.0-alpha.0 || ^2.0.0-alpha.20",
"react-navigation": "^4.0.10"
},
"jest": {
"preset": "react-native",
"testEnvironment": "node",
"setupFiles": [
"<rootDir>/jest-setup.js"
],
"coveragePathIgnorePatterns": [
"jest-setup.js"
],
"modulePathIgnorePatterns": [
"<rootDir>/example/",
"<rootDir>/lib/"
],
"transformIgnorePatterns": [
"node_modules/(?!(jest-)?react-native|react-clone-referenced-element|react-navigation|@react-navigation/core|@react-navigation/native)"
],
"testRegex": "/__tests__/.*\\.(test|spec)\\.(js|tsx?)$",
"transform": {
"^.+\\.(js|ts|tsx)$": "babel-jest"
}
},
"prettier": {
"trailingComma": "es5",
"singleQuote": true
},
"husky": {
"hooks": {
"pre-commit": "yarn typescript && yarn lint && yarn test",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"@react-native-community/bob": {
"source": "src",
"output": "lib",
"targets": [
"commonjs",
"module",
"typescript"
]
},
"dependencies": {
"color": "^3.1.2",
"react-native-iphone-x-helper": "^1.2.1"
}
}