bitburner-src/package.json

140 lines
5.9 KiB
JSON
Raw Normal View History

2018-02-26 17:29:16 +01:00
{
2021-09-15 18:22:36 +02:00
"name": "bitburner",
"license": "SEE LICENSE IN license.txt",
"version": "2.2.2dev",
2021-09-15 18:22:36 +02:00
"main": "electron-main.js",
2018-02-26 17:29:16 +01:00
"author": {
"name": "Daniel Xie, Olivier Gagnon, et al."
2018-02-26 17:29:16 +01:00
},
"bugs": {
"url": "https://github.com/bitburner-official/bitburner-src/issues"
2018-02-26 17:29:16 +01:00
},
"dependencies": {
2021-09-17 01:23:03 +02:00
"@emotion/react": "^11.4.1",
"@emotion/styled": "^11.3.0",
"@material-ui/core": "^4.12.3",
"@monaco-editor/react": "^4.4.6",
2021-10-13 08:27:55 +02:00
"@mui/icons-material": "^5.0.3",
"@mui/material": "^5.0.3",
"@mui/styles": "^5.0.1",
"@mui/system": "^5.0.3",
2022-07-16 05:34:27 +02:00
"@types/estree": "^1.0.0",
"acorn": "^8.7.1",
"acorn-walk": "^8.2.0",
2021-04-21 14:20:26 +02:00
"arg": "^5.0.0",
2022-03-16 22:45:46 +01:00
"bcryptjs": "^2.4.3",
"better-react-mathjax": "^2.0.2",
"clsx": "^1.1.1",
2021-11-11 23:00:36 +01:00
"date-fns": "^2.25.0",
"escodegen": "^1.11.0",
"file-saver": "^1.3.8",
"jquery": "^3.5.0",
2021-12-13 01:39:53 +01:00
"js-sha256": "^0.9.0",
"jszip": "^3.7.0",
"material-ui-color": "^1.2.0",
"material-ui-popup-state": "^1.5.3",
"monaco-editor": "^0.34.1",
2021-10-13 23:25:58 +02:00
"notistack": "^2.0.2",
"numeral": "2.0.6",
"prop-types": "^15.8.0",
2021-09-17 00:05:16 +02:00
"react": "^17.0.2",
2021-12-20 07:48:03 +01:00
"react-beautiful-dnd": "^13.1.0",
2021-09-17 00:15:04 +02:00
"react-dom": "^17.0.2",
2021-10-05 06:59:40 +02:00
"react-draggable": "^4.4.4",
2021-10-05 07:23:20 +02:00
"react-resizable": "^3.0.4",
"sprintf-js": "^1.1.1"
2018-02-26 17:29:16 +01:00
},
"description": "A cyberpunk-themed incremental game",
2018-02-26 17:29:16 +01:00
"devDependencies": {
"@babel/core": "^7.3.4",
2021-08-27 01:24:29 +02:00
"@babel/preset-env": "^7.15.0",
"@babel/preset-react": "^7.0.0",
2021-08-27 01:24:29 +02:00
"@babel/preset-typescript": "^7.15.0",
"@microsoft/api-documenter": "^7.13.65",
"@microsoft/api-extractor": "^7.18.17",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.10",
"@testing-library/cypress": "^8.0.1",
"@types/acorn": "^4.0.6",
"@types/bcryptjs": "^2.4.2",
"@types/escodegen": "^0.0.7",
2021-09-16 01:50:44 +02:00
"@types/file-saver": "^2.0.3",
"@types/jest": "^27.4.1",
2022-04-17 02:29:20 +02:00
"@types/jquery": "^3.5.14",
v0.51.6 (#905) * Make command `cd` without arguments an alias for `cd /` (#853) In most shells `cd` without arguments takes you to the home directory of the current user. I keep trying to do this due to muscle memory from working in terminals, so I figured I'd make it do something useful. There is no home directory in the game, but going to / is the closest thing we have, since that is the starting point for the user in the game. * Add new `backdoor` terminal command (#852) * Add the backdoor command to the terminal This command will perform a manual hack without rewarding money. It will be used for the story, mainly for faction hacking tests * Add tab completion for backdoor command * Add help text for backdoor command * Change condition syntax to be more consistent with others * Extract reused code block so it is always called after actions * Update documentation for new backdoor command Modified references to manual hack as it isn't for factions anymore * Remove extra parenthesis * Rename manuallyHacked to backdoorInstalled * Fix typo * Change faction test messages to use backdoor instad of hack * Rename more instances of manuallyHacked * fixed typo in helptext of darkweb buy (#858) * Fix typos and unify descriptions of augmentations (#859) Made an attempt to... - give all "+rep% company/faction" the same text - make all augmentations with a single effect use a single line to describe the effect - make all effects end with a period * Made Cashroot starter kit display its tooltip with the money formatted properly and in gold * fix typo in docs (#860) * Initial code for Casino Card Deck implementation * Casino Blackjack Implementation * Update some tools (eslint, typescript) * Blackjack code cleanup * Update README_contribution * Update ScriptHelpers.js (#861) expand error message * More augmentation typo fixes (#862) * Add Netscript function getCurrentScript (#856) Add netscript function that returns the current script. * Added milestones menu to guide new players. (#865) Milestone menu * fix typos in milestones (#866) Co-authored-by: sschmidTU <s.schmid@phonicscore.com> * Corrupt location title when backdoor is installed (#864) * Add corruptableText component * Corrupt location title if backdoor is installed * Formatting * Add helper to check value of backdoorInstalled Helper could be oneline but it would make it less readable * Fix some formatting * Add settings option to disable text effects * Import useState * getRunningScript (#867) * Replaced getCurrentScript with getRunningScript * Bunch of smaller fixes (#904) Fix #884 Fix #879 Fix #878 Fix #876 Fix #874 Fix #873 Fix #887 Fix #891 Fix #895 * rework the early servers to be more noob friendly (#903) * v0.51.6 Co-authored-by: Andreas Eriksson <2691182+AndreasTPC@users.noreply.github.com> Co-authored-by: Jack <jackdewinter1@gmail.com> Co-authored-by: Teun Pronk <5228255+Crownie88@users.noreply.github.com> Co-authored-by: Pimvgd <Pimvgd@gmail.com> Co-authored-by: Daniel Xie <daniel.xie@flockfreight.com> Co-authored-by: Simon <33069673+sschmidTU@users.noreply.github.com> Co-authored-by: sschmidTU <s.schmid@phonicscore.com>
2021-04-29 02:07:26 +02:00
"@types/lodash": "^4.14.168",
"@types/numeral": "^2.0.2",
"@types/react": "^17.0.21",
"@types/react-beautiful-dnd": "^13.1.2",
"@types/react-dom": "^17.0.9",
"@types/react-resizable": "^1.7.3",
"@typescript-eslint/eslint-plugin": "^5.20.0",
"@typescript-eslint/parser": "^5.20.0",
2021-09-10 06:13:03 +02:00
"babel-jest": "^27.0.6",
"babel-loader": "^9.1.0",
"cypress": "^8.3.1",
"electron": "^14.2.4",
2021-09-16 01:50:44 +02:00
"electron-packager": "^15.4.0",
"eslint": "^8.13.0",
"file-loader": "^6.2.0",
2021-09-05 20:10:23 +02:00
"fork-ts-checker-webpack-plugin": "^6.3.3",
"html-webpack-plugin": "^5.5.0",
2021-09-05 18:55:56 +02:00
"http-server": "^13.0.1",
2021-09-07 20:31:47 +02:00
"jest": "^27.1.0",
"jsdom": "^16.5.0",
2021-03-08 04:49:55 +01:00
"lodash": "^4.17.21",
"mini-css-extract-plugin": "^2.7.2",
"prettier": "^2.3.2",
"raw-loader": "^4.0.2",
"react-refresh": "^0.14.0",
"source-map": "^0.7.3",
"start-server-and-test": "^1.14.0",
v0.51.6 (#905) * Make command `cd` without arguments an alias for `cd /` (#853) In most shells `cd` without arguments takes you to the home directory of the current user. I keep trying to do this due to muscle memory from working in terminals, so I figured I'd make it do something useful. There is no home directory in the game, but going to / is the closest thing we have, since that is the starting point for the user in the game. * Add new `backdoor` terminal command (#852) * Add the backdoor command to the terminal This command will perform a manual hack without rewarding money. It will be used for the story, mainly for faction hacking tests * Add tab completion for backdoor command * Add help text for backdoor command * Change condition syntax to be more consistent with others * Extract reused code block so it is always called after actions * Update documentation for new backdoor command Modified references to manual hack as it isn't for factions anymore * Remove extra parenthesis * Rename manuallyHacked to backdoorInstalled * Fix typo * Change faction test messages to use backdoor instad of hack * Rename more instances of manuallyHacked * fixed typo in helptext of darkweb buy (#858) * Fix typos and unify descriptions of augmentations (#859) Made an attempt to... - give all "+rep% company/faction" the same text - make all augmentations with a single effect use a single line to describe the effect - make all effects end with a period * Made Cashroot starter kit display its tooltip with the money formatted properly and in gold * fix typo in docs (#860) * Initial code for Casino Card Deck implementation * Casino Blackjack Implementation * Update some tools (eslint, typescript) * Blackjack code cleanup * Update README_contribution * Update ScriptHelpers.js (#861) expand error message * More augmentation typo fixes (#862) * Add Netscript function getCurrentScript (#856) Add netscript function that returns the current script. * Added milestones menu to guide new players. (#865) Milestone menu * fix typos in milestones (#866) Co-authored-by: sschmidTU <s.schmid@phonicscore.com> * Corrupt location title when backdoor is installed (#864) * Add corruptableText component * Corrupt location title if backdoor is installed * Formatting * Add helper to check value of backdoorInstalled Helper could be oneline but it would make it less readable * Fix some formatting * Add settings option to disable text effects * Import useState * getRunningScript (#867) * Replaced getCurrentScript with getRunningScript * Bunch of smaller fixes (#904) Fix #884 Fix #879 Fix #878 Fix #876 Fix #874 Fix #873 Fix #887 Fix #891 Fix #895 * rework the early servers to be more noob friendly (#903) * v0.51.6 Co-authored-by: Andreas Eriksson <2691182+AndreasTPC@users.noreply.github.com> Co-authored-by: Jack <jackdewinter1@gmail.com> Co-authored-by: Teun Pronk <5228255+Crownie88@users.noreply.github.com> Co-authored-by: Pimvgd <Pimvgd@gmail.com> Co-authored-by: Daniel Xie <daniel.xie@flockfreight.com> Co-authored-by: Simon <33069673+sschmidTU@users.noreply.github.com> Co-authored-by: sschmidTU <s.schmid@phonicscore.com>
2021-04-29 02:07:26 +02:00
"typescript": "^4.2.4",
"webpack": "^5.75.0",
"webpack-cli": "^5.0.1",
"webpack-dev-server": "^4.11.1"
2018-02-26 17:29:16 +01:00
},
"engines": {
"node": ">=14"
2018-02-26 17:29:16 +01:00
},
"homepage": "https://github.com/danielyxie/bitburner",
2018-02-26 17:29:16 +01:00
"repository": {
"type": "git",
"url": "git+https://github.com/danielyxie/bitburner.git"
2018-02-26 17:29:16 +01:00
},
"scripts": {
2021-09-05 18:55:56 +02:00
"cy:test": "start-server-and-test start http://localhost:8000 cy:run",
"cy:dev": "start-server-and-test start:dev http://localhost:8000 cy:open",
"cy:open": "cypress open",
2021-09-05 18:55:56 +02:00
"cy:run": "cypress run",
2022-01-26 11:09:00 +01:00
"doc": "npx api-extractor run && npx api-documenter markdown && rm input/bitburner.api.json && rm -r input",
"format": "prettier --write .",
2022-03-21 03:02:36 +01:00
"format:report": "prettier -c .",
2022-04-13 03:49:08 +02:00
"format:report-diff": "bash -c 'if [[ $(git diff --name-only --diff-filter=ACMRTUXB origin/dev | grep -E \"(.js$|.jsx$|.ts$|.tsx$)\" | wc -c) -ne 0 ]]; then prettier -c $(git diff --name-only --diff-filter=ACMRTUXB origin/dev | grep -E \"(.js$|.jsx$|.ts$|.tsx$)\" | xargs); fi'",
2021-09-05 18:55:56 +02:00
"start": "http-server -p 8000",
"start:dev": "webpack serve --progress --env devServer --mode development",
"start:dev-fast": "webpack serve --progress --env devServer --mode development --fast true",
"start:container": "webpack serve --progress --env devServer --mode development --env runInContainer",
2021-09-16 08:57:49 +02:00
"build": "webpack --mode production",
"build:dev": "webpack --mode development",
2022-05-25 21:40:57 +02:00
"lint": "eslint --fix --ext js,jsx,ts,tsx --max-warnings 0 src",
"lint:report": "eslint --ext js,jsx,ts,tsx --max-warnings 0 src",
2022-04-13 03:42:44 +02:00
"lint:report-diff": "eslint --max-warnings 0 $(git diff --name-only --diff-filter=ACMRTUXB origin/dev | grep -E \"(.js$|.jsx$|.ts$|.tsx$)\" | xargs)",
"preinstall": "node ./tools/engines-check/engines-check.js",
"postinstall": "cd electron && npm install",
2021-08-27 01:24:29 +02:00
"test": "jest",
"test:watch": "jest --watch",
"watch": "webpack --watch --mode production",
2021-09-15 18:22:36 +02:00
"watch:dev": "webpack --watch --mode development",
"electron": "bash ./tools/package-electron.sh",
"electron:packager": "electron-packager .package bitburner --all --out .build --overwrite --icon .package/icon.png --no-prune",
"electron:packager-all": "electron-packager .package bitburner --all --out .build --overwrite --icon .package/icon.png",
"electron:packager-win": "electron-packager .package bitburner --platform win32 --arch x64 --out .build --overwrite --icon .package/icon.png",
"electron:packager-mac": "electron-packager .package bitburner --platform darwin --arch x64 --out .build --overwrite --icon .package/icon.png",
"electron:packager-linux": "electron-packager .package bitburner --platform linux --arch x64 --out .build --overwrite --icon .package/icon.png",
2022-05-24 22:57:25 +02:00
"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",
"preversion": "npm install && npm run test",
"version": "sh ./tools/build-release.sh && git add --all",
2022-04-14 21:01:43 +02:00
"postversion": "git push -u origin dev && git push --tags",
"changelog": "node tools/fetch-changelog/index.js --from=$(cat last_changelog_hash) > changelog.md"
2021-09-15 18:22:36 +02:00
}
2022-04-12 20:08:10 +02:00
}