mirror of https://github.com/abpframework/abp
				
				
				
			
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							207 lines
						
					
					
						
							6.7 KiB
						
					
					
				
			
		
		
	
	
							207 lines
						
					
					
						
							6.7 KiB
						
					
					
				{
 | 
						|
  "$schema": "./node_modules/@angular/cli/lib/config/schema.json",
 | 
						|
  "version": 1,
 | 
						|
  "newProjectRoot": "projects",
 | 
						|
  "projects": {
 | 
						|
    "myProjectName": {
 | 
						|
      "projectType": "application",
 | 
						|
      "schematics": {
 | 
						|
        "@schematics/angular:component": {
 | 
						|
          "style": "scss"
 | 
						|
        }
 | 
						|
      },
 | 
						|
      "root": "",
 | 
						|
      "sourceRoot": "src",
 | 
						|
      "prefix": "app",
 | 
						|
      "architect": {
 | 
						|
        "build": {
 | 
						|
          "builder": "@angular-devkit/build-angular:browser",
 | 
						|
          "options": {
 | 
						|
            "outputPath": "dist/myProjectName",
 | 
						|
            "index": "src/index.html",
 | 
						|
            "main": "src/main.ts",
 | 
						|
            "polyfills": "src/polyfills.ts",
 | 
						|
            "tsConfig": "tsconfig.app.json",
 | 
						|
            "aot": false,
 | 
						|
            "extractCss": true,
 | 
						|
            "assets": ["src/favicon.ico", "src/assets"],
 | 
						|
            "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"
 | 
						|
            ],
 | 
						|
            "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,
 | 
						|
              "budgets": [
 | 
						|
                {
 | 
						|
                  "type": "initial",
 | 
						|
                  "maximumWarning": "2mb",
 | 
						|
                  "maximumError": "5mb"
 | 
						|
                }
 | 
						|
              ]
 | 
						|
            },
 | 
						|
            "hmr": {
 | 
						|
              "fileReplacements": [
 | 
						|
                {
 | 
						|
                  "replace": "src/environments/environment.ts",
 | 
						|
                  "with": "src/environments/environment.hmr.ts"
 | 
						|
                }
 | 
						|
              ]
 | 
						|
            }
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "serve": {
 | 
						|
          "builder": "@angular-devkit/build-angular:dev-server",
 | 
						|
          "options": {
 | 
						|
            "browserTarget": "myProjectName:build"
 | 
						|
          },
 | 
						|
          "configurations": {
 | 
						|
            "production": {
 | 
						|
              "browserTarget": "myProjectName:build:production"
 | 
						|
            },
 | 
						|
            "hmr": {
 | 
						|
              "hmr": true,
 | 
						|
              "browserTarget": "myProjectName:build:hmr"
 | 
						|
            }
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "extract-i18n": {
 | 
						|
          "builder": "@angular-devkit/build-angular:extract-i18n",
 | 
						|
          "options": {
 | 
						|
            "browserTarget": "myProjectName: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",
 | 
						|
              "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"
 | 
						|
            ],
 | 
						|
            "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": "myProjectName:serve"
 | 
						|
          },
 | 
						|
          "configurations": {
 | 
						|
            "production": {
 | 
						|
              "devServerTarget": "myProjectName:serve:production"
 | 
						|
            }
 | 
						|
          }
 | 
						|
        }
 | 
						|
      }
 | 
						|
    },
 | 
						|
    "my-project-name": {
 | 
						|
      "projectType": "library",
 | 
						|
      "root": "projects/my-project-name",
 | 
						|
      "sourceRoot": "projects/my-project-name/src",
 | 
						|
      "prefix": "lib",
 | 
						|
      "architect": {
 | 
						|
        "build": {
 | 
						|
          "builder": "@angular-devkit/build-ng-packagr:build",
 | 
						|
          "options": {
 | 
						|
            "tsConfig": "projects/my-project-name/tsconfig.lib.json",
 | 
						|
            "project": "projects/my-project-name/ng-package.json"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "test": {
 | 
						|
          "builder": "@angular-devkit/build-angular:karma",
 | 
						|
          "options": {
 | 
						|
            "main": "projects/my-project-name/src/test.ts",
 | 
						|
            "tsConfig": "projects/my-project-name/tsconfig.spec.json",
 | 
						|
            "karmaConfig": "projects/my-project-name/karma.conf.js"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "lint": {
 | 
						|
          "builder": "@angular-devkit/build-angular:tslint",
 | 
						|
          "options": {
 | 
						|
            "tsConfig": [
 | 
						|
              "projects/my-project-name/tsconfig.lib.json",
 | 
						|
              "projects/my-project-name/tsconfig.spec.json"
 | 
						|
            ],
 | 
						|
            "exclude": [
 | 
						|
              "**/node_modules/**"
 | 
						|
            ]
 | 
						|
          }
 | 
						|
        }
 | 
						|
      }
 | 
						|
    },
 | 
						|
    "my-project-name-config": {
 | 
						|
      "projectType": "library",
 | 
						|
      "root": "projects/my-project-name-config",
 | 
						|
      "sourceRoot": "projects/my-project-name-config/src",
 | 
						|
      "prefix": "lib",
 | 
						|
      "architect": {
 | 
						|
        "build": {
 | 
						|
          "builder": "@angular-devkit/build-ng-packagr:build",
 | 
						|
          "options": {
 | 
						|
            "tsConfig": "projects/my-project-name-config/tsconfig.lib.json",
 | 
						|
            "project": "projects/my-project-name-config/ng-package.json"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "test": {
 | 
						|
          "builder": "@angular-devkit/build-angular:karma",
 | 
						|
          "options": {
 | 
						|
            "main": "projects/my-project-name-config/src/test.ts",
 | 
						|
            "tsConfig": "projects/my-project-name-config/tsconfig.spec.json",
 | 
						|
            "karmaConfig": "projects/my-project-name-config/karma.conf.js"
 | 
						|
          }
 | 
						|
        },
 | 
						|
        "lint": {
 | 
						|
          "builder": "@angular-devkit/build-angular:tslint",
 | 
						|
          "options": {
 | 
						|
            "tsConfig": [
 | 
						|
              "projects/my-project-name-config/tsconfig.lib.json",
 | 
						|
              "projects/my-project-name-config/tsconfig.spec.json"
 | 
						|
            ],
 | 
						|
            "exclude": [
 | 
						|
              "**/node_modules/**"
 | 
						|
            ]
 | 
						|
          }
 | 
						|
        }
 | 
						|
      }
 | 
						|
    }
 | 
						|
  },
 | 
						|
  "defaultProject": "myProjectName"
 | 
						|
}
 |