1 Star 0 Fork 12

sina_woker/hfs

forked from Gitee 极速下载/hfs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
package.json 4.04 KB
一键复制 编辑 原始数据 按行查看 历史
Massimo Melina 提交于 2022-09-08 12:42 . version 0.26.3
{
"name": "hfs",
"version": "0.26.3",
"description": "HTTP File Server",
"keywords": [
"file server",
"http server"
],
"homepage": "https://rejetto.com/hfs",
"license": "GPL-3.0",
"author": "Massimo Melina <[email protected]>",
"workspaces": [ "admin", "frontend", "shared", "mui-grid-form" ],
"scripts": {
"watch-server": "cross-env DEV=1 nodemon --ignore tests/ --watch src -e ts,tsx --exec ts-node src",
"watch-server-proxied": "cross-env FRONTEND_PROXY=3005 ADMIN_PROXY=3006 npm run watch-server",
"watch-shared": "cd shared && tsc --watch",
"watch-form": "cd mui-grid-form && tsc --watch",
"start-frontend": "npm run start --workspace=frontend",
"start-admin": "npm run start --workspace=admin",
"build-all": "npm audit --omit=dev && rm -rf dist && npm i && npm run build-shared && npm run build-server && npm run build-form && npm run build-frontend && npm run build-admin && echo COMPLETED",
"build-server": "rm -rf dist/src dist/plugins && tsc --target es2018 && touch package.json && cp -v -r package.json README* LICENSE* plugins dist && find dist -name .DS_Store -delete",
"build-frontend": "npm run build --workspace=frontend",
"build-admin": "npm run build --workspace=admin",
"build-shared": "npm run build --workspace=shared",
"build-form": "npm run build --workspace=mui-grid-form",
"server-for-test": "node dist/src --cwd . --config tests",
"test": "mocha -r ts-node/register 'tests/**/*.ts'",
"pub": "cd dist && npm publish",
"dist": "npm run build-all && npm run dist-bin",
"dist-bin": "npm run dist-modules && cd dist && pkg . -C gzip && mv -f hfs-win-x64.exe hfs.exe && zip hfs-windows.zip hfs.exe -r plugins && cp -f hfs-linux-x64 hfs && zip hfs-linux.zip hfs -r plugins && cp -f hfs-macos-x64 hfs && zip hfs-mac.zip hfs -r plugins && cp -f hfs-macos-arm64 hfs && zip hfs-mac-arm.zip hfs -r plugins && rm hfs",
"dist-modules": "cp package*.json dist && cd dist && npm ci --omit=dev && npm i -f --no-save --omit=dev @node-rs/crc32-win32-x64-msvc && rm package-lock.json && cd .. && node prune_modules",
"dist-win": "npm run dist-modules && cd dist && pkg . -C gzip -t node16-win-x64 && zip hfs-windows.zip hfs.exe -r plugins",
"dist-node": "npm run dist-modules && cd dist && zip hfs-node.zip -r * -x *.zip *.exe hfs-* *.log logs"
},
"engines": {
"node": ">=16.13.0"
},
"files": [
"README*",
"LICENSE*",
"@(src|admin|frontend|plugins)/*"
],
"repository": {
"type": "git",
"url": "https://github.com/rejetto/hfs/"
},
"bin": {
"hfs": "src/index.js"
},
"pkg": {
"assets": [
"admin/**/*",
"frontend/**/*"
],
"targets": [
"node16-win-x64",
"node16-mac-x64",
"node16-mac-arm64",
"node16-linux-x64"
]
},
"dependencies": {
"@koa/router": "^10.1.1",
"@node-rs/crc32": "^1.5.1",
"basic-auth": "^2.0.1",
"buffer-crc32": "^0.2.13",
"cidr-tools": "^4.3.0",
"fast-glob": "^3.2.7",
"find-process": "^1.4.7",
"koa": "^2.13.4",
"koa-compress": "^5.1.0",
"koa-mount": "^4.0.0",
"koa-session": "^6.2.0",
"limiter": "^2.1.0",
"lodash": "^4.17.21",
"minimist": "^1.2.6",
"open": "^8.4.0",
"tssrp6a": "^3.0.0",
"yaml": "^2.0.0-10",
"unzip-stream": "^0.3.1"
},
"devDependencies": {
"@types/archiver": "^5.1.1",
"@types/basic-auth": "^1.1.3",
"@types/koa": "^2.13.4",
"@types/koa__router": "^8.0.11",
"@types/koa-compress": "^4.0.3",
"@types/koa-mount": "^4.0.1",
"@types/koa-session": "^5.10.4",
"@types/lodash": "^4.14.178",
"@types/micromatch": "^4.0.2",
"@types/mime-types": "^2.1.1",
"@types/minimist": "^1.2.2",
"@types/mocha": "^9.0.0",
"@types/node": "^16.11.12",
"@types/unzipper": "^0.10.5",
"axios": "^0.24.0",
"axios-cookiejar-support": "^4.0.1",
"tough-cookie": "^4.0.0",
"@types/tough-cookie": "^4.0.2",
"koa-better-http-proxy": "^0.2.9",
"mocha": "^9.1.3",
"nm-prune": "^5.0.0",
"nodemon": "^2.0.15",
"pkg": "^5.7.0",
"ts-node": "^10.4.0"
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/lin-binghua/hfs.git
[email protected]:lin-binghua/hfs.git
lin-binghua
hfs
hfs
main

搜索帮助