diff options
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 25 |
1 files changed, 17 insertions, 8 deletions
diff --git a/package.json b/package.json index 06c89d83d..da4950360 100644 --- a/package.json +++ b/package.json | |||
@@ -14,15 +14,15 @@ | |||
14 | "private": true, | 14 | "private": true, |
15 | "engines": { | 15 | "engines": { |
16 | "node": "16.18.0", | 16 | "node": "16.18.0", |
17 | "npm": "8.19.2" | 17 | "pnpm": "7.17.0" |
18 | }, | 18 | }, |
19 | "engine-strict": true, | 19 | "engine-strict": true, |
20 | "scripts": { | 20 | "scripts": { |
21 | "prepare": "is-ci || husky install", | 21 | "prepare": "is-ci || husky install", |
22 | "start": "electron ./build", | 22 | "start": "electron ./build", |
23 | "start:local": "cross-env USE_LOCAL_API=1 npm start", | 23 | "start:local": "cross-env USE_LOCAL_API=1 pnpm start", |
24 | "start:live": "cross-env USE_LIVE_API=1 npm start", | 24 | "start:live": "cross-env USE_LIVE_API=1 pnpm start", |
25 | "start:all-dev": "concurrently \"npm run dev\" \"wait-on http://localhost:8080 && npm start\"", | 25 | "start:all-dev": "concurrently \"pnpm dev\" \"wait-on http://localhost:8080 && pnpm start\"", |
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", |
@@ -30,17 +30,17 @@ | |||
30 | "lint:fix": "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}\" --ignore=\"**/*.d.ts\" --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": "pnpm extract && pnpm compile && rimraf temp.json", |
34 | "build": "preval-build-info-cli && gulp build && electron-builder", | 34 | "build": "preval-build-info-cli && gulp build && electron-builder", |
35 | "contributors": "all-contributors", | 35 | "contributors": "all-contributors", |
36 | "reformat-files": "prettier --ignore-path .eslintignore --write --require-pragma \"**/*.{js,jsx,scss}\"", | 36 | "reformat-files": "prettier --ignore-path .eslintignore --write --require-pragma \"**/*.{js,jsx,scss}\"", |
37 | "update-submodules": "git submodule update --init --recursive --remote --rebase --force", | 37 | "update-submodules": "git submodule update --init --recursive --remote --rebase --force", |
38 | "prepare-code": "npm run lint:fix && npm run reformat-files && npm run manage-translations", | 38 | "prepare-code": "pnpm lint:fix && pnpm reformat-files && pnpm manage-translations", |
39 | "link-readme": "ts-node scripts/link-readme.ts", | 39 | "link-readme": "ts-node scripts/link-readme.ts", |
40 | "minify-images": "./scripts/minify-images.sh", | 40 | "minify-images": "./scripts/minify-images.sh", |
41 | "start:server": "ts-node src/internal-server/test.ts", | 41 | "start:server": "ts-node src/internal-server/test.ts", |
42 | "add-crowdin-contributors": "ts-node scripts/add-crowdin-contributors.ts", | 42 | "add-crowdin-contributors": "ts-node scripts/add-crowdin-contributors.ts", |
43 | "debug": "cross-env-shell DEBUG_COLORS=1 DEBUG=Ferdium:* npm run start:all-dev" | 43 | "debug": "cross-env-shell DEBUG_COLORS=1 DEBUG=Ferdium:* pnpm start:all-dev" |
44 | }, | 44 | }, |
45 | "keywords": [], | 45 | "keywords": [], |
46 | "dependencies": { | 46 | "dependencies": { |
@@ -171,7 +171,7 @@ | |||
171 | "cross-env": "7.0.3", | 171 | "cross-env": "7.0.3", |
172 | "dotenv": "16.0.3", | 172 | "dotenv": "16.0.3", |
173 | "electron": "21.3.1", | 173 | "electron": "21.3.1", |
174 | "electron-builder": "23.6.0", | 174 | "electron-builder": "24.0.0-alpha.4", |
175 | "eslint": "8.26.0", | 175 | "eslint": "8.26.0", |
176 | "eslint-config-airbnb": "19.0.4", | 176 | "eslint-config-airbnb": "19.0.4", |
177 | "eslint-config-airbnb-typescript": "17.0.0", | 177 | "eslint-config-airbnb-typescript": "17.0.0", |
@@ -190,6 +190,7 @@ | |||
190 | "gulp-csso": "4.0.1", | 190 | "gulp-csso": "4.0.1", |
191 | "gulp-htmlmin": "5.0.1", | 191 | "gulp-htmlmin": "5.0.1", |
192 | "gulp-if": "3.0.0", | 192 | "gulp-if": "3.0.0", |
193 | "gulp-rename": "2.0.0", | ||
193 | "gulp-sass": "5.1.0", | 194 | "gulp-sass": "5.1.0", |
194 | "gulp-sass-variables": "1.2.0", | 195 | "gulp-sass-variables": "1.2.0", |
195 | "gulp-terser": "2.1.0", | 196 | "gulp-terser": "2.1.0", |
@@ -213,6 +214,14 @@ | |||
213 | "webpack-cli": "4.10.0", | 214 | "webpack-cli": "4.10.0", |
214 | "webpack-dev-server": "4.11.1" | 215 | "webpack-dev-server": "4.11.1" |
215 | }, | 216 | }, |
217 | "pnpm": { | ||
218 | "overrides": { | ||
219 | "usocket": "_EXCLUDED_" | ||
220 | } | ||
221 | }, | ||
222 | "overrides": { | ||
223 | "usocket": "_EXCLUDED_" | ||
224 | }, | ||
216 | "optionalDependencies": { | 225 | "optionalDependencies": { |
217 | "macos-notification-state": "github:ferdium/macos-notification-state#394f33c2546960391bde2519aa30180dd3506492", | 226 | "macos-notification-state": "github:ferdium/macos-notification-state#394f33c2546960391bde2519aa30180dd3506492", |
218 | "node-mac-permissions": "2.2.1" | 227 | "node-mac-permissions": "2.2.1" |