diff options
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/package.json b/package.json index f4ee15e34..f95116218 100644 --- a/package.json +++ b/package.json | |||
@@ -26,7 +26,9 @@ | |||
26 | "test": "jest", | 26 | "test": "jest", |
27 | "test:watch": "jest --watch", | 27 | "test:watch": "jest --watch", |
28 | "lint": "eslint \"{src,scripts,packages,uidev}/**/*.{js,jsx,ts,tsx}\" --quiet --fix", | 28 | "lint": "eslint \"{src,scripts,packages,uidev}/**/*.{js,jsx,ts,tsx}\" --quiet --fix", |
29 | "manage-translations": "node ./src/i18n/manage-translations.js", | 29 | "extract": "formatjs extract 'src/**/*.{js,ts}' --out-file temp.json --flatten --id-interpolation-pattern '[sha512:contenthash:base64:6]'", |
30 | "compile": "formatjs compile 'temp.json' --out-file src/i18n/locales/en-US.json", | ||
31 | "manage-translations": "npm run extract && npm run compile && rimraf temp.json", | ||
30 | "prebuild": "preval-build-info-cli && gulp build", | 32 | "prebuild": "preval-build-info-cli && gulp build", |
31 | "build": "electron-builder", | 33 | "build": "electron-builder", |
32 | "commit": "git-cz", | 34 | "commit": "git-cz", |
@@ -114,7 +116,7 @@ | |||
114 | "react-dom": "16.14.0", | 116 | "react-dom": "16.14.0", |
115 | "react-dropzone": "11.3.4", | 117 | "react-dropzone": "11.3.4", |
116 | "react-electron-web-view": "2.0.1", | 118 | "react-electron-web-view": "2.0.1", |
117 | "react-intl": "2.7.2", | 119 | "react-intl": "5.20.10", |
118 | "react-jss": "8.6.1", | 120 | "react-jss": "8.6.1", |
119 | "react-loader": "2.4.7", | 121 | "react-loader": "2.4.7", |
120 | "react-modal": "3.14.3", | 122 | "react-modal": "3.14.3", |
@@ -146,6 +148,7 @@ | |||
146 | "@babel/register": "7.15.3", | 148 | "@babel/register": "7.15.3", |
147 | "@commitlint/cli": "13.1.0", | 149 | "@commitlint/cli": "13.1.0", |
148 | "@commitlint/config-conventional": "13.1.0", | 150 | "@commitlint/config-conventional": "13.1.0", |
151 | "@formatjs/cli": "4.2.33", | ||
149 | "@tsconfig/node14": "1.0.1", | 152 | "@tsconfig/node14": "1.0.1", |
150 | "@types/color": "3.0.2", | 153 | "@types/color": "3.0.2", |
151 | "@types/du": "1.0.1", | 154 | "@types/du": "1.0.1", |
@@ -163,7 +166,7 @@ | |||
163 | "@typescript-eslint/eslint-plugin": "4.30.0", | 166 | "@typescript-eslint/eslint-plugin": "4.30.0", |
164 | "@typescript-eslint/parser": "4.29.1", | 167 | "@typescript-eslint/parser": "4.29.1", |
165 | "all-contributors-cli": "6.20.0", | 168 | "all-contributors-cli": "6.20.0", |
166 | "babel-plugin-react-intl": "3.5.1", | 169 | "babel-plugin-formatjs": "10.3.8", |
167 | "commitizen": "4.2.4", | 170 | "commitizen": "4.2.4", |
168 | "concurrently": "6.2.1", | 171 | "concurrently": "6.2.1", |
169 | "conventional-changelog-cli": "2.1.1", | 172 | "conventional-changelog-cli": "2.1.1", |
@@ -205,7 +208,7 @@ | |||
205 | "node-abi": "2.30.0", | 208 | "node-abi": "2.30.0", |
206 | "prettier": "2.3.2", | 209 | "prettier": "2.3.2", |
207 | "preval-build-info": "1.0.3", | 210 | "preval-build-info": "1.0.3", |
208 | "react-intl-translations-manager": "5.0.3", | 211 | "rimraf": "3.0.2", |
209 | "sass": "1.37.5", | 212 | "sass": "1.37.5", |
210 | "simple-git": "2.45.0", | 213 | "simple-git": "2.45.0", |
211 | "terser": "4.8.0", | 214 | "terser": "4.8.0", |