2018-02-26 17:29:16 +01:00
|
|
|
{
|
2021-09-15 18:22:36 +02:00
|
|
|
"name": "bitburner",
|
|
|
|
"license": "SEE LICENSE IN license.txt",
|
2023-01-06 02:41:24 +01:00
|
|
|
"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": {
|
2022-12-01 22:07:46 +01:00
|
|
|
"name": "Daniel Xie, Olivier Gagnon, et al."
|
2018-02-26 17:29:16 +01:00
|
|
|
},
|
|
|
|
"bugs": {
|
2022-10-19 18:24:18 +02:00
|
|
|
"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",
|
2021-12-24 15:32:03 +01:00
|
|
|
"@material-ui/core": "^4.12.3",
|
2022-11-10 16:08:59 +01:00
|
|
|
"@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",
|
2022-04-18 20:00:17 +02:00
|
|
|
"@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",
|
2023-01-03 13:38:14 +01:00
|
|
|
"better-react-mathjax": "^2.0.2",
|
2021-10-15 01:31:17 +02:00
|
|
|
"clsx": "^1.1.1",
|
2021-11-11 23:00:36 +01:00
|
|
|
"date-fns": "^2.25.0",
|
2018-07-20 16:28:03 +02:00
|
|
|
"escodegen": "^1.11.0",
|
2018-06-12 17:01:06 +02:00
|
|
|
"file-saver": "^1.3.8",
|
2021-05-18 03:26:20 +02:00
|
|
|
"jquery": "^3.5.0",
|
2021-12-13 01:39:53 +01:00
|
|
|
"js-sha256": "^0.9.0",
|
2021-09-02 09:11:42 +02:00
|
|
|
"jszip": "^3.7.0",
|
2021-09-22 17:51:13 +02:00
|
|
|
"material-ui-color": "^1.2.0",
|
2021-12-24 15:32:03 +01:00
|
|
|
"material-ui-popup-state": "^1.5.3",
|
2022-11-10 16:08:59 +01:00
|
|
|
"monaco-editor": "^0.34.1",
|
2021-10-13 23:25:58 +02:00
|
|
|
"notistack": "^2.0.2",
|
2018-05-31 04:46:52 +02:00
|
|
|
"numeral": "2.0.6",
|
2021-12-24 15:32:03 +01:00
|
|
|
"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",
|
2021-10-15 01:31:17 +02:00
|
|
|
"sprintf-js": "^1.1.1"
|
2018-02-26 17:29:16 +01:00
|
|
|
},
|
2018-03-21 02:32:30 +01:00
|
|
|
"description": "A cyberpunk-themed incremental game",
|
2018-02-26 17:29:16 +01:00
|
|
|
"devDependencies": {
|
2019-03-13 23:17:30 +01:00
|
|
|
"@babel/core": "^7.3.4",
|
2021-08-27 01:24:29 +02:00
|
|
|
"@babel/preset-env": "^7.15.0",
|
2019-03-13 23:17:30 +01:00
|
|
|
"@babel/preset-react": "^7.0.0",
|
2021-08-27 01:24:29 +02:00
|
|
|
"@babel/preset-typescript": "^7.15.0",
|
2022-01-26 11:47:27 +01:00
|
|
|
"@microsoft/api-documenter": "^7.13.65",
|
|
|
|
"@microsoft/api-extractor": "^7.18.17",
|
2023-01-06 02:29:02 +01:00
|
|
|
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.10",
|
2021-09-05 09:21:14 +02:00
|
|
|
"@testing-library/cypress": "^8.0.1",
|
2022-01-26 11:47:27 +01:00
|
|
|
"@types/acorn": "^4.0.6",
|
2022-04-18 20:00:17 +02:00
|
|
|
"@types/bcryptjs": "^2.4.2",
|
2022-01-26 11:47:27 +01:00
|
|
|
"@types/escodegen": "^0.0.7",
|
2021-09-16 01:50:44 +02:00
|
|
|
"@types/file-saver": "^2.0.3",
|
2022-05-11 05:04:19 +02:00
|
|
|
"@types/jest": "^27.4.1",
|
2022-04-17 02:29:20 +02:00
|
|
|
"@types/jquery": "^3.5.14",
|
2021-04-29 02:07:26 +02:00
|
|
|
"@types/lodash": "^4.14.168",
|
2022-04-20 02:06:36 +02:00
|
|
|
"@types/numeral": "^2.0.2",
|
2022-01-26 11:47:27 +01:00
|
|
|
"@types/react": "^17.0.21",
|
|
|
|
"@types/react-beautiful-dnd": "^13.1.2",
|
|
|
|
"@types/react-dom": "^17.0.9",
|
|
|
|
"@types/react-resizable": "^1.7.3",
|
2022-04-19 00:07:01 +02:00
|
|
|
"@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",
|
2023-01-06 02:29:02 +01:00
|
|
|
"babel-loader": "^9.1.0",
|
2021-09-05 09:21:14 +02:00
|
|
|
"cypress": "^8.3.1",
|
2022-03-30 00:14:36 +02:00
|
|
|
"electron": "^14.2.4",
|
2021-09-16 01:50:44 +02:00
|
|
|
"electron-packager": "^15.4.0",
|
2022-04-19 00:07:01 +02:00
|
|
|
"eslint": "^8.13.0",
|
2022-01-19 16:51:36 +01:00
|
|
|
"file-loader": "^6.2.0",
|
2021-09-05 20:10:23 +02:00
|
|
|
"fork-ts-checker-webpack-plugin": "^6.3.3",
|
2023-01-06 02:29:02 +01:00
|
|
|
"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",
|
2022-06-25 03:32:13 +02:00
|
|
|
"jsdom": "^16.5.0",
|
2021-03-08 04:49:55 +01:00
|
|
|
"lodash": "^4.17.21",
|
2023-01-06 02:29:02 +01:00
|
|
|
"mini-css-extract-plugin": "^2.7.2",
|
2021-09-04 22:18:08 +02:00
|
|
|
"prettier": "^2.3.2",
|
2022-01-26 11:47:27 +01:00
|
|
|
"raw-loader": "^4.0.2",
|
2023-01-06 02:29:02 +01:00
|
|
|
"react-refresh": "^0.14.0",
|
2018-06-12 17:01:06 +02:00
|
|
|
"source-map": "^0.7.3",
|
2021-09-05 09:21:14 +02:00
|
|
|
"start-server-and-test": "^1.14.0",
|
2021-04-29 02:07:26 +02:00
|
|
|
"typescript": "^4.2.4",
|
2023-01-06 02:29:02 +01:00
|
|
|
"webpack": "^5.75.0",
|
|
|
|
"webpack-cli": "^5.0.1",
|
|
|
|
"webpack-dev-server": "^4.11.1"
|
2018-02-26 17:29:16 +01:00
|
|
|
},
|
|
|
|
"engines": {
|
2022-04-19 00:07:01 +02:00
|
|
|
"node": ">=14"
|
2018-02-26 17:29:16 +01:00
|
|
|
},
|
2018-03-21 02:32:30 +01:00
|
|
|
"homepage": "https://github.com/danielyxie/bitburner",
|
2018-02-26 17:29:16 +01:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2018-03-21 02:32:30 +01:00
|
|
|
"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",
|
2021-09-05 09:21:14 +02:00
|
|
|
"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",
|
2021-09-04 22:18:08 +02:00
|
|
|
"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",
|
2023-01-06 02:29:02 +01:00
|
|
|
"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",
|
2018-06-13 19:38:22 +02:00
|
|
|
"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)",
|
2022-01-25 22:38:54 +01:00
|
|
|
"preinstall": "node ./tools/engines-check/engines-check.js",
|
2022-02-23 11:13:54 +01:00
|
|
|
"postinstall": "cd electron && npm install",
|
2021-08-27 01:24:29 +02:00
|
|
|
"test": "jest",
|
|
|
|
"test:watch": "jest --watch",
|
2018-06-14 05:38:35 +02:00
|
|
|
"watch": "webpack --watch --mode production",
|
2021-09-15 18:22:36 +02:00
|
|
|
"watch:dev": "webpack --watch --mode development",
|
2023-01-06 02:29:02 +01:00
|
|
|
"electron": "bash ./tools/package-electron.sh",
|
2021-12-20 12:33:46 +01:00
|
|
|
"electron:packager": "electron-packager .package bitburner --all --out .build --overwrite --icon .package/icon.png --no-prune",
|
2022-01-23 18:56:32 +01:00
|
|
|
"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",
|
2022-03-22 15:58:11 +01:00
|
|
|
"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
|
|
|
}
|