mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-05-03 22:37:06 +02:00
Some dev updates
* Bump electron version to 22.2.1 * Fix npm run electron command (needed the electron-packager-all command which I had removed) * Improve the npm run format command, no longer floods terminal with all file names * Updated start command to serve the built version of the game in .app * Remove some unused commands and unused workflows. Combined the ci and ci-pr workflows. * Modify check for generated files logic. Attempt to fix so it will edit its own comment instead of posting a new one on every commit.
This commit is contained in:
+4
-6
@@ -68,7 +68,7 @@
|
||||
"@typescript-eslint/parser": "^5.48.0",
|
||||
"babel-jest": "^29.3.1",
|
||||
"babel-loader": "^9.1.2",
|
||||
"electron": "^22.0.0",
|
||||
"electron": "^22.2.1",
|
||||
"electron-packager": "^17.1.1",
|
||||
"eslint": "^8.31.0",
|
||||
"file-loader": "^6.2.0",
|
||||
@@ -100,22 +100,20 @@
|
||||
},
|
||||
"scripts": {
|
||||
"doc": "npx api-extractor run && npx api-documenter markdown && rm input/bitburner.api.json && rm -r input && git add markdown/ && git add tsdoc-metadata.json",
|
||||
"format": "prettier --write .",
|
||||
"format": "prettier -c --write .",
|
||||
"format:report": "prettier -c .",
|
||||
"start": "http-server -p 8000",
|
||||
"start": "cd .app && http-server -p 8000",
|
||||
"start:dev": "webpack serve --progress --env devServer --mode development",
|
||||
"build": "bash ./tools/build.sh production",
|
||||
"build:dev": "bash ./tools/build.sh development",
|
||||
"lint": "eslint --fix --ext js,jsx,ts,tsx --max-warnings 0 src",
|
||||
"lint:report": "eslint --ext js,jsx,ts,tsx --max-warnings 0 src",
|
||||
"preinstall": "node ./tools/engines-check/engines-check.js",
|
||||
"postinstall": "cd electron && npm install",
|
||||
"test": "jest",
|
||||
"test:watch": "jest --watch",
|
||||
"watch": "webpack --watch --mode production",
|
||||
"watch:dev": "webpack --watch --mode development",
|
||||
"electron": "bash ./tools/package-electron.sh",
|
||||
"allbuild": "npm run build && npm run electron && git add --all && git commit -m \"allbuild commit $(git rev-parse --short HEAD)\" && git push -u origin dev",
|
||||
"electron:packager-all": "electron-packager .package bitburner --platform all --arch x64,armv7l,arm64,mips64el --out .build --overwrite --icon .package/icon.png",
|
||||
"preversion": "npm install && npm run test",
|
||||
"version": "sh ./tools/build-release.sh && git add --all",
|
||||
"postversion": "git push -u origin dev && git push --tags",
|
||||
|
||||
Reference in New Issue
Block a user