mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
简化模块加载
deprecated hydro-build
This commit is contained in:
1 parent
8aef05a375
commit
8f6968bbbd
41 files changed
+1361
-1957
No files matched your search
+13
-3
@@ -1,16 +1,20 @@
|
||||
{
|
||||
"name": "hydrooj",
|
||||
"version": "2.7.5",
|
||||
"version": "2.8.0",
|
||||
"main": "hydro/loader.ts",
|
||||
"repository": "https://github.com/hydro-dev/Hydro.git",
|
||||
"author": "masnn",
|
||||
"license": "GPL-3.0-only",
|
||||
"engines": {
|
||||
"node": ">=10.10"
|
||||
},
|
||||
"dependencies": {
|
||||
"@hydrooj/markdown-it-katex": "^2.1.1",
|
||||
"@types/lru-cache": "^5.1.0",
|
||||
"adm-zip": "^0.4.16",
|
||||
"ansi_up": "^4.0.4",
|
||||
"detect-browser": "^5.1.1",
|
||||
"fs-extra": "^9.0.1",
|
||||
"js-yaml": "^3.13.1",
|
||||
"koa": "^2.13.0",
|
||||
"koa-body": "^4.2.0",
|
||||
@@ -41,6 +45,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/adm-zip": "^0.4.33",
|
||||
"@types/fs-extra": "^9.0.1",
|
||||
"@types/koa": "^2.11.3",
|
||||
"@types/koa-morgan": "^1.0.4",
|
||||
"@types/koa-router": "^7.4.1",
|
||||
@@ -73,7 +78,7 @@
|
||||
"build": "node build --development",
|
||||
"build:development": "node build --development",
|
||||
"build:production": "node build --production",
|
||||
"build:all": "cd ui && yarn && yarn build:production && cd .. && yarn && yarn build:production",
|
||||
"build:all": "cd ui && yarn && yarn build:production && cd .. && yarn --ignore-optional && yarn build:production",
|
||||
"start": "ts-node hydro/loader.ts",
|
||||
"pkg": "pkg .",
|
||||
"lint": "eslint build hydro module tool --ext ts,js --fix",
|
||||
@@ -88,5 +93,10 @@
|
||||
".build/module/**"
|
||||
]
|
||||
},
|
||||
"snyk": true
|
||||
"snyk": true,
|
||||
"optionalDependencies": {
|
||||
"@hydrooj/geoip": "^1.1.1",
|
||||
"@hydrooj/migrate-vijos": "^1.1.0",
|
||||
"@hydrooj/pastebin": "^1.0.0"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user