From 9eb3dfe2c794ea7767a00819e9a14e072dd9de29 Mon Sep 17 00:00:00 2001 From: cha0s Date: Tue, 19 Jan 2021 08:30:09 -0600 Subject: [PATCH] fix: scripts --- app/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/package.json b/app/package.json index a8900e5..ace5941 100644 --- a/app/package.json +++ b/app/package.json @@ -4,7 +4,7 @@ "license": "MIT", "scripts": { "build": "webpack --mode production", - "clean": "rm -rf yarn.lock node_modules && yarn", + "clean": "rm -rf yarn.lock node_modules/* && yarn", "dev": "webpack --mode development", "docker": "yarn run build && docker build", "forcelatus": "pkgs=$(find node_modules/@latus -maxdepth 1 -mindepth 1 -printf '@latus/%f '); yarn upgrade $pkgs", @@ -12,7 +12,7 @@ "repl": "rlwrap -C qmp socat STDIO UNIX:$(ls /tmp/latus-*.sock | tail -n 1)", "start": "NODE_ENV=production node build/index.js", "test": "mocha --watch src", - "watch": "webpack --hot --watch --mode development" + "watch": "NODE_PATH=./node_modules webpack --hot --watch --mode development" }, "dependencies": { "@latus/core": "2.0.0",