From: Jérôme Benoit Date: Sat, 24 Aug 2024 11:21:16 +0000 (+0200) Subject: fix: make sea script works on Windows™ X-Git-Tag: ocpp-server@v1.5.2~89 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=844081b0ccab6d76dcd269aeca9a4e3ae599c468;p=e-mobility-charging-stations-simulator.git fix: make sea script works on Windows™ Signed-off-by: Jérôme Benoit --- diff --git a/package.json b/package.json index 21eebb3d..12646596 100644 --- a/package.json +++ b/package.json @@ -72,7 +72,7 @@ "coverage": "c8 report --reporter=lcov", "coverage:html": "c8 report --reporter=html", "clinic:clean": "clinic clean", - "sea": "pnpm exec rimraf ./dist/evse-simulator ./dist/evse-simulator.blob && node --experimental-sea-config sea-config.json && cp $(volta which node || n which lts || nvm which node || command -v node) ./dist/evse-simulator && pnpm dlx postject ./dist/evse-simulator NODE_SEA_BLOB ./dist/evse-simulator.blob --sentinel-fuse NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2" + "sea": "pnpm exec rimraf ./dist/evse-simulator ./dist/evse-simulator.blob && node --experimental-sea-config sea-config.json && pnpm dlx ncp $(volta which node || n which lts || nvm which node || command -v node) ./dist/evse-simulator && pnpm dlx postject ./dist/evse-simulator NODE_SEA_BLOB ./dist/evse-simulator.blob --sentinel-fuse NODE_SEA_FUSE_fce680ab2cc467b6e072b8b5df1996b2" }, "pnpm": { "overrides": {