|
|
|
@ -43,7 +43,7 @@
|
|
|
|
|
"protobuf": "pbjs --target static-module --wrap commonjs --out ts/protobuf/compiled.js protos/*.proto && pbts --out ts/protobuf/compiled.d.ts ts/protobuf/compiled.js --force-long",
|
|
|
|
|
"sass": "rimraf 'stylesheets/dist/' && webpack --config=./sass.config.js",
|
|
|
|
|
"clean": "rimraf 'ts/**/*.js' 'ts/*.js' 'ts/*.js.map' 'ts/**/*.js.map' && rimraf tsconfig.tsbuildinfo;",
|
|
|
|
|
"lint-full": "yarn format-full && eslint .",
|
|
|
|
|
"lint-full": "yarn yarn-deduplicate yarn.lock && yarn format-full && eslint .",
|
|
|
|
|
"format-full": "prettier --list-different --write \"*.{css,js,json,scss,ts,tsx}\" \"./**/*.{css,js,json,scss,ts,tsx}\"",
|
|
|
|
|
"start-prod-test": "cross-env NODE_ENV=production NODE_APP_INSTANCE=$MULTI electron .",
|
|
|
|
|
"test": "mocha",
|
|
|
|
@ -60,7 +60,7 @@
|
|
|
|
|
"appImage": "yarn sedtoAppImage; yarn build-release-non-linux; yarn sedtoDeb",
|
|
|
|
|
"sedtoAppImage": "sed -i 's/\"target\": \\[\"deb\", \"rpm\", \"freebsd\"\\]/\"target\": \"AppImage\"/g' package.json",
|
|
|
|
|
"sedtoDeb": "sed -i 's/\"target\": \"AppImage\"/\"target\": \\[\"deb\", \"rpm\", \"freebsd\"\\]/g' package.json",
|
|
|
|
|
"ready": "yarn build-everything && yarn lint-full && yarn test",
|
|
|
|
|
"ready": "yarn yarn-deduplicate yarn.lock --fail && yarn build-everything && yarn lint-full && yarn test",
|
|
|
|
|
"postinstall": "yarn patch-package && yarn electron-builder install-app-deps",
|
|
|
|
|
"update-git-info": "node ./build/updateLocalConfig.js",
|
|
|
|
|
"worker:utils": "webpack --config=./utils.worker.config.js",
|
|
|
|
@ -214,7 +214,8 @@
|
|
|
|
|
"ts-loader": "^9.4.2",
|
|
|
|
|
"typescript": "^5.1.6",
|
|
|
|
|
"webpack": "^5.76.3",
|
|
|
|
|
"webpack-cli": "^5.1.4"
|
|
|
|
|
"webpack-cli": "^5.1.4",
|
|
|
|
|
"yarn-deduplicate": "^6.0.2"
|
|
|
|
|
},
|
|
|
|
|
"engines": {
|
|
|
|
|
"node": "18.15.0"
|
|
|
|
|