include license in distribution

Massimo Melina committed Mar 12, 2022 at 17:57 UTC 63b4eea7c796faa8e210330b1dcebfb892b0af65
2 files changed +3 -2
package.json
+2 -2
@@ -16,13 +16,13 @@
16 "start-frontend": "cd frontend && npm run start",
17 "start-admin": "cd admin && npm run start",
18 "start": "node dist",
19 - "build": "npm install && rm -rf dist/src && tsc --target es2018 && cp -v -r package-lock.json server/package.json READ* plugins dist && cd dist && npm ci --production && cd .. && node afterbuild",
19 + "build": "npm install && rm -rf dist/src && tsc --target es2018 && cp -v -r package-lock.json server/package.json READ* LICENSE* plugins dist && cd dist && npm ci --production && cd .. && node afterbuild",
20 "build-all": "rm -rf dist && npm run build && npm run build-frontend && npm run build-admin && npm audit --production && echo COMPLETED",
21 "build-frontend": "cd frontend && npm run build",
22 "build-admin": "cd admin && npm run build",
23 "test": "mocha -r ts-node/register 'tests/**/*.ts'",
24 "zip-dist": "cd dist && zip hfs.zip -r * -x *.zip *.exe",
25 - "exe-dist": "pkg . -C brotli && cd dist && zip hfs.exe.zip hfs.exe -r plugins",
25 + "exe-dist": "pkg . -C brotli && cd dist && zip hfs.exe.zip hfs.exe LICENSE.txt -r plugins",
26 "new-dist": "npm run build-all && npm run zip-dist && npm run exe-dist"
27 },
28 "engines": {
todo.md
+1
@@ -1,4 +1,5 @@
1 # To do
2 +- mac/linux binary
3 - if specified config is a folder, check for file config.yaml inside
4 - merge accounts in config
5 - frontend: ok button to inputDialogs