PeerTube/client/angular.json

163 lines
4.5 KiB
JSON
Raw Normal View History

2018-05-15 03:58:08 -05:00
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"PeerTube": {
"root": "",
"sourceRoot": "src",
"projectType": "application",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
2018-05-15 10:08:31 -05:00
"deployUrl": "client/",
2018-05-15 03:58:08 -05:00
"outputPath": "dist",
"index": "src/index.html",
"main": "src/main.ts",
"tsConfig": "src/tsconfig.app.json",
"polyfills": "src/polyfills.ts",
"stylePreprocessorOptions": {
"includePaths": [
"src/sass/include"
]
},
"assets": [
"src/assets/images",
"src/manifest.json"
],
"styles": [
"src/sass/application.scss"
],
"scripts": []
},
"configurations": {
"production": {
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
2018-05-16 03:44:38 -05:00
"serviceWorker": true,
"ngswConfigPath": "src/ngsw-config.json",
2018-05-15 03:58:08 -05:00
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
}
]
2018-05-16 12:59:21 -05:00
},
"hmr": {
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.hmr.ts"
}
]
},
"e2e": {
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.e2e.ts"
}
]
2018-05-15 03:58:08 -05:00
}
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "PeerTube:build"
},
"configurations": {
"production": {
"browserTarget": "PeerTube:build:production"
2018-05-16 12:59:21 -05:00
},
"hmr": {
"browserTarget": "PeerTube:build:hmr"
},
"e2e": {
"browserTarget": "PeerTube:build:e2e"
2018-05-15 03:58:08 -05:00
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "PeerTube: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": [],
"styles": [
"src/sass/application.scss"
],
"assets": [
"src/assets/images",
"src/manifest.json"
]
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"src/tsconfig.app.json",
"src/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
]
}
}
}
},
"PeerTube-e2e": {
2018-05-16 12:59:21 -05:00
"root": "e2e/",
2018-05-15 03:58:08 -05:00
"sourceRoot": "",
"projectType": "application",
"architect": {
"e2e": {
"builder": "@angular-devkit/build-angular:protractor",
"options": {
2018-05-16 12:59:21 -05:00
"protractorConfig": "e2e/protractor.conf.js",
"devServerTarget": "PeerTube:serve:e2e"
2018-05-15 03:58:08 -05:00
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"e2e/tsconfig.e2e.json"
],
"exclude": [
"**/node_modules/**"
]
}
}
}
}
},
"defaultProject": "PeerTube",
"schematics": {
"@schematics/angular:component": {
"prefix": "app",
"styleext": "scss"
},
"@schematics/angular:directive": {
"prefix": "app"
}
}
2018-05-15 10:08:31 -05:00
}