fix: produce delete cache

This commit is contained in:
cha0s 2020-12-20 02:54:46 -06:00
parent e36d202bef
commit 0bc646739f

View File

@ -9,7 +9,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",
"forcereddichat": "pkgs=$(find node_modules/@reddichat -maxdepth 1 -mindepth 1 -printf '@reddichat/%f '); yarn upgrade $pkgs", "forcereddichat": "pkgs=$(find node_modules/@reddichat -maxdepth 1 -mindepth 1 -printf '@reddichat/%f '); yarn upgrade $pkgs",
"lint": "eslint --cache --format codeframe --ext mjs,jsx,js src", "lint": "eslint --cache --format codeframe --ext mjs,jsx,js src",
"produce": "yarn run docker -t cha0s6983/reddichat . && docker tag cha0s6983/reddichat docker.i12e.cha0s.io/cha0s6983/reddichat && docker push docker.i12e.cha0s.io/cha0s6983/reddichat", "produce": "sudo rm -rf node_modules/.cache && yarn run docker -t cha0s6983/reddichat . && docker tag cha0s6983/reddichat docker.i12e.cha0s.io/cha0s6983/reddichat && docker push docker.i12e.cha0s.io/cha0s6983/reddichat",
"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",