Created
October 18, 2018 12:13
-
-
Save NgesBrian/d6477f9863a3e0ca2dc9ccf8e9e64ef5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
following the answer on my slack question here https://stackoverflow.com/questions/52865726/the-babel-core-module-not-working-with-lingui, | |
I have not succeeded to get my stufff working. I have done basically everything. Please can you check wether my package.json is correct ?? | |
That I am not missing anything | |
{ | |
"name": "linguijs", | |
"version": "0.1.0", | |
"private": true, | |
"dependencies": { | |
"@lingui/cli": "^2.7.0", | |
"@lingui/react": "^2.7.0", | |
"babel-register": "^6.26.0", | |
"mdbreact": "^4.8.1", | |
"react": "^16.5.2", | |
"react-dom": "^16.5.2", | |
"react-scripts": "2.0.5" | |
}, | |
"scripts": { | |
"start": "react-scripts start", | |
"build": "react-scripts build", | |
"test": "react-scripts test", | |
"eject": "react-scripts eject" | |
}, | |
"eslintConfig": { | |
"extends": "react-app" | |
}, | |
"browserslist": [ | |
">0.2%", | |
"not dead", | |
"not ie <= 11", | |
"not op_mini all" | |
], | |
"devDependencies": { | |
"@babel/core": "^7.1.2", | |
"@lingui/macro": "^2.7.0", | |
"babel-core": "^7.0.0-bridge.0", | |
"babel-plugin-macros": "^2.4.2" | |
} | |
} | |
Here is also the content for my .babelrc | |
{ | |
"presets": [ | |
"@babel/env", | |
"@babel/react", | |
], | |
"plugins": [ | |
"@babel/macros" | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment