From 18259d7f08aac5d8ca781022053b2b00e4a230d9 Mon Sep 17 00:00:00 2001 From: pabloFuente Date: Wed, 14 Mar 2018 23:07:13 +0100 Subject: [PATCH] openvidu-browser prepublish command updated --- openvidu-browser/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openvidu-browser/package.json b/openvidu-browser/package.json index 4ab4d4cb6c..97d31bcd3a 100644 --- a/openvidu-browser/package.json +++ b/openvidu-browser/package.json @@ -28,7 +28,7 @@ "scripts": { "browserify": "VERSION=${VERSION:-}; cd ts/OpenVidu && browserify Main.ts -p [ tsify ] --exclude kurento-browser-extensions --debug -o ../../static/js/openvidu-browser-$VERSION.js -v", "browserify-prod": "VERSION=${VERSION:-}; cd ts/OpenVidu && browserify --debug Main.ts -p [ tsify ] --exclude kurento-browser-extensions | uglifyjs --source-map content=inline --output ../../static/js/openvidu-browser-$VERSION.min.js", - "prepublish": "cd ts/OpenViduInternal && tsc && cd ../OpenVidu && tsc && cd ../.. && tsc --declaration ts/OpenVidu/index.ts --outDir lib --sourceMap && tsc --declaration ts/OpenVidu/Main.ts --outDir lib --sourceMap", + "prepublish": "cd ts/OpenViduInternal && tsc && cd ../OpenVidu && tsc && cd ../.. && tsc --declaration ts/OpenVidu/index.ts --outDir lib --sourceMap --lib dom,es5,es2015.promise,scripthost && tsc --declaration ts/OpenVidu/Main.ts --outDir lib --sourceMap --lib dom,es5,es2015.promise,scripthost", "test": "echo \"Error: no test specified\" && exit 1", "updatetsc": "cd ts/OpenViduInternal && tsc && cd ../OpenVidu && tsc && cd ../.. && tsc --declaration ts/OpenVidu/index.ts --outDir lib --sourceMap --lib dom,es5,es2015.promise,scripthost && tsc --declaration ts/OpenVidu/Main.ts --outDir lib --sourceMap --lib dom,es5,es2015.promise,scripthost" },