Skip to content
This repository was archived by the owner on May 20, 2021. It is now read-only.

Commit 05d06e5

Browse files
committed
transform away imports
1 parent d52d425 commit 05d06e5

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

package.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"test": "jest",
1515
"lint": "eslint .",
1616
"format": "eslint . --fix",
17-
"build": "babel --no-babelrc --plugins=transform-react-jsx,transform-class-properties,transform-object-rest-spread,transform-flow-strip-types src --copy-files --out-dir dist --ignore '**/__tests__/**'",
17+
"build": "babel --no-babelrc --plugins=transform-es2015-modules-commonjs,transform-react-jsx,transform-class-properties,transform-object-rest-spread,transform-flow-strip-types src --copy-files --out-dir dist --ignore '**/__tests__/**'",
1818
"prepare": "yarn build",
1919
"release": "release-it"
2020
},
@@ -39,17 +39,17 @@
3939
},
4040
"homepage": "https://github.com/react-navigation/react-navigation-web#readme",
4141
"dependencies": {
42-
"@react-navigation/core": "^3.0.0-alpha.7",
4342
"history": "^4.7.2",
4443
"query-string": "^6.2.0"
4544
},
4645
"devDependencies": {
4746
"babel-cli": "^6.26.0",
4847
"babel-jest": "^22.4.1",
4948
"babel-plugin-transform-class-properties": "^6.13.0",
50-
"babel-plugin-transform-react-jsx": "^6.18.0",
51-
"babel-plugin-transform-object-rest-spread": "^6.13.0",
49+
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
5250
"babel-plugin-transform-flow-strip-types": "^6.22.0",
51+
"babel-plugin-transform-object-rest-spread": "^6.13.0",
52+
"babel-plugin-transform-react-jsx": "^6.18.0",
5353
"babel-preset-react-native": "^4.0.0",
5454
"conventional-changelog-cli": "^2.0.5",
5555
"eslint": "^4.12.1",
@@ -66,7 +66,8 @@
6666
"release-it": "^7.6.1"
6767
},
6868
"peerDependencies": {
69-
"react": "*"
69+
"react": "*",
70+
"@react-navigation/core": "^3.0.0-alpha.8"
7071
},
7172
"jest": {
7273
"preset": "react-native",

yarn.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1440,7 +1440,7 @@ babel-plugin-transform-es2015-modules-amd@^6.22.0, babel-plugin-transform-es2015
14401440
babel-runtime "^6.22.0"
14411441
babel-template "^6.24.1"
14421442

1443-
[email protected], babel-plugin-transform-es2015-modules-commonjs@^6.23.0, babel-plugin-transform-es2015-modules-commonjs@^6.24.1, babel-plugin-transform-es2015-modules-commonjs@^6.5.0, babel-plugin-transform-es2015-modules-commonjs@^6.8.0:
1443+
[email protected], babel-plugin-transform-es2015-modules-commonjs@^6.23.0, babel-plugin-transform-es2015-modules-commonjs@^6.24.1, babel-plugin-transform-es2015-modules-commonjs@^6.26.2, babel-plugin-transform-es2015-modules-commonjs@^6.5.0, babel-plugin-transform-es2015-modules-commonjs@^6.8.0:
14441444
version "6.26.2"
14451445
resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-modules-commonjs/-/babel-plugin-transform-es2015-modules-commonjs-6.26.2.tgz#58a793863a9e7ca870bdc5a881117ffac27db6f3"
14461446
integrity sha512-CV9ROOHEdrjcwhIaJNBGMBCodN+1cfkwtM1SbUHmvyy35KGT7fohbpOxkE2uLz1o6odKK2Ck/tz47z+VqQfi9Q==

0 commit comments

Comments
 (0)