socialnetworknews-web

A open-source Paper.li clone
git clone git://archive.git.mtrnord.blog/SocialNetworkNews/socialnetworknews-web.git
Log | Files | Refs | README | LICENSE

angular.json (4590B)


      1 {
      2   "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
      3   "version": 1,
      4   "newProjectRoot": "projects",
      5   "projects": {
      6     "social-networks-news-web": {
      7       "root": "",
      8       "sourceRoot": "src",
      9       "projectType": "application",
     10       "architect": {
     11         "build": {
     12           "builder": "@angular-devkit/build-angular:browser",
     13           "options": {
     14             "outputPath": "dist/browser",
     15             "index": "src/index.html",
     16             "main": "src/main.ts",
     17             "tsConfig": "src/tsconfig.app.json",
     18             "polyfills": "src/polyfills.ts",
     19             "assets": [
     20               "src/assets",
     21               "src/favicon.ico",
     22               "src/manifest.json"
     23             ],
     24             "styles": [
     25               "src/styles.scss",
     26               "node_modules/ngx-toastr/toastr.css"
     27             ],
     28             "scripts": [
     29               "src/fontawesome/fontawesome-all.min.js"
     30             ]
     31           },
     32           "configurations": {
     33             "production": {
     34               "optimization": true,
     35               "outputHashing": "all",
     36               "sourceMap": false,
     37               "extractCss": true,
     38               "namedChunks": false,
     39               "aot": true,
     40               "extractLicenses": true,
     41               "vendorChunk": false,
     42               "buildOptimizer": true,
     43               "fileReplacements": [
     44                 {
     45                   "replace": "src/environments/environment.ts",
     46                   "with": "src/environments/environment.prod.ts"
     47                 }
     48               ]
     49             }
     50           }
     51         },
     52         "serve": {
     53           "builder": "@angular-devkit/build-angular:dev-server",
     54           "options": {
     55             "browserTarget": "social-networks-news-web:build"
     56           },
     57           "configurations": {
     58             "production": {
     59               "browserTarget": "social-networks-news-web:build:production"
     60             }
     61           }
     62         },
     63         "extract-i18n": {
     64           "builder": "@angular-devkit/build-angular:extract-i18n",
     65           "options": {
     66             "browserTarget": "social-networks-news-web:build"
     67           }
     68         },
     69         "test": {
     70           "builder": "@angular-devkit/build-angular:karma",
     71           "options": {
     72             "main": "src/test.ts",
     73             "karmaConfig": "./karma.conf.js",
     74             "polyfills": "src/polyfills.ts",
     75             "tsConfig": "src/tsconfig.spec.json",
     76             "scripts": [
     77               "src/fontawesome/fontawesome-all.min.js"
     78             ],
     79             "styles": [
     80               "src/styles.scss",
     81               "node_modules/ngx-toastr/toastr.css"
     82             ],
     83             "assets": [
     84               "src/assets",
     85               "src/favicon.ico",
     86               "src/manifest.json"
     87             ]
     88           }
     89         },
     90         "lint": {
     91           "builder": "@angular-devkit/build-angular:tslint",
     92           "options": {
     93             "tsConfig": [
     94               "src/tsconfig.app.json",
     95               "src/tsconfig.spec.json"
     96             ],
     97             "exclude": [
     98               "**/node_modules/**"
     99             ]
    100           }
    101         },
    102         "server": {
    103           "builder": "@angular-devkit/build-angular:server",
    104           "options": {
    105             "outputPath": "dist/server",
    106             "main": "src/main.server.ts",
    107             "tsConfig": "src/tsconfig.server.json"
    108           },
    109           "configurations": {
    110             "production": {
    111               "fileReplacements": [
    112                 {
    113                   "replace": "src/environments/environment.ts",
    114                   "with": "src/environments/environment.prod.ts"
    115                 }
    116               ]
    117             }
    118           }
    119         }
    120       }
    121     },
    122     "social-networks-news-web-e2e": {
    123       "root": "",
    124       "sourceRoot": "",
    125       "projectType": "application",
    126       "architect": {
    127         "e2e": {
    128           "builder": "@angular-devkit/build-angular:protractor",
    129           "options": {
    130             "protractorConfig": "./protractor.conf.js",
    131             "devServerTarget": "social-networks-news-web:serve"
    132           }
    133         },
    134         "lint": {
    135           "builder": "@angular-devkit/build-angular:tslint",
    136           "options": {
    137             "tsConfig": [
    138               "e2e/tsconfig.e2e.json"
    139             ],
    140             "exclude": [
    141               "**/node_modules/**"
    142             ]
    143           }
    144         }
    145       }
    146     }
    147   },
    148   "defaultProject": "social-networks-news-web",
    149   "schematics": {
    150     "@schematics/angular:component": {
    151       "prefix": "app",
    152       "styleext": "scss"
    153     },
    154     "@schematics/angular:directive": {
    155       "prefix": "app"
    156     }
    157   }
    158 }