diff --git a/README.md b/README.md index e7709b6ec4191c59c35543049051201325744cd0..38153d37b766f7239b930286733fd6b7fad2f971 100644 --- a/README.md +++ b/README.md @@ -20,8 +20,6 @@ To compile the code, install all dependencies, including the typescript compiler This can be done by running `npm install` in the `camera-server` folder. Then run `npm run build` in the same folder. This will compile the files into a newly created folder `dist`. -If you want to compile the code into a single file, run `npm run build-single-file` instead. - Once the code is compiled, the server can be started with `node server.js` in the `dist` folder. ## Config diff --git a/camera-server/package.json b/camera-server/package.json index 3a7a38924d898c2aa0ec1b0bbf8e17beb4a2c94d..d3cc08856af15e7ac46eceae884c401c5e9f23cb 100644 --- a/camera-server/package.json +++ b/camera-server/package.json @@ -3,8 +3,7 @@ "version": "1.0.0", "main": "server.js", "scripts": { - "build": "npx tsc", - "build-single-file": "npx tsc -m amd --outfile dist/server.js" + "build": "npx tsc" }, "dependencies": { "socket.io": "^3.0.4"