chore: update build config

This commit is contained in:
Satyajit Sahoo
2018-11-06 16:46:59 +01:00
parent 17ed596384
commit 13128f02a0
5 changed files with 2356 additions and 447 deletions

View File

@@ -16,8 +16,9 @@
"prop-types": "^15.6.0",
"react": "16.3.1",
"react-native": "~0.55.4",
"react-native-paper": "2.0.1",
"react-navigation": "^3.0.0-rc"
"react-native-paper": "^2.2.2",
"react-navigation": "^3.0.0-rc",
"react-navigation-stack": "^1.0.0-alpha.33"
},
"devDependencies": {
"babel-plugin-module-resolver": "^3.0.0",

View File

@@ -486,10 +486,10 @@
lodash "^4.17.10"
to-fast-properties "^2.0.0"
"@callstack/react-theme-provider@^1.0.3":
version "1.0.6"
resolved "https://registry.yarnpkg.com/@callstack/react-theme-provider/-/react-theme-provider-1.0.6.tgz#6298708c811f287d2bad2e10df0783b8b8e4c53d"
integrity sha512-v2lAll0Xd8Dhb6kyIH2vF7DbS6oa7aRxdfsV50M8m4CbGcYzd3GDhi2/N8w62rkyHBbL511r+wQ8UzxzqlsH1A==
"@callstack/react-theme-provider@^1.0.7":
version "1.0.7"
resolved "https://registry.yarnpkg.com/@callstack/react-theme-provider/-/react-theme-provider-1.0.7.tgz#2d2fd1a1d965f36165eaa2e4da28aed1ade75484"
integrity sha512-NTjvHadSLja5KruFXThC6rwLrewzbPSZFefgl5hTWXVZ40BsIDn3744AgregeuGTM3249K1cE9uN7UKua87pKQ==
dependencies:
create-react-context "^0.2.1"
deepmerge "^2.1.1"
@@ -524,7 +524,19 @@
pouchdb-collections "^1.0.1"
tiny-queue "^0.2.1"
"@react-navigation/core@3.0.0-alpha.18", "@react-navigation/core@^3.0.0-alpha":
"@react-navigation/core@3.0.0-alpha.19":
version "3.0.0-alpha.19"
resolved "https://registry.yarnpkg.com/@react-navigation/core/-/core-3.0.0-alpha.19.tgz#262f3eb17d4171aaa9229695693d6d877b156bbe"
integrity sha512-INlFaXWOIzQqQV2EESr3wn+qYSSEy90iWBthQFiQ/bNofuSJ8fKqhftYGCI7u2ZKjXbKXc7qF5WfhgyDx9LNjQ==
dependencies:
create-react-context "^0.2.3"
hoist-non-react-statics "^3.0.1"
path-to-regexp "^1.7.0"
query-string "^6.2.0"
react-is "^16.5.2"
react-lifecycles-compat "^3.0.4"
"@react-navigation/core@^3.0.0-alpha":
version "3.0.0-alpha.18"
resolved "https://registry.yarnpkg.com/@react-navigation/core/-/core-3.0.0-alpha.18.tgz#3791ce85f914c7912004e50c4fa040cc616b16b0"
integrity sha512-y2RhKSu6gQYGxxjhOU5dD7trCUxO2i5QQpGOeKvjE5wWdzYCUzCd88t5tDtFk9Z7oHEGIBUiKcy2nAA0HqMdzA==
@@ -1919,7 +1931,7 @@ create-react-class@^15.6.3:
loose-envify "^1.3.1"
object-assign "^4.1.1"
create-react-context@^0.2.1, create-react-context@^0.2.2, create-react-context@^0.2.3:
create-react-context@^0.2.1, create-react-context@^0.2.3:
version "0.2.3"
resolved "https://registry.yarnpkg.com/create-react-context/-/create-react-context-0.2.3.tgz#9ec140a6914a22ef04b8b09b7771de89567cb6f3"
integrity sha512-CQBmD0+QGgTaxDL3OX1IDXYqjkp2It4RIbcb99jS6AEg27Ga+a9G3JtK6SIu0HBwPLZlmwt9F7UwWA4Bn92Rag==
@@ -2892,7 +2904,7 @@ has-values@^1.0.0:
is-number "^3.0.0"
kind-of "^4.0.0"
hoist-non-react-statics@2.5.0, hoist-non-react-statics@^2.3.1, hoist-non-react-statics@^2.5.0, hoist-non-react-statics@^3.0.1:
hoist-non-react-statics@2.5.0, hoist-non-react-statics@^2.3.1, hoist-non-react-statics@^2.5.0, hoist-non-react-statics@^3.0.1, hoist-non-react-statics@^3.1.0:
version "2.5.0"
resolved "https://registry.yarnpkg.com/hoist-non-react-statics/-/hoist-non-react-statics-2.5.0.tgz#d2ca2dfc19c5a91c5a6615ce8e564ef0347e2a40"
integrity sha512-6Bl6XsDT1ntE0lHbIhr4Kp2PGcleGZ66qu5Jqk8lc0Xc/IeG6gVLmwUGs/K0Us+L8VWoKgj0uWdPMataOsm31w==
@@ -4444,15 +4456,15 @@ react-native-maps@0.21.0:
babel-plugin-module-resolver "^2.3.0"
babel-preset-react-native "1.9.0"
react-native-paper@2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/react-native-paper/-/react-native-paper-2.0.1.tgz#0221ead52e35811ca6d2ce41cf069d424fe92bcf"
integrity sha512-KGJ34ARCEDLVfhNg5YVelw0+kyCpcBPux2jAGAAFS6nedu5jrwe/d8Egqgle8oEhYDcsJ3IIxYvsXwP6qTRDWg==
react-native-paper@^2.2.2:
version "2.2.2"
resolved "https://registry.yarnpkg.com/react-native-paper/-/react-native-paper-2.2.2.tgz#e0da7f92c85aa0f66462489b5d8cd0ddd0f271c7"
integrity sha512-VWv+bTgXkWQscP79ZeTwvhQnEdLSBGFFycjyNCgj92zo1iQK3jHHWYVswn9qA2G+IjyAnoDzL9fpTuYiyA83LA==
dependencies:
"@callstack/react-theme-provider" "^1.0.3"
"@callstack/react-theme-provider" "^1.0.7"
color "^2.0.1"
create-react-context "^0.2.2"
hoist-non-react-statics "^2.5.0"
create-react-context "^0.2.3"
hoist-non-react-statics "^3.1.0"
react-lifecycles-compat "^3.0.4"
react-native-reanimated@1.0.0-alpha.6:
@@ -4585,10 +4597,15 @@ react-navigation-drawer@1.0.0-alpha.7:
dependencies:
react-native-tab-view "^1.2.0"
react-navigation-stack@1.0.0-alpha.31:
version "1.0.0-alpha.31"
resolved "https://registry.yarnpkg.com/react-navigation-stack/-/react-navigation-stack-1.0.0-alpha.31.tgz#40d4ca404692721b3008b7ed5fdfdbd23aa79398"
integrity sha512-5OVhxZuMDnIamhJCD7b5vRmDhu+SBXGQkalFy9qRm+5uhwHb+CX8jyvhdEpR0T1fBAoZMzlTrcJQylsakOjTVw==
react-navigation-stack@1.0.0-alpha.32:
version "1.0.0-alpha.32"
resolved "https://registry.yarnpkg.com/react-navigation-stack/-/react-navigation-stack-1.0.0-alpha.32.tgz#3a0a8f881cc498c6d35739ac5c4b8eb8e1262ff7"
integrity sha512-tfBZtvn1pWAnkkXVqdyiVHnTSEd8xHsyZCuPHl3UDxL+gmVxHh+jjmQM1N/PbEeObfrpuKnYySb4xRIS3uoOUg==
react-navigation-stack@^1.0.0-alpha.33:
version "1.0.0-alpha.33"
resolved "https://registry.yarnpkg.com/react-navigation-stack/-/react-navigation-stack-1.0.0-alpha.33.tgz#118cd2a8d1d869f24bae44ed5c09e5a55a1b2d60"
integrity sha512-kX9qL64CtK3yBGRABlZXFAD3+aVGBTiqfw/QYA1i0UJURRb9lZ0do9I3gUJ5cjFOPVqqztCbk38GOxarIygJsw==
react-navigation-tabs@1.0.0-alpha.5:
version "1.0.0-alpha.5"
@@ -4600,15 +4617,15 @@ react-navigation-tabs@1.0.0-alpha.5:
react-lifecycles-compat "^3.0.4"
react-native-tab-view "^1.0.0"
react-navigation@^3.0.0-alpha:
version "3.0.0-rc.2"
resolved "https://registry.yarnpkg.com/react-navigation/-/react-navigation-3.0.0-rc.2.tgz#86f5ea6463817e24803b56c6e516bf5e842b4ffd"
integrity sha512-1R/eOdPtXstsgCct8Vg76PsDLhAe0NdmszhAEtY2IAYdb/FvVJDEV5UPFzorcN3jGFjoO4RCtQ3RmTlJnv0+Gw==
react-navigation@^3.0.0-rc:
version "3.0.0-rc.4"
resolved "https://registry.yarnpkg.com/react-navigation/-/react-navigation-3.0.0-rc.4.tgz#471f175b22392f73d9b9293310a06679f094638b"
integrity sha512-uPj2Ycz+1GKBn6cjMBZv2p5GVNH6EuBbi2wFvvk4sz5edhw7df6TcCGgR6upXipSDcjHtb80Rb+0wc3Xw2aDdA==
dependencies:
"@react-navigation/core" "3.0.0-alpha.18"
"@react-navigation/core" "3.0.0-alpha.19"
"@react-navigation/native" "3.0.0-alpha.12"
react-navigation-drawer "1.0.0-alpha.7"
react-navigation-stack "1.0.0-alpha.31"
react-navigation-stack "1.0.0-alpha.32"
react-navigation-tabs "1.0.0-alpha.5"
react-proxy@^1.1.7:

View File

@@ -4,15 +4,23 @@
"description": "Material Bottom Tab Navigation component for React Navigation",
"main": "dist/index.js",
"files": [
"dist/"
"dist/",
"src/",
"LICENSE.md",
"README.md"
],
"react-native": "src/index.js",
"scripts": {
"test": "jest",
"flow": "flow",
"lint": "eslint .",
"precommit": "yarn lint && yarn flow && yarn test",
"build": "babel --no-babelrc --plugins=syntax-jsx,syntax-class-properties,syntax-object-rest-spread,transform-flow-strip-types src --out-dir dist --ignore '**/__tests__/**'",
"prepare": "yarn build"
"build": "babel --no-babelrc --plugins=transform-es2015-block-scoping,transform-react-jsx,transform-class-properties,transform-object-rest-spread,transform-flow-strip-types src --out-dir dist --ignore '**/__tests__/**'",
"prepare": "yarn build",
"release": "release-it"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"keywords": [
"react-native-component",
@@ -44,11 +52,13 @@
"@react-navigation/native": "^3.0.0-alpha",
"babel-cli": "^6.26.0",
"babel-jest": "^21.2.0",
"babel-plugin-syntax-class-properties": "^6.13.0",
"babel-plugin-syntax-jsx": "^6.18.0",
"babel-plugin-syntax-object-rest-spread": "^6.13.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-es2015-block-scoping": "^6.26.0",
"babel-plugin-transform-flow-strip-types": "^6.22.0",
"babel-plugin-transform-object-rest-spread": "^6.26.0",
"babel-plugin-transform-react-jsx": "^6.24.1",
"babel-preset-react-native": "^4.0.0",
"conventional-changelog-cli": "^2.0.11",
"enzyme": "3.2.0",
"enzyme-adapter-react-16": "^1.1.0",
"enzyme-to-json": "^3.2.2",
@@ -64,7 +74,8 @@
"react-native": "~0.55.4",
"react-native-paper": "^2.2.2",
"react-navigation": "^2.1.0",
"react-test-renderer": "16.2.0"
"react-test-renderer": "16.2.0",
"release-it": "^7.6.2"
},
"peerDependencies": {
"react": "*",

View File

@@ -0,0 +1,16 @@
{
"non-interactive": true,
"increment": "conventional:angular",
"changelogCommand": "conventional-changelog -p angular | tail -n +3",
"safeBump": false,
"src": {
"commitMessage": "chore: release %s",
"tagName": "v%s"
},
"npm": {
"publish": true
},
"github": {
"release": true
}
}

File diff suppressed because it is too large Load Diff