diff --git a/package.json b/package.json index a6f7d39..03ff62e 100644 --- a/package.json +++ b/package.json @@ -17,6 +17,7 @@ "dox": "FLECKS_ENV_FLECKS_DOX_SERVER_filenameRewriters=\"{\\\"^@flecks/(.*):([0-9]+):([0-9]+)\\\": \\\"@flecks/\\$1:\\$2:\\$3\\\", \\\"^@avocado/(.*):([0-9]+):([0-9]+)\\\": \\\"@avocado/\\$1:\\$2:\\$3\\\", \\\"^@humus/(.*):([0-9]+):([0-9]+)\\\": \\\"@humus/\\$1:\\$2:\\$3\\\"}\" yarn flecks dox", "link-all": "yarn && for i in avocado humus; 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*,@humus*,humus*,-*:silly npm run dev", "unlink-all": "yarn unlink $(for i in $(ls node_modules/@flecks); do echo -n \"@flecks/$i \"; done) && yarn install --force",