{ "name": "hydro-workspace", "private": true, "workspaces": [ "packages/*", "framework/*", "plugins/*", "modules/*" ], "main": "package.json", "scripts": { "build": "node build/prepare.js && tsc -b --verbose", "build:installer": "esbuild ./install/install.js --minify --format=cjs --bundle --platform=node --external:readline/promises | gzip -9 | base64", "build:watch": "node build/prepare.js && tsc -b --watch", "build:ui": "node packages/ui-default/build --iconfont && node packages/ui-default/build", "build:ui:iconfont": "node packages/ui-default/build --iconfont", "build:ui:dev": "node packages/ui-default/build --iconfont && node --trace-deprecation packages/ui-default/build --dev", "build:ui:dev:https": "node packages/ui-default/build --iconfont && node --trace-deprecation packages/ui-default/build --dev --https", "build:ui:production": "cross-env-shell NODE_OPTIONS=--max_old_space_size=8192 \"node packages/ui-default/build --iconfont && node packages/ui-default/build --production\"", "build:ui:production:webpack": "cross-env NODE_OPTIONS=--max_old_space_size=8192 node packages/ui-default/build --production", "test": "node -r @hydrooj/register packages/common/tests/subtask.spec.ts && node test/entry.js", "benchmark": "cross-env BENCHMARK=true node test/entry.js", "oxlint": "cd framework/eslint-config && node -r @hydrooj/register build.ts && cd ../../ && oxlint --config framework/eslint-config/.oxlintrc.json", "lint": "eslint --flag unstable_config_lookup_from_file packages plugins modules framework --ext .ts,.tsx,.jsx --fix", "lint:ci": "eslint --flag unstable_config_lookup_from_file packages plugins modules framework --ext .ts,.tsx,.jsx --max-warnings=0", "debug": "node --trace-warnings --inspect=192.168.99.234:1111 --async-stack-traces --trace-deprecation packages/hydrooj/bin/hydrooj --debug --template", "start": "packages/hydrooj/bin/hydrooj.js", "postinstall": "node build/prepare.js", "gen-patch": "node -r @hydrooj/register build/gen-patch.ts", "hydrooj": "./node_modules/.bin/hydrooj" }, "version": "1.0.0", "license": "AGPL-3.0-only", "devDependencies": { "@types/autocannon": "^7.12.6", "@types/chai": "^5.2.0", "@types/cross-spawn": "^6.0.6", "@types/node": "22.13.8", "@types/semver": "^7.5.8", "autocannon": "^8.0.0", "cac": "^6.7.14", "chai": "^5.2.0", "cross-env": "^7.0.3", "cross-spawn": "^7.0.6", "esbuild": "0.25.0", "eslint": "^9.23.0", "eslint-import-resolver-typescript": "^4.2.2", "eslint-import-resolver-webpack": "^0.13.10", "fs-extra": "^11.3.0", "globals": "^16.0.0", "globby": "~14.0.2", "inspectpack": "^4.7.1", "mongodb-memory-server": "10.1.4", "nyc": "^17.1.0", "ora": "^8.2.0", "oxlint": "^0.16.2", "package-json": "^10.0.1", "semver": "^7.7.1", "simple-git": "^3.27.0", "supertest": "^7.1.0", "supports-hyperlinks": "^3.2.0", "typescript": "5.8.2", "wtfnode": "^0.10.0" } }