0.5.0
Massimo Melina committed
Jan 5, 2022 at 16:25 UTC
e05c2b7c7013e0ef60807dca7c3e3ddb2e7bc441
3 files changed
+8
-5
README.md
+3
@@ -16,7 +16,10 @@ You won't find all previous features here (yet), but still we got:
16
- search
17
- accounts
18
- resumable downloads
19
+- download folders as zip archive
20
- simple website serving
21
+- plug-ins
22
+- log file
23
24
# Configuration
25
package-lock.json
+2
-2
@@ -1,12 +1,12 @@
1
{
2
"name": "hfs",
3
- "version": "0.4.1",
3
+ "version": "0.5.0",
4
"lockfileVersion": 2,
5
"requires": true,
6
"packages": {
7
"": {
8
"name": "hfs",
9
- "version": "0.4.1",
9
+ "version": "0.5.0",
10
"license": "GPL-3.0",
11
"dependencies": {
12
"@koa/router": "^10.1.1",
package.json
+3
-3
@@ -1,6 +1,6 @@
1
{
2
"name": "hfs",
3
- "version": "0.4.1",
3
+ "version": "0.5.0",
4
"description": "HTTP File Server",
5
"keywords": [
6
"file server",
@@ -13,9 +13,9 @@
13
"watch-server": "nodemon --ignore tests/ --watch src -e ts,tsx --exec ts-node src/index.ts",
14
"start-frontend": "cd frontend && npm run start",
15
"start": "node dist",
16
- "build": "npm install && node timestamp && tsc --target es2018 && cp package*.json *.yaml dist && cd dist && npm ci --production && cd .. && npm run build-prune",
16
+ "build": "npm install && node timestamp && tsc --target es2018 && cp -r plugins READ* package*.json *.yaml dist && cd dist && npm ci --production && cd .. && npm run build-prune",
17
"build-prune": "cd dist && nm-prune --force && cd node_modules && rm -rf yaml/browser && mkdir lodash2 && cp lodash/lodash.min.js lodash2/lodash.js && cp lodash/package.json lodash2 && rm -rf lodash && mv lodash2 lodash",
18
- "build-all": "npm run build && cd frontend && npm install && npm run build && cd ..",
18
+ "build-all": "rm -rf dist && npm run build && cd frontend && npm install && npm run build && echo COMPLETED",
19
"test": "mocha -r ts-node/register 'tests/**/*.ts'",
20
"make-exe-after-build": "pkg . -C brotli"
21
},