From 77676783887a21d362ff1cf71ede10f713e128c6 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Sun, 12 Dec 2021 19:36:34 +0100 Subject: build: configure lingui js for i18n --- package.json | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'package.json') 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", -- cgit v1.2.3