build-all

Massimo Melina committed Dec 24, 2021 at 17:59 UTC ca88e130bcd03ed8496e3bb5755b8e8c41b9eca7
2 files changed +2 -2
README.md
+1 -2
@@ -64,8 +64,7 @@ As soon as the file is read HFS will encrypt passwords in a non-reversible way.
64 # Building instructions
65
66 0. Install [Node.js](https://nodejs.org/) 16+
67 -1. Launch `npm run build` in the root
68 -2. Launch `npm run build` inside `frontend` folder
67 +1. Launch `npm run build-all` in the root
68
69 You'll find the output in `dist` folder.
70
package.json
+1
@@ -13,6 +13,7 @@
13 "watch-server": "nodemon --ignore tests/ --watch src -e ts,tsx --exec ts-node src/index.ts vfs.yaml",
14 "start": "node dist",
15 "build": "node timestamp && tsc && cp package*.json *.yaml dist && cd dist && npm ci --production",
16 + "build-all": "npm run build && cd frontend && npm run build && cd ..",
17 "test": "mocha -r ts-node/register 'tests/**/*.ts'"
18 },
19 "dependencies": {