fix: scripts

This commit is contained in:
cha0s 2021-01-19 08:30:09 -06:00
parent 7c6879c617
commit 9eb3dfe2c7

View File

@ -4,7 +4,7 @@
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
"build": "webpack --mode production", "build": "webpack --mode production",
"clean": "rm -rf yarn.lock node_modules && yarn", "clean": "rm -rf yarn.lock node_modules/* && yarn",
"dev": "webpack --mode development", "dev": "webpack --mode development",
"docker": "yarn run build && docker build", "docker": "yarn run build && docker build",
"forcelatus": "pkgs=$(find node_modules/@latus -maxdepth 1 -mindepth 1 -printf '@latus/%f '); yarn upgrade $pkgs", "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)", "repl": "rlwrap -C qmp socat STDIO UNIX:$(ls /tmp/latus-*.sock | tail -n 1)",
"start": "NODE_ENV=production node build/index.js", "start": "NODE_ENV=production node build/index.js",
"test": "mocha --watch src", "test": "mocha --watch src",
"watch": "webpack --hot --watch --mode development" "watch": "NODE_PATH=./node_modules webpack --hot --watch --mode development"
}, },
"dependencies": { "dependencies": {
"@latus/core": "2.0.0", "@latus/core": "2.0.0",