[Monitor Dashboard | Trunk]: Add dev build on package.json. Change index.prod.html like index.html
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard@60414 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
4b33eb8b0e
commit
75a9850e72
17
angular.json
17
angular.json
|
@ -34,6 +34,17 @@
|
|||
]
|
||||
},
|
||||
"configurations": {
|
||||
"development": {
|
||||
"optimization": true,
|
||||
"outputHashing": "all",
|
||||
"sourceMap": false,
|
||||
"extractCss": true,
|
||||
"namedChunks": false,
|
||||
"aot": true,
|
||||
"extractLicenses": true,
|
||||
"vendorChunk": false,
|
||||
"buildOptimizer": true
|
||||
},
|
||||
"production": {
|
||||
"optimization": true,
|
||||
"outputHashing": "all",
|
||||
|
@ -89,6 +100,9 @@
|
|||
},
|
||||
"beta": {
|
||||
"browserTarget": "ng-universal-demo:build:beta"
|
||||
},
|
||||
"development": {
|
||||
"browserTarget": "ng-universal-demo:build:development"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -164,7 +178,8 @@
|
|||
"with": "src/environments/environment.beta.ts"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"development": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,13 +13,18 @@
|
|||
"start:prerender": "npm run build:prerender && npm run serve:prerender",
|
||||
"start:ssr-beta": "npm run build:ssr-beta && npm run serve:ssr",
|
||||
"start:prerender-beta": "npm run build:prerender-beta && npm run serve:prerender",
|
||||
"start:ssr-dev": "npm run build:ssr-dev && npm run serve:ssr",
|
||||
"start:prerender-dev": "npm run build:prerender-dev && npm run serve:prerender",
|
||||
"build": "ng build",
|
||||
"build:client-and-server-bundles": "ng build --prod --sourceMap --stats-json=true --base-href /dashboard/ && ng run ng-universal-demo:server:production",
|
||||
"build:client-and-server-bundles-beta": "ng build --configuration=beta --sourceMap --stats-json=true --base-href /dashboard/ && ng run ng-universal-demo:server:beta",
|
||||
"build:client-and-server-bundles-dev": "ng build --configuration=development --sourceMap --stats-json=true --base-href /dashboard/ && ng run ng-universal-demo:server:dev",
|
||||
"build:prerender": "npm run build:client-and-server-bundles && npm run webpack:server && npm run generate:prerender",
|
||||
"build:ssr": "npm run build:client-and-server-bundles && npm run webpack:server",
|
||||
"build:prerender-beta": "npm run build:client-and-server-bundles-beta && npm run webpack:server && npm run generate:prerender",
|
||||
"build:ssr-beta": "npm run build:client-and-server-bundles-beta && npm run webpack:server",
|
||||
"build:prerender-dev": "npm run build:client-and-server-bundles-dev && npm run webpack:server && npm run generate:prerender",
|
||||
"build:ssr-dev": "npm run build:client-and-server-bundles-dev && npm run webpack:server",
|
||||
"generate:prerender": "cd dist && node prerender",
|
||||
"webpack:server": "webpack --config webpack.server.config.js --progress --colors",
|
||||
"serve:prerender": "cd dist/browser && http-server",
|
||||
|
|
|
@ -247,4 +247,3 @@
|
|||
.landing .uk-dropdown, new-search-page .uk-dropdown, search-all .uk-dropdown {
|
||||
padding: 25px;
|
||||
}
|
||||
|
||||
|
|
|
@ -59,9 +59,8 @@ export let properties: EnvProperties = {
|
|||
cacheUrl: "https://demo.openaire.eu/cache/get?url=",
|
||||
|
||||
monitorServiceAPIURL: "https://beta.services.openaire.eu/uoa-monitor-service",
|
||||
|
||||
adminToolsAPIURL: "https://beta.services.openaire.eu/uoa-monitor-service/",
|
||||
|
||||
notificationsAPIURL: "https://beta.services.openaire.eu/uoa-monitor-service/notification/",
|
||||
adminToolsCommunity: "monitor",
|
||||
useHelpTexts:false,
|
||||
datasourcesAPI: "https://beta.services.openaire.eu/openaire/ds/search/",
|
||||
|
|
|
@ -61,9 +61,8 @@ export let properties: EnvProperties = {
|
|||
datasourcesAPI: "https://services.openaire.eu/openaire/ds/search/",
|
||||
|
||||
monitorServiceAPIURL: "https://services.openaire.eu/uoa-monitor-service",
|
||||
|
||||
adminToolsAPIURL: "https://services.openaire.eu/uoa-monitor-service/",
|
||||
|
||||
notificationsAPIURL: "https://services.openaire.eu/uoa-monitor-service/notification/",
|
||||
adminToolsCommunity: "monitor",
|
||||
useHelpTexts:false,
|
||||
contextsAPI: "https://services.openaire.eu/openaire/context",
|
||||
|
|
|
@ -62,9 +62,8 @@ export let properties: EnvProperties = {
|
|||
cacheUrl: "http://scoobydoo.di.uoa.gr:3000/get?url=",
|
||||
// monitorServiceAPIURL: "https://services.openaire.eu/uoa-monitor-service",
|
||||
monitorServiceAPIURL: "http://duffy.di.uoa.gr:8080/uoa-monitor-service",
|
||||
|
||||
adminToolsAPIURL: "http://duffy.di.uoa.gr:8080/uoa-monitor-service/",
|
||||
|
||||
notificationsAPIURL: "http://mpagasas.di.uoa.gr:8080/uoa-admin-tools/notification/",
|
||||
adminToolsCommunity: "monitor",
|
||||
useHelpTexts: false,
|
||||
datasourcesAPI: "https://beta.services.openaire.eu/openaire/ds/search/",
|
||||
|
|
|
@ -30,20 +30,7 @@
|
|||
<app-root></app-root>
|
||||
</div>
|
||||
</body>
|
||||
<script src="assets/theme-assets/js/common.min.js"></script>
|
||||
<script src="assets/theme-assets/js/altair_admin_common.min.js"></script>
|
||||
<script src="assets/theme-assets/uikit/js/uikit.min.js"></script>
|
||||
<script src="assets/theme-assets/uikit/js/uikit-icons.min.js"></script>
|
||||
<script>
|
||||
if(Modernizr.touch) {
|
||||
// fastClick (touch devices)
|
||||
FastClick.attach(document.body);
|
||||
}
|
||||
$window.load(function() {
|
||||
// ie fixes
|
||||
altair_helpers.ie_fix();
|
||||
});
|
||||
</script>
|
||||
<script src="https://cdn.ckeditor.com/4.5.11/full-all/ckeditor.js"></script>
|
||||
<script type="text/javascript">
|
||||
function loadAltmetrics(e, t, n) {
|
||||
var d = "createElement", c = "getElementsByTagName", m = "setAttribute", n = document.getElementById(e);
|
||||
|
|
Loading…
Reference in New Issue