diff --git a/package.json b/package.json index 7206a54..8693a1b 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,7 @@ "dev": "npm run -- build:only -h", "link-all": "yarn && for i in avocado humus persea; do yarn link $(for j in $(ls node_modules/@$i/); do echo \" @$i/$j\"; done); done", "postinstall": "patch-package", + "refresh": "rm -rf yarn.lock node_modules dist && yarn link-all", "repl": "npx flecks repl --rlwrap", "start": "DEBUG=@avocado*,@flecks*,@persea*,persea*,-*:silly npm run dev", "unlink-all": "yarn unlink $(for i in $(ls node_modules/@flecks); do echo -n \"@flecks/$i \"; done) && yarn install --force",