mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-02-05 22:50:32 +08:00
127 lines
3.4 KiB
JSON
127 lines
3.4 KiB
JSON
{
|
|
"name": "react-navigation-stack",
|
|
"version": "2.0.0-alpha.4",
|
|
"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/index.d.ts",
|
|
"sideEffects": false,
|
|
"files": [
|
|
"src",
|
|
"lib"
|
|
],
|
|
"scripts": {
|
|
"test": "jest",
|
|
"lint": "eslint --ext .js,.ts,.tsx .",
|
|
"typescript": "tsc --noEmit",
|
|
"prepare": "bob build",
|
|
"release": "release-it",
|
|
"example": "yarn --cwd example",
|
|
"bootstrap": "yarn example && yarn"
|
|
},
|
|
"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",
|
|
"dependencies": {
|
|
"react-native-safe-area-view": "^0.14.6"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.5.0",
|
|
"@commitlint/config-conventional": "^8.0.0",
|
|
"@expo/vector-icons": "^10.0.3",
|
|
"@react-native-community/bob": "^0.6.1",
|
|
"@react-navigation/core": "^3.4.2",
|
|
"@react-navigation/native": "^3.5.0",
|
|
"@release-it/conventional-changelog": "^1.1.0",
|
|
"@types/jest": "^24.0.15",
|
|
"@types/react": "^16.8.14",
|
|
"@types/react-native": "^0.57.51",
|
|
"@types/react-test-renderer": "^16.8.1",
|
|
"commitlint": "^8.0.0",
|
|
"eslint": "^5.16.0",
|
|
"eslint-config-satya164": "^2.4.1",
|
|
"eslint-plugin-react-native-globals": "^0.1.0",
|
|
"husky": "^3.0.0",
|
|
"jest": "^24.8.0",
|
|
"prettier": "^1.18.2",
|
|
"react": "16.8.3",
|
|
"react-dom": "16.8.3",
|
|
"react-native": "~0.59.8",
|
|
"react-native-gesture-handler": "^1.3.0",
|
|
"react-native-reanimated": "^1.1.0",
|
|
"react-native-screens": "^1.0.0-alpha.23",
|
|
"react-test-renderer": "16.8.3",
|
|
"release-it": "^12.3.2",
|
|
"scheduler": "^0.14.0",
|
|
"typescript": "^3.5.2"
|
|
},
|
|
"peerDependencies": {
|
|
"@react-navigation/core": "^3.0.0",
|
|
"@react-navigation/native": "^3.0.0",
|
|
"react": "*",
|
|
"react-native": "*",
|
|
"react-native-gesture-handler": "^1.0.0",
|
|
"react-native-reanimated": "^1.0.0",
|
|
"react-native-screens": "^1.0.0 || ^1.0.0-alpha"
|
|
},
|
|
"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-deprecated-tab-navigator|@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 lint && yarn test",
|
|
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
|
|
}
|
|
},
|
|
"@react-native-community/bob": {
|
|
"source": "src",
|
|
"output": "lib",
|
|
"targets": [
|
|
"commonjs",
|
|
"module",
|
|
"typescript"
|
|
]
|
|
}
|
|
}
|