diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 00000000..f384253a --- /dev/null +++ b/package-lock.json @@ -0,0 +1,14 @@ +{ + "name": "runit", + "version": "1.0.0", + "lockfileVersion": 2, + "requires": true, + "packages": { + "": { + "name": "runit", + "version": "1.0.0", + "hasInstallScript": true, + "license": "UNLICENSED" + } + } +} diff --git a/package.json b/package.json index 5ad613b3..132deb29 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,8 @@ "scripts": { "build": "npm run build --prefix frontend && npm run build --prefix backend", "start:prod": "npm run start:prod --prefix backend", - "test": "echo \"Error: no test specified\" && exit 1" + "test": "echo \"Error: no test specified\" && exit 1", + "preinstall": "npm ci --prefix frontend && npm ci --prefix backend" }, "repository": { "type": "git",