This commit is contained in:
cha0s 2021-03-10 00:38:54 -06:00
parent fd4ca05c43
commit 023ba5e775

View File

@ -3,7 +3,7 @@
"version": "1.0.0", "version": "1.0.0",
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
"build": "webpack --mode production", "build": "NODE_PATH=./node_modules webpack --mode production",
"clean": "rm -rf yarn.lock build node_modules/* && yarn", "clean": "rm -rf yarn.lock build node_modules/* && yarn",
"dev": "webpack --mode development", "dev": "webpack --mode development",
"docker": "yarn run build && docker build", "docker": "yarn run build && docker build",
@ -11,7 +11,7 @@
"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",
"lint": "eslint --cache --format codeframe --ext mjs,jsx,js src", "lint": "eslint --cache --format codeframe --ext mjs,jsx,js src",
"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_PATH=./node_modules node build/index.js",
"test": "mocha --watch src", "test": "mocha --watch src",
"watch": "NODE_PATH=./node_modules webpack --hot --watch --mode development" "watch": "NODE_PATH=./node_modules webpack --hot --watch --mode development"
}, },