2018-08-14 12:26:23 +00:00
|
|
|
{
|
|
|
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
|
|
"version": 1,
|
|
|
|
"newProjectRoot": "projects",
|
|
|
|
"projects": {
|
|
|
|
"scanner-app": {
|
|
|
|
"root": "",
|
|
|
|
"sourceRoot": "src",
|
|
|
|
"projectType": "application",
|
2018-08-15 14:54:10 +00:00
|
|
|
"prefix": "app",
|
2018-08-14 12:26:23 +00:00
|
|
|
"schematics": {
|
|
|
|
"@schematics/angular:component": {
|
|
|
|
"styleext": "scss"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"architect": {
|
|
|
|
"build": {
|
|
|
|
"builder": "@loafer/angular-cli-webpack:custom-webpack-browser",
|
|
|
|
"options": {
|
|
|
|
"customWebpackConfig": {
|
|
|
|
"path": "./config/webpack.config.renderer.js"
|
|
|
|
},
|
|
|
|
"outputPath": "dist/scanner-app",
|
|
|
|
"index": "src/index.html",
|
|
|
|
"main": "src/main.ts",
|
|
|
|
"polyfills": "src/polyfills.ts",
|
|
|
|
"tsConfig": "src/tsconfig.app.json",
|
|
|
|
"assets": [
|
|
|
|
"src/favicon.ico",
|
2018-10-12 13:05:36 +00:00
|
|
|
"src/assets/image",
|
|
|
|
"src/assets/i18n"
|
2018-08-14 12:26:23 +00:00
|
|
|
],
|
|
|
|
"styles": [
|
2018-09-19 05:04:53 +00:00
|
|
|
"node_modules/primeicons/primeicons.css",
|
2018-08-14 12:26:23 +00:00
|
|
|
"node_modules/primeng/resources/primeng.min.css",
|
|
|
|
"src/styles.scss"
|
|
|
|
],
|
|
|
|
"scripts": []
|
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"production": {
|
|
|
|
"fileReplacements": [
|
|
|
|
{
|
|
|
|
"replace": "src/environments/environment.ts",
|
|
|
|
"with": "src/environments/environment.prod.ts"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"optimization": true,
|
|
|
|
"outputHashing": "all",
|
|
|
|
"sourceMap": false,
|
|
|
|
"extractCss": true,
|
|
|
|
"namedChunks": false,
|
|
|
|
"aot": true,
|
|
|
|
"extractLicenses": true,
|
|
|
|
"vendorChunk": false,
|
|
|
|
"buildOptimizer": true
|
|
|
|
},
|
|
|
|
"hmr": {
|
|
|
|
"fileReplacements": [
|
|
|
|
{
|
|
|
|
"replace": "src/environments/environment.ts",
|
|
|
|
"with": "src/environments/environment.hmr.ts"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"serve": {
|
|
|
|
"builder": "@loafer/angular-cli-webpack:generic-dev-server",
|
|
|
|
"options": {
|
|
|
|
"browserTarget": "scanner-app:build",
|
|
|
|
"hmrWarning": false
|
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"production": {
|
|
|
|
"browserTarget": "scanner-app:build:production"
|
|
|
|
},
|
|
|
|
"hmr": {
|
|
|
|
"hmr": true,
|
|
|
|
"browserTarget": "scanner-app:build:hmr"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"extract-i18n": {
|
|
|
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
|
|
"options": {
|
|
|
|
"browserTarget": "scanner-app:build"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"test": {
|
|
|
|
"builder": "@angular-devkit/build-angular:karma",
|
|
|
|
"options": {
|
|
|
|
"main": "src/test.ts",
|
|
|
|
"polyfills": "src/polyfills.ts",
|
|
|
|
"tsConfig": "src/tsconfig.spec.json",
|
|
|
|
"karmaConfig": "src/karma.conf.js",
|
|
|
|
"styles": [
|
|
|
|
"src/styles.scss"
|
|
|
|
],
|
|
|
|
"scripts": [],
|
|
|
|
"assets": [
|
|
|
|
"src/favicon.ico",
|
|
|
|
"src/assets"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint": {
|
|
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
|
|
"options": {
|
|
|
|
"tsConfig": [
|
|
|
|
"src/tsconfig.app.json",
|
|
|
|
"src/tsconfig.spec.json"
|
|
|
|
],
|
|
|
|
"exclude": [
|
|
|
|
"**/node_modules/**"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"scanner-app-e2e": {
|
|
|
|
"root": "e2e/",
|
|
|
|
"projectType": "application",
|
|
|
|
"architect": {
|
|
|
|
"e2e": {
|
|
|
|
"builder": "@angular-devkit/build-angular:protractor",
|
|
|
|
"options": {
|
|
|
|
"protractorConfig": "e2e/protractor.conf.js",
|
|
|
|
"devServerTarget": "scanner-app:serve"
|
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"production": {
|
|
|
|
"devServerTarget": "scanner-app:serve:production"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"lint": {
|
|
|
|
"builder": "@angular-devkit/build-angular:tslint",
|
|
|
|
"options": {
|
|
|
|
"tsConfig": "e2e/tsconfig.e2e.json",
|
|
|
|
"exclude": [
|
|
|
|
"**/node_modules/**"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2018-08-17 01:04:48 +00:00
|
|
|
"defaultProject": "scanner-app",
|
|
|
|
"cli": {
|
|
|
|
"defaultCollection": "@ngrx/schematics"
|
|
|
|
}
|
2018-08-14 12:26:23 +00:00
|
|
|
}
|