rsnext/examples/with-lingui/package.json
Raphael Chaula 5fdf3b8a46
Update package.json (#12865)
Without babel-core, "lingui extract" gives TypeError: Api.call... function is undefined
2020-05-14 21:07:13 +02:00

34 lines
735 B
JSON

{
"name": "with-lingui",
"version": "1.0.0",
"scripts": {
"dev": "next",
"build": "lingui compile && next build",
"start": "next start",
"add-locale": "lingui add-locale",
"extract": "lingui extract"
},
"dependencies": {
"@lingui/react": "latest",
"next": "latest",
"react": "^16.7.0",
"react-dom": "^16.7.0"
},
"devDependencies": {
"@lingui/cli": "latest",
"@lingui/loader": "latest",
"@lingui/macro": "latest",
"babel-core": "^7.0.0-bridge.0",
"babel-plugin-macros": "^2.4.0"
},
"lingui": {
"sourceLocale": "en",
"localeDir": "./locale",
"srcPathDirs": [
"./pages/",
"./components/"
],
"format": "po"
},
"license": "ISC"
}