2019-06-03 15:21:49 +02:00
|
|
|
{
|
|
|
|
"$schema": "./node_modules/@angular-devkit/core/src/workspace/workspace-schema.json",
|
|
|
|
"version": 1,
|
|
|
|
"newProjectRoot": "projects",
|
|
|
|
"projects": {
|
|
|
|
"openaire-search": {
|
|
|
|
"root": "",
|
|
|
|
"sourceRoot": "src",
|
|
|
|
"projectType": "application",
|
|
|
|
"architect": {
|
|
|
|
"build": {
|
|
|
|
"builder": "@angular-devkit/build-angular:browser",
|
|
|
|
"options": {
|
|
|
|
"outputPath": "dist/browser",
|
|
|
|
"index": "src/index.html",
|
|
|
|
"main": "src/main.ts",
|
|
|
|
"tsConfig": "src/tsconfig.app.json",
|
|
|
|
"polyfills": "src/polyfills.ts",
|
|
|
|
"assets": [
|
|
|
|
"src/assets",
|
|
|
|
"src/robots.txt",
|
2019-08-28 11:59:31 +02:00
|
|
|
"src/sitemap.xml"
|
2019-06-03 15:21:49 +02:00
|
|
|
],
|
|
|
|
"styles": [
|
|
|
|
"src/styles.css",
|
|
|
|
"node_modules/datatables.net-dt/css/jquery.dataTables.css"
|
|
|
|
],
|
|
|
|
"scripts": [
|
|
|
|
"node_modules/jquery/dist/jquery.js",
|
|
|
|
"node_modules/datatables.net/js/jquery.dataTables.js"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"production": {
|
|
|
|
"optimization": true,
|
|
|
|
"outputHashing": "all",
|
|
|
|
"sourceMap": false,
|
|
|
|
"extractCss": true,
|
|
|
|
"namedChunks": false,
|
|
|
|
"aot": true,
|
|
|
|
"extractLicenses": true,
|
|
|
|
"vendorChunk": false,
|
|
|
|
"buildOptimizer": true,
|
|
|
|
"fileReplacements": [
|
|
|
|
{
|
|
|
|
"replace": "src/environments/environment.ts",
|
|
|
|
"with": "src/environments/environment.prod.ts"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"serve": {
|
|
|
|
"builder": "@angular-devkit/build-angular:dev-server",
|
|
|
|
"options": {
|
|
|
|
"browserTarget": "openaire-search:build"
|
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"production": {
|
|
|
|
"browserTarget": "openaire-search:build:production"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"extract-i18n": {
|
|
|
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
|
|
"options": {
|
|
|
|
"browserTarget": "openaire-search:build"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"test": {
|
|
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
|
|
"options": {
|
|
|
|
"main": "src/test.ts",
|
|
|
|
"karmaConfig": "./karma.conf.js",
|
|
|
|
"polyfills": "src/polyfills.ts",
|
|
|
|
"tsConfig": "src/tsconfig.spec.json",
|
|
|
|
"scripts": [
|
|
|
|
"node_modules/jquery/dist/jquery.js",
|
|
|
|
"node_modules/datatables.net/js/jquery.dataTables.js"
|
|
|
|
],
|
|
|
|
"styles": [
|
|
|
|
"src/styles.css",
|
|
|
|
"node_modules/datatables.net-dt/css/jquery.dataTables.css"
|
|
|
|
],
|
|
|
|
"assets": [
|
|
|
|
"src/assets",
|
|
|
|
"src/robots.txt",
|
2019-08-28 11:59:31 +02:00
|
|
|
"src/sitemap.xml"
|
2019-06-03 15:21:49 +02:00
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint": {
|
|
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
|
|
"options": {
|
|
|
|
"tsConfig": [
|
|
|
|
"src/tsconfig.app.json",
|
|
|
|
"src/tsconfig.spec.json"
|
|
|
|
],
|
|
|
|
"exclude": [
|
|
|
|
"**/node_modules/**"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"server": {
|
|
|
|
"builder": "@angular-devkit/build-angular:server",
|
|
|
|
"options": {
|
|
|
|
"outputPath": "dist/server",
|
|
|
|
"main": "src/main.server.ts",
|
|
|
|
"tsConfig": "src/tsconfig.server.json"
|
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"production": {
|
|
|
|
"fileReplacements": [
|
|
|
|
{
|
|
|
|
"replace": "src/environments/environment.ts",
|
|
|
|
"with": "src/environments/environment.prod.ts"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"openaire-search-e2e": {
|
|
|
|
"root": "e2e",
|
|
|
|
"sourceRoot": "e2e",
|
|
|
|
"projectType": "application",
|
|
|
|
"architect": {
|
|
|
|
"e2e": {
|
|
|
|
"builder": "@angular-devkit/build-angular:protractor",
|
|
|
|
"options": {
|
|
|
|
"protractorConfig": "./protractor.conf.js",
|
|
|
|
"devServerTarget": "openaire-search:serve"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint": {
|
|
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
|
|
"options": {
|
|
|
|
"tsConfig": [
|
|
|
|
"e2e/tsconfig.e2e.json"
|
|
|
|
],
|
|
|
|
"exclude": [
|
|
|
|
"**/node_modules/**"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"defaultProject": "openaire-search",
|
|
|
|
"schematics": {
|
|
|
|
"@schematics/angular:class": {
|
|
|
|
"spec": false
|
|
|
|
},
|
|
|
|
"@schematics/angular:component": {
|
|
|
|
"spec": false,
|
|
|
|
"inlineStyle": true,
|
|
|
|
"inlineTemplate": true,
|
|
|
|
"prefix": "app",
|
|
|
|
"styleext": "css"
|
|
|
|
},
|
|
|
|
"@schematics/angular:directive": {
|
|
|
|
"spec": false,
|
|
|
|
"prefix": "app"
|
|
|
|
},
|
|
|
|
"@schematics/angular:guard": {
|
|
|
|
"spec": false
|
|
|
|
},
|
|
|
|
"@schematics/angular:module": {
|
|
|
|
"spec": false
|
|
|
|
},
|
|
|
|
"@schematics/angular:pipe": {
|
|
|
|
"spec": false
|
|
|
|
},
|
|
|
|
"@schematics/angular:service": {
|
|
|
|
"spec": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|