mirror of
https://github.com/status-im/react-navigation.git
synced 2025-02-24 17:18:09 +00:00
* Fix build * Latest version fixes Header * Fix propTypes from react-native leaking to web context * Update todo notice
36 lines
758 B
Plaintext
36 lines
758 B
Plaintext
{
|
|
"env": {
|
|
// For RN example development
|
|
"development": {
|
|
"presets": ["react-native"],
|
|
"plugins": [
|
|
"flow-react-proptypes",
|
|
"transform-flow-strip-types"
|
|
]
|
|
},
|
|
// For Jest
|
|
"test": {
|
|
"presets": ["react-native"],
|
|
"plugins": [
|
|
"transform-flow-strip-types"
|
|
]
|
|
},
|
|
// For publishing to NPM for RN
|
|
"publish-rn": {
|
|
"presets": ["react-native-syntax"],
|
|
"plugins": [
|
|
"flow-react-proptypes",
|
|
"transform-flow-strip-types"
|
|
]
|
|
},
|
|
// For publishing to NPM for web
|
|
"publish-web": {
|
|
"presets": ["es2015", "stage-1", "react"],
|
|
"plugins": [
|
|
"flow-react-proptypes",
|
|
"transform-flow-strip-types"
|
|
]
|
|
}
|
|
}
|
|
}
|