diff options
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/package.json b/package.json index 086c0e73d..87f5faeec 100644 --- a/package.json +++ b/package.json | |||
@@ -26,9 +26,9 @@ | |||
26 | "dev": "cross-env NODE_ENV=development gulp dev", | 26 | "dev": "cross-env NODE_ENV=development gulp dev", |
27 | "test": "jest", | 27 | "test": "jest", |
28 | "test:watch": "jest --watch", | 28 | "test:watch": "jest --watch", |
29 | "lint": "npx eslint \"{src,test,scripts}/**/*.{js,jsx,ts,tsx}\"", | 29 | "lint": "tsc --noEmit && eslint \"{src,test,scripts}/**/*.{js,jsx,ts,tsx}\"", |
30 | "lint:fix": "npx eslint --fix \"{src,test,scripts}/**/*.{js,jsx,ts,tsx}\"", | 30 | "lint:fix": "eslint --fix \"{src,test,scripts}/**/*.{js,jsx,ts,tsx}\"", |
31 | "extract": "formatjs extract \"src/**/*.{js,jsx,ts,tsx}\" --out-file temp.json --flatten --id-interpolation-pattern '[sha512:contenthash:base64:6]' --preserve-whitespace", | 31 | "extract": "formatjs extract \"src/**/*.{js,jsx,ts,tsx}\" --ignore=\"**/*.d.ts\" --out-file temp.json --flatten --id-interpolation-pattern '[sha512:contenthash:base64:6]' --preserve-whitespace", |
32 | "compile": "formatjs compile \"temp.json\" --out-file src/i18n/locales/en-US.json", | 32 | "compile": "formatjs compile \"temp.json\" --out-file src/i18n/locales/en-US.json", |
33 | "manage-translations": "npm run extract && npm run compile && rimraf temp.json", | 33 | "manage-translations": "npm run extract && npm run compile && rimraf temp.json", |
34 | "build": "preval-build-info-cli && gulp build && electron-builder", | 34 | "build": "preval-build-info-cli && gulp build && electron-builder", |
@@ -140,6 +140,17 @@ | |||
140 | "@types/color": "3.0.3", | 140 | "@types/color": "3.0.3", |
141 | "@types/expect.js": "0.3.29", | 141 | "@types/expect.js": "0.3.29", |
142 | "@types/fs-extra": "9.0.13", | 142 | "@types/fs-extra": "9.0.13", |
143 | "@types/gulp": "4.0.9", | ||
144 | "@types/gulp-babel": "6.1.30", | ||
145 | "@types/gulp-connect": "5.0.5", | ||
146 | "@types/gulp-csso": "4.0.1", | ||
147 | "@types/gulp-htmlmin": "1.3.32", | ||
148 | "@types/gulp-if": "0.0.34", | ||
149 | "@types/gulp-sass": "5.0.0", | ||
150 | "@types/gulp-sass-variables": "1.2.2", | ||
151 | "@types/gulp-terser": "1.2.1", | ||
152 | "@types/gulp-typescript": "2.13.0", | ||
153 | "@types/hex-rgb": "4.1.1", | ||
143 | "@types/jest": "28.1.4", | 154 | "@types/jest": "28.1.4", |
144 | "@types/lodash": "4.14.186", | 155 | "@types/lodash": "4.14.186", |
145 | "@types/mime-types": "2.1.1", | 156 | "@types/mime-types": "2.1.1", |
@@ -148,6 +159,7 @@ | |||
148 | "@types/react": "17.0.45", | 159 | "@types/react": "17.0.45", |
149 | "@types/react-dom": "17.0.17", | 160 | "@types/react-dom": "17.0.17", |
150 | "@types/route-parser": "0.1.4", | 161 | "@types/route-parser": "0.1.4", |
162 | "@types/sass": "1.43.1", | ||
151 | "@types/tar": "6.1.3", | 163 | "@types/tar": "6.1.3", |
152 | "@types/uuid": "8.3.4", | 164 | "@types/uuid": "8.3.4", |
153 | "@types/validator": "13.7.7", | 165 | "@types/validator": "13.7.7", |