diff --git a/lib/www/server/package.json b/lib/www/server/package.json index 93cce80..4421c06 100644 --- a/lib/www/server/package.json +++ b/lib/www/server/package.json @@ -5,7 +5,7 @@ "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "postinstall": "redoc-cli bundle ./spec/openapi.yaml -o ./spec/openapi.html" + "postinstall": "[[ -e ./node_modules/DOUGAL_ROOT ]] || ln -s .. ./node_modules/DOUGAL_ROOT; redoc-cli bundle ./spec/openapi.yaml -o ./spec/openapi.html" }, "author": "Aaltronav s.r.o.", "license": "UNLICENSED",