|
|
|
@ -3,7 +3,7 @@ |
|
|
|
"version": 1, |
|
|
|
"newProjectRoot": "projects", |
|
|
|
"projects": { |
|
|
|
"myProjectName": { |
|
|
|
"MyProjectName": { |
|
|
|
"projectType": "application", |
|
|
|
"schematics": { |
|
|
|
"@schematics/angular:component": { |
|
|
|
@ -17,12 +17,12 @@ |
|
|
|
"build": { |
|
|
|
"builder": "@angular-devkit/build-angular:browser", |
|
|
|
"options": { |
|
|
|
"outputPath": "dist/myProjectName", |
|
|
|
"outputPath": "dist/MyProjectName", |
|
|
|
"index": "src/index.html", |
|
|
|
"main": "src/main.ts", |
|
|
|
"polyfills": "src/polyfills.ts", |
|
|
|
"tsConfig": "tsconfig.app.json", |
|
|
|
"aot": false, |
|
|
|
"aot": true, |
|
|
|
"extractCss": true, |
|
|
|
"assets": ["src/favicon.ico", "src/assets"], |
|
|
|
"styles": [ |
|
|
|
@ -30,28 +30,13 @@ |
|
|
|
"node_modules/bootstrap/dist/css/bootstrap.min.css", |
|
|
|
{ |
|
|
|
"input": "node_modules/@fortawesome/fontawesome-free/css/all.min.css", |
|
|
|
"lazy": true, |
|
|
|
"inject": false, |
|
|
|
"bundleName": "fontawesome-all.min" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"input": "node_modules/@fortawesome/fontawesome-free/css/v4-shims.min.css", |
|
|
|
"lazy": true, |
|
|
|
"inject": false, |
|
|
|
"bundleName": "fontawesome-v4-shims.min" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"input": "node_modules/primeng/resources/themes/nova-light/theme.css", |
|
|
|
"lazy": true, |
|
|
|
"bundleName": "primeng-nova-light-theme" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"input": "node_modules/primeicons/primeicons.css", |
|
|
|
"lazy": true, |
|
|
|
"bundleName": "primeicons" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"input": "node_modules/primeng/resources/primeng.min.css", |
|
|
|
"lazy": true, |
|
|
|
"bundleName": "primeng.min" |
|
|
|
} |
|
|
|
], |
|
|
|
"scripts": [] |
|
|
|
@ -69,7 +54,6 @@ |
|
|
|
"sourceMap": false, |
|
|
|
"extractCss": true, |
|
|
|
"namedChunks": false, |
|
|
|
"aot": true, |
|
|
|
"extractLicenses": true, |
|
|
|
"vendorChunk": false, |
|
|
|
"buildOptimizer": true, |
|
|
|
@ -78,14 +62,11 @@ |
|
|
|
"type": "initial", |
|
|
|
"maximumWarning": "2mb", |
|
|
|
"maximumError": "5mb" |
|
|
|
} |
|
|
|
] |
|
|
|
}, |
|
|
|
"hmr": { |
|
|
|
"fileReplacements": [ |
|
|
|
}, |
|
|
|
{ |
|
|
|
"replace": "src/environments/environment.ts", |
|
|
|
"with": "src/environments/environment.hmr.ts" |
|
|
|
"type": "anyComponentStyle", |
|
|
|
"maximumWarning": "6kb", |
|
|
|
"maximumError": "10kb" |
|
|
|
} |
|
|
|
] |
|
|
|
} |
|
|
|
@ -94,22 +75,18 @@ |
|
|
|
"serve": { |
|
|
|
"builder": "@angular-devkit/build-angular:dev-server", |
|
|
|
"options": { |
|
|
|
"browserTarget": "myProjectName:build" |
|
|
|
"browserTarget": "MyProjectName:build" |
|
|
|
}, |
|
|
|
"configurations": { |
|
|
|
"production": { |
|
|
|
"browserTarget": "myProjectName:build:production" |
|
|
|
}, |
|
|
|
"hmr": { |
|
|
|
"hmr": true, |
|
|
|
"browserTarget": "myProjectName:build:hmr" |
|
|
|
"browserTarget": "MyProjectName:build:production" |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
"extract-i18n": { |
|
|
|
"builder": "@angular-devkit/build-angular:extract-i18n", |
|
|
|
"options": { |
|
|
|
"browserTarget": "myProjectName:build" |
|
|
|
"browserTarget": "MyProjectName:build" |
|
|
|
} |
|
|
|
}, |
|
|
|
"test": { |
|
|
|
@ -123,10 +100,8 @@ |
|
|
|
"styles": [ |
|
|
|
"src/styles.scss", |
|
|
|
"node_modules/bootstrap/dist/css/bootstrap.min.css", |
|
|
|
"node_modules/font-awesome/css/font-awesome.min.css", |
|
|
|
"node_modules/primeng/resources/themes/nova-light/theme.css", |
|
|
|
"node_modules/primeicons/primeicons.css", |
|
|
|
"node_modules/primeng/resources/primeng.min.css" |
|
|
|
"node_modules/@fortawesome/fontawesome-free/css/all.min.css", |
|
|
|
"node_modules/@fortawesome/fontawesome-free/css/v4-shims.min.css" |
|
|
|
], |
|
|
|
"scripts": [] |
|
|
|
} |
|
|
|
@ -142,16 +117,19 @@ |
|
|
|
"builder": "@angular-devkit/build-angular:protractor", |
|
|
|
"options": { |
|
|
|
"protractorConfig": "e2e/protractor.conf.js", |
|
|
|
"devServerTarget": "myProjectName:serve" |
|
|
|
"devServerTarget": "MyProjectName:serve" |
|
|
|
}, |
|
|
|
"configurations": { |
|
|
|
"production": { |
|
|
|
"devServerTarget": "myProjectName:serve:production" |
|
|
|
"devServerTarget": "MyProjectName:serve:production" |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
"defaultProject": "myProjectName" |
|
|
|
"defaultProject": "MyProjectName", |
|
|
|
"cli": { |
|
|
|
"analytics": false |
|
|
|
} |
|
|
|
} |
|
|
|
|