openvidu-components: Added npm script for serve with ssl

pull/760/head
Carlos Santos 2022-11-10 18:08:43 +01:00
parent a689f0009f
commit e34ad74b8f
1 changed files with 1 additions and 0 deletions

View File

@ -68,6 +68,7 @@
"lib:test": "ng test openvidu-angular --no-watch --code-coverage", "lib:test": "ng test openvidu-angular --no-watch --code-coverage",
"lint": "ng lint", "lint": "ng lint",
"start": "ng serve --configuration development", "start": "ng serve --configuration development",
"start:ssl": "ng serve --ssl --configuration development --host 0.0.0.0 --port 4200 --ssl-cert /path/to/cert.pem --ssl-key /path/to/key.pem",
"start-prod": "npx http-server ./dist/openvidu-components-testapp/ --port 4200", "start-prod": "npx http-server ./dist/openvidu-components-testapp/ --port 4200",
"webcomponent:build": "./node_modules/@angular/cli/bin/ng.js build openvidu-webcomponent --configuration production && node ./openvidu-webcomponent-build.js", "webcomponent:build": "./node_modules/@angular/cli/bin/ng.js build openvidu-webcomponent --configuration production && node ./openvidu-webcomponent-build.js",
"webcomponent:e2e": "tsc --project ./e2e && npx mocha --recursive --timeout 30000 ./e2e/dist/webcomponent.test.js", "webcomponent:e2e": "tsc --project ./e2e && npx mocha --recursive --timeout 30000 ./e2e/dist/webcomponent.test.js",