diff options
| author | Armand Philippot <git@armandphilippot.com> | 2021-12-12 19:36:34 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2021-12-12 19:36:34 +0100 |
| commit | 77676783887a21d362ff1cf71ede10f713e128c6 (patch) | |
| tree | c48938c7077575a10bc7aa4d02cf92d79ddc734e /package.json | |
| parent | 4514fd261f048cf623c8e23bf41c5c6599c9c86d (diff) | |
build: configure lingui js for i18n
Diffstat (limited to 'package.json')
| -rw-r--r-- | package.json | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/package.json b/package.json index 02df9db..5c59735 100644 --- a/package.json +++ b/package.json @@ -22,18 +22,25 @@ "build": "next build", "start": "next start", "lint": "next lint", + "i18n:compile": "lingui compile", + "i18n:extract": "NODE_ENV=development lingui extract", "release": "standard-version -s" }, "dependencies": { + "@lingui/react": "^3.13.0", "next": "12.0.7", "react": "17.0.2", "react-dom": "17.0.2" }, "devDependencies": { + "@babel/core": "^7.16.0", "@commitlint/cli": "^15.0.0", "@commitlint/config-conventional": "^15.0.0", + "@lingui/cli": "^3.13.0", + "@lingui/macro": "^3.13.0", "@types/node": "16.11.12", "@types/react": "17.0.37", + "babel-plugin-macros": "^3.1.0", "eslint": "^8.4.1", "eslint-config-next": "^12.0.7", "eslint-config-prettier": "^8.3.0", |
