bitburner-src/package.json

141 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",
2022-04-13 18:32:26 +02:00
"version": "1.6.4",
2021-09-15 18:22:36 +02:00
"main": "electron-main.js",
2018-02-26 17:29:16 +01:00
"author": {
2021-12-18 22:26:50 +01:00
"name": "Daniel Xie & Olivier Gagnon"
2018-02-26 17:29:16 +01:00
},
"bugs": {
"url": "https://github.com/danielyxie/bitburner/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",
2021-08-20 07:21:37 +02:00
"@monaco-editor/react": "^4.2.2",
2021-10-13 08:27:55 +02:00
"@mui/icons-material": "^5.0.3",
"@mui/material": "^5.0.3",
"@mui/styles": "^5.0.1",
2022-03-16 22:45:46 +01:00
"@types/bcrypt": "^5.0.0",
2022-03-16 23:01:26 +01:00
"@types/bcryptjs": "^2.4.2",
"acorn": "^8.4.1",
"acorn-walk": "^8.1.1",
2021-04-21 14:20:26 +02:00
"arg": "^5.0.0",
2022-03-16 22:45:46 +01:00
"bcryptjs": "^2.4.3",
2021-10-13 08:15:29 +02:00
"better-react-mathjax": "^1.0.3",
"clsx": "^1.1.1",
2021-11-11 23:00:36 +01:00
"date-fns": "^2.25.0",
2022-01-02 17:45:32 +01:00
"electron-config": "^2.0.0",
"escodegen": "^1.11.0",
"file-saver": "^1.3.8",
2021-11-27 21:07:25 +01:00
"fs": "^0.0.1-security",
"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",
2021-08-20 07:57:32 +02:00
"monaco-editor": "^0.27.0",
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",
2021-09-17 05:51:38 +02:00
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.1",
"@testing-library/cypress": "^8.0.1",
"@types/acorn": "^4.0.6",
"@types/escodegen": "^0.0.7",
2021-09-16 01:50:44 +02:00
"@types/file-saver": "^2.0.3",
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": "^8.0.5",
"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": "^3.2.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": "^15.0.0",
2021-03-08 04:49:55 +01:00
"lodash": "^4.17.21",
"mini-css-extract-plugin": "^0.4.1",
"prettier": "^2.3.2",
"raw-loader": "^4.0.2",
2021-09-17 05:51:38 +02:00
"react-refresh": "^0.10.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",
2021-09-06 22:29:35 +02:00
"webpack": "^4.46.0",
"webpack-cli": "^3.3.12",
"webpack-dev-middleware": "^3.7.3",
"webpack-dev-server": "^3.11.2"
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-dev-server --progress --env.devServer --mode development",
2021-10-01 07:00:50 +02:00
"start:dev-fast": "webpack-dev-server --progress --env.devServer --mode development --fast true",
"start:container": "webpack-dev-server --progress --env.devServer --mode development --env.runInContainer",
2021-09-16 08:57:49 +02:00
"build": "webpack --mode production",
"build:dev": "webpack --mode development",
"lint": "eslint --fix --ext js,jsx,ts,tsx --max-warnings 0 .",
"lint:report": "eslint --ext js,jsx,ts,tsx --max-warnings 0 .",
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": "sh ./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",
"allbuild": "npm run build && npm run electron && git add --all && git commit -m \"allbuild commit $(git rev-parse --short HEAD)\" && git push -f -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
}