mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-01-12 22:51:18 +08:00
69 lines
1.9 KiB
JSON
69 lines
1.9 KiB
JSON
{
|
|
"description": "Rethinking navigation",
|
|
"private": true,
|
|
"workspaces": {
|
|
"packages": [
|
|
"packages/*"
|
|
]
|
|
},
|
|
"publishConfig": {
|
|
"registry": "https://registry.npmjs.org/"
|
|
},
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/satya164/react-navigation.git"
|
|
},
|
|
"author": "Satyajit Sahoo <satyajit.happy@gmail.com> (https://github.com/satya164/), Michał Osadnik <micosa97@gmail.com> (https://github.com/osdnk/)",
|
|
"scripts": {
|
|
"lint": "eslint --ext '.js,.ts,.tsx' .",
|
|
"typescript": "tsc --noEmit",
|
|
"test": "jest",
|
|
"example": "yarn --cwd packages/example"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/plugin-proposal-class-properties": "^7.5.5",
|
|
"@babel/preset-env": "^7.5.5",
|
|
"@babel/preset-react": "^7.0.0",
|
|
"@babel/preset-typescript": "^7.3.3",
|
|
"@babel/runtime": "^7.5.5",
|
|
"@commitlint/config-conventional": "^8.0.0",
|
|
"@types/jest": "^24.0.13",
|
|
"codecov": "^3.5.0",
|
|
"commitlint": "^8.0.0",
|
|
"core-js": "^3.1.4",
|
|
"eslint": "^5.16.0",
|
|
"eslint-config-satya164": "^2.4.1",
|
|
"husky": "^2.4.0",
|
|
"jest": "^24.8.0",
|
|
"lerna": "^3.16.4",
|
|
"prettier": "^1.18.2",
|
|
"typescript": "^3.5.3"
|
|
},
|
|
"resolutions": {
|
|
"react": "16.8.3",
|
|
"react-native": "https://github.com/expo/react-native/archive/sdk-34.0.0.tar.gz",
|
|
"react-native-safe-area-view": "0.14.6"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
|
|
"pre-commit": "yarn lint && yarn typescript && yarn test"
|
|
}
|
|
},
|
|
"jest": {
|
|
"testEnvironment": "node",
|
|
"testRegex": "/__tests__/.*\\.(test|spec)\\.(js|tsx?)$",
|
|
"transform": {
|
|
"^.+\\.(js|ts|tsx)$": "babel-jest"
|
|
},
|
|
"setupFiles": [
|
|
"<rootDir>/jest/setup.js"
|
|
],
|
|
"moduleNameMapper": {
|
|
"@react-navigation/([^/]+)": "<rootDir>/packages/$1/src"
|
|
}
|
|
},
|
|
"name": "react-navigation"
|
|
}
|