mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-10 01:33:54 +01:00
6459b1ab48
* Try to fix check for generated files to create a comment on a PR. * Check for generated files does not count as a failure. * Lint doesn't fail based on stuff in dist. Prettier and lint no longer use the "diff" version. * Removed some commands that weren't really used (specific version electron packager commands that require you to have already ran npm run electron to generate .package folder)
125 lines
4.3 KiB
JSON
125 lines
4.3 KiB
JSON
{
|
|
"name": "bitburner",
|
|
"license": "SEE LICENSE IN license.txt",
|
|
"version": "2.2.2dev",
|
|
"main": "electron-main.js",
|
|
"author": {
|
|
"name": "Daniel Xie, Olivier Gagnon, et al."
|
|
},
|
|
"bugs": {
|
|
"url": "https://github.com/bitburner-official/bitburner-src/issues"
|
|
},
|
|
"dependencies": {
|
|
"@emotion/react": "^11.4.1",
|
|
"@emotion/styled": "^11.10.5",
|
|
"@material-ui/core": "^4.12.4",
|
|
"@monaco-editor/react": "^4.4.6",
|
|
"@mui/icons-material": "^5.11.0",
|
|
"@mui/material": "~5.10.15",
|
|
"@mui/styles": "^5.11.2",
|
|
"@mui/system": "^5.0.3",
|
|
"@types/estree": "^1.0.0",
|
|
"acorn": "^8.8.1",
|
|
"acorn-walk": "^8.2.0",
|
|
"arg": "^5.0.2",
|
|
"bcryptjs": "^2.4.3",
|
|
"better-react-mathjax": "^2.0.2",
|
|
"clsx": "^1.2.1",
|
|
"date-fns": "^2.29.3",
|
|
"escodegen": "^2.0.0",
|
|
"file-saver": "^2.0.5",
|
|
"jquery": "^3.6.3",
|
|
"js-sha256": "^0.9.0",
|
|
"jszip": "^3.10.1",
|
|
"material-ui-color": "^1.2.0",
|
|
"material-ui-popup-state": "^1.5.3",
|
|
"monaco-editor": "^0.34.1",
|
|
"notistack": "^2.0.8",
|
|
"numeral": "2.0.6",
|
|
"prop-types": "^15.8.1",
|
|
"react": "^17.0.2",
|
|
"react-beautiful-dnd": "^13.1.1",
|
|
"react-dom": "^17.0.2",
|
|
"react-draggable": "^4.4.4",
|
|
"react-resizable": "^3.0.4",
|
|
"sprintf-js": "^1.1.2"
|
|
},
|
|
"description": "A cyberpunk-themed incremental game",
|
|
"devDependencies": {
|
|
"@babel/core": "^7.20.12",
|
|
"@babel/preset-env": "^7.20.2",
|
|
"@babel/preset-react": "^7.18.6",
|
|
"@babel/preset-typescript": "^7.18.6",
|
|
"@microsoft/api-documenter": "^7.13.65",
|
|
"@microsoft/api-extractor": "^7.18.17",
|
|
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.10",
|
|
"@types/bcryptjs": "^2.4.2",
|
|
"@types/escodegen": "^0.0.7",
|
|
"@types/file-saver": "^2.0.5",
|
|
"@types/jest": "^29.2.5",
|
|
"@types/jquery": "^3.5.16",
|
|
"@types/lodash": "^4.14.191",
|
|
"@types/numeral": "^2.0.2",
|
|
"@types/react": "^17.0.52",
|
|
"@types/react-beautiful-dnd": "^13.1.3",
|
|
"@types/react-dom": "^17.0.18",
|
|
"@types/react-resizable": "^3.0.3",
|
|
"@typescript-eslint/eslint-plugin": "^5.48.0",
|
|
"@typescript-eslint/parser": "^5.48.0",
|
|
"babel-jest": "^29.3.1",
|
|
"babel-loader": "^9.1.2",
|
|
"electron": "^22.0.0",
|
|
"electron-packager": "^17.1.1",
|
|
"eslint": "^8.31.0",
|
|
"file-loader": "^6.2.0",
|
|
"fork-ts-checker-webpack-plugin": "^7.2.14",
|
|
"html-webpack-plugin": "^5.5.0",
|
|
"http-server": "^14.1.1",
|
|
"jest": "^29.3.1",
|
|
"jest-environment-jsdom": "^29.3.1",
|
|
"jsdom": "^20.0.3",
|
|
"lodash": "^4.17.21",
|
|
"mini-css-extract-plugin": "^2.7.2",
|
|
"prettier": "^2.8.1",
|
|
"raw-loader": "^4.0.2",
|
|
"react-refresh": "^0.14.0",
|
|
"source-map": "^0.7.4",
|
|
"start-server-and-test": "^1.15.2",
|
|
"typescript": "^4.9.4",
|
|
"webpack": "^5.75.0",
|
|
"webpack-cli": "^5.0.1",
|
|
"webpack-dev-server": "^4.11.1"
|
|
},
|
|
"engines": {
|
|
"node": ">=14"
|
|
},
|
|
"homepage": "https://github.com/danielyxie/bitburner",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/danielyxie/bitburner.git"
|
|
},
|
|
"scripts": {
|
|
"doc": "npx api-extractor run && npx api-documenter markdown && rm input/bitburner.api.json && rm -r input",
|
|
"format": "prettier --write .",
|
|
"format:report": "prettier -c .",
|
|
"start": "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",
|
|
"preversion": "npm install && npm run test",
|
|
"version": "sh ./tools/build-release.sh && git add --all",
|
|
"postversion": "git push -u origin dev && git push --tags",
|
|
"changelog": "node tools/fetch-changelog/index.js --from=$(cat last_changelog_hash) > changelog.md"
|
|
}
|
|
}
|