mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 17:36:08 +08:00
69 lines
3.1 KiB
JSON
69 lines
3.1 KiB
JSON
{
|
|
"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 | 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 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/utils/tests/subtask.spec.ts && node test/entry.js",
|
|
"benchmark": "cross-env BENCHMARK=true node test/entry.js",
|
|
"lint": "eslint packages plugins modules --ext .ts,.tsx,.jsx --fix",
|
|
"lint:ci": "eslint packages plugins modules --ext .ts,.tsx,.jsx --max-warnings=0",
|
|
"lint:ui": "yarn workspace @hydrooj/ui-default lint --ext .js,.ts,.jsx,.tsx . --fix",
|
|
"lint:ui:ci": "yarn workspace @hydrooj/ui-default lint --ext .js,.ts,.jsx,.tsx . --max-warnings=0",
|
|
"debug": "node --trace-warnings --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": {
|
|
"@simplewebauthn/types": "9.0.1",
|
|
"@types/autocannon": "^7.12.5",
|
|
"@types/chai": "^5.0.1",
|
|
"@types/cross-spawn": "^6.0.6",
|
|
"@types/node": "22.7.4",
|
|
"@types/semver": "^7.5.8",
|
|
"autocannon": "^8.0.0",
|
|
"cac": "^6.7.14",
|
|
"chai": "^5.1.2",
|
|
"cross-env": "^7.0.3",
|
|
"cross-spawn": "^7.0.6",
|
|
"esbuild": "0.24.0",
|
|
"eslint": "^8.57.1",
|
|
"eslint-import-resolver-typescript": "^3.7.0",
|
|
"eslint-import-resolver-webpack": "^0.13.9",
|
|
"fs-extra": "^11.2.0",
|
|
"globby": "^14.0.2",
|
|
"inspectpack": "^4.7.1",
|
|
"mongodb-memory-server": "9.4.1",
|
|
"nyc": "^17.1.0",
|
|
"ora": "^8.1.1",
|
|
"package-json": "^10.0.1",
|
|
"semver": "^7.6.3",
|
|
"simple-git": "^3.27.0",
|
|
"supertest": "^7.0.0",
|
|
"typescript": "5.7.2",
|
|
"wtfnode": "^0.9.4"
|
|
},
|
|
"resolutions": {
|
|
"cosmokit": "1.6.3",
|
|
"monaco-editor": "0.50.0"
|
|
}
|
|
}
|