mirror of https://github.com/OpenVidu/openvidu.git
209 lines
5.5 KiB
JSON
209 lines
5.5 KiB
JSON
{
|
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
"version": 1,
|
|
"newProjectRoot": "projects",
|
|
"projects": {
|
|
"openvidu-components-testapp": {
|
|
"projectType": "application",
|
|
"schematics": {
|
|
"@schematics/angular:component": {
|
|
"style": "scss"
|
|
}
|
|
},
|
|
"root": "",
|
|
"sourceRoot": "src",
|
|
"prefix": "app",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-angular:browser",
|
|
"options": {
|
|
"outputPath": "dist/openvidu-components-testapp",
|
|
"index": "src/index.html",
|
|
"main": "src/main.ts",
|
|
"polyfills": "src/polyfills.ts",
|
|
"tsConfig": "tsconfig.app.json",
|
|
"aot": true,
|
|
"assets": ["src/favicon.ico", "src/assets"],
|
|
"styles": ["src/styles.scss"],
|
|
"scripts": []
|
|
},
|
|
"configurations": {
|
|
"development": {
|
|
"optimization": false,
|
|
"outputHashing": "all",
|
|
"sourceMap": true,
|
|
"namedChunks": false,
|
|
"extractLicenses": true,
|
|
"vendorChunk": false,
|
|
"buildOptimizer": false
|
|
},
|
|
"production": {
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "src/environments/environment.ts",
|
|
"with": "src/environments/environment.prod.ts"
|
|
}
|
|
],
|
|
"optimization": true,
|
|
"outputHashing": "all",
|
|
"sourceMap": false,
|
|
"namedChunks": false,
|
|
"extractLicenses": true,
|
|
"vendorChunk": false,
|
|
"buildOptimizer": true,
|
|
"budgets": [
|
|
{
|
|
"type": "initial",
|
|
"maximumWarning": "2mb",
|
|
"maximumError": "5mb"
|
|
},
|
|
{
|
|
"type": "anyComponentStyle",
|
|
"maximumWarning": "6kb",
|
|
"maximumError": "10kb"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"serve": {
|
|
"builder": "@angular-devkit/build-angular:dev-server",
|
|
"options": {
|
|
"browserTarget": "openvidu-components-testapp:build",
|
|
"proxyConfig": "src/proxy.config.json"
|
|
},
|
|
"configurations": {
|
|
"development": {
|
|
"browserTarget": "openvidu-components-testapp:build:development"
|
|
},
|
|
"production": {
|
|
"browserTarget": "openvidu-components-testapp:build:production"
|
|
}
|
|
}
|
|
},
|
|
"extract-i18n": {
|
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
"options": {
|
|
"browserTarget": "openvidu-components-testapp:build"
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
"options": {
|
|
"main": "src/test.ts",
|
|
"polyfills": "src/polyfills.ts",
|
|
"tsConfig": "tsconfig.spec.json",
|
|
"karmaConfig": "karma.conf.js",
|
|
"assets": ["src/favicon.ico", "src/assets"],
|
|
"styles": ["src/styles.scss"],
|
|
"scripts": []
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
"options": {
|
|
"tsConfig": ["tsconfig.app.json", "tsconfig.spec.json", "e2e/tsconfig.json"],
|
|
"exclude": ["**/node_modules/**"]
|
|
}
|
|
},
|
|
"e2e": {
|
|
"builder": "@angular-devkit/build-angular:protractor",
|
|
"options": {
|
|
"protractorConfig": "e2e/protractor.conf.js",
|
|
"devServerTarget": "openvidu-components-testapp:serve"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"devServerTarget": "openvidu-components-testapp:serve:production"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"openvidu-angular": {
|
|
"projectType": "library",
|
|
"root": "projects/openvidu-angular",
|
|
"sourceRoot": "projects/openvidu-angular/src",
|
|
"prefix": "ov",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-angular:ng-packagr",
|
|
"options": {
|
|
"project": "projects/openvidu-angular/ng-package.json"
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"tsConfig": "projects/openvidu-angular/tsconfig.lib.prod.json"
|
|
},
|
|
"development": {
|
|
"tsConfig": "projects/openvidu-angular/tsconfig.lib.json"
|
|
}
|
|
},
|
|
"defaultConfiguration": "production"
|
|
},
|
|
"test": {
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
"options": {
|
|
"main": "projects/openvidu-angular/src/test.ts",
|
|
"tsConfig": "projects/openvidu-angular/tsconfig.spec.json",
|
|
"karmaConfig": "projects/openvidu-angular/karma.conf.js"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"openvidu-webcomponent": {
|
|
"projectType": "application",
|
|
"root": "",
|
|
"sourceRoot": "src",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular-devkit/build-angular:browser",
|
|
"options": {
|
|
"outputPath": "dist/openvidu-webcomponent-rc",
|
|
"index": "src/index.html",
|
|
"main": "src/app/openvidu-webcomponent/openvidu-webcomponent.main.ts",
|
|
"polyfills": "src/polyfills.ts",
|
|
"tsConfig": "src/app/openvidu-webcomponent/tsconfig.openvidu-webcomponent.json",
|
|
"aot": true,
|
|
"assets": ["src/favicon.ico"],
|
|
"styles": ["src/app/openvidu-webcomponent/openvidu-webcomponent.component.scss"],
|
|
"scripts": []
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"fileReplacements": [
|
|
{
|
|
"replace": "src/environments/environment.ts",
|
|
"with": "src/environments/environment.prod.ts"
|
|
}
|
|
],
|
|
"optimization": true,
|
|
"outputHashing": "none",
|
|
"sourceMap": false,
|
|
"namedChunks": false,
|
|
"extractLicenses": true,
|
|
"vendorChunk": false,
|
|
"buildOptimizer": true,
|
|
"budgets": [
|
|
{
|
|
"type": "initial",
|
|
"maximumWarning": "1mb",
|
|
"maximumError": "2mb"
|
|
},
|
|
{
|
|
"type": "anyComponentStyle",
|
|
"maximumWarning": "2kb",
|
|
"maximumError": "4kb"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"cli": {
|
|
"analytics": false
|
|
}
|
|
}
|