Files
mina-sidor-fa-web/angular.json
2021-03-17 10:58:55 +01:00

149 lines
4.2 KiB
JSON

{
"version": 1,
"cli": {
"defaultCollection": "@nrwl/angular"
},
"defaultProject": "dafa-web",
"schematics": {
"@nrwl/angular": {
"application": {
"linter": "eslint"
},
"library": {
"linter": "eslint"
},
"storybook-configuration": {
"linter": "eslint"
}
},
"@nrwl/angular:application": {
"style": "scss",
"linter": "eslint",
"unitTestRunner": "jest",
"e2eTestRunner": "cypress"
},
"@nrwl/angular:library": {
"style": "scss",
"linter": "eslint",
"unitTestRunner": "jest"
},
"@nrwl/angular:component": {
"style": "scss",
"changeDetection": "OnPush"
}
},
"projects": {
"dafa-web": {
"projectType": "application",
"root": "apps/dafa-web",
"sourceRoot": "apps/dafa-web/src",
"prefix": "dafa",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist/apps/dafa-web",
"index": "apps/dafa-web/src/index.html",
"main": "apps/dafa-web/src/main.ts",
"polyfills": "apps/dafa-web/src/polyfills.ts",
"tsConfig": "apps/dafa-web/tsconfig.app.json",
"aot": true,
"assets": ["apps/dafa-web/src/assets"],
"styles": ["apps/dafa-web/src/styles/styles.scss"],
"stylePreprocessorOptions": {
"includePaths": ["node_modules/@af/sass", "apps/dafa-web/src/styles"]
},
"scripts": []
},
"configurations": {
"production": {
"fileReplacements": [
{
"replace": "apps/dafa-web/src/environments/environment.ts",
"with": "apps/dafa-web/src/environments/environment.prod.ts"
}
],
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"budgets": [
{
"type": "initial",
"maximumWarning": "2mb",
"maximumError": "5mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "6kb",
"maximumError": "10kb"
}
]
}
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"browserTarget": "dafa-web:build"
},
"configurations": {
"production": {
"browserTarget": "dafa-web:build:production"
}
}
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "dafa-web:build"
}
},
"lint": {
"builder": "@nrwl/linter:eslint",
"options": {
"lintFilePatterns": ["apps/dafa-web/src/**/*.ts", "apps/dafa-web/src/**/*.html"]
}
},
"test": {
"builder": "@nrwl/jest:jest",
"outputs": ["coverage/apps/dafa-web"],
"options": {
"jestConfig": "apps/dafa-web/jest.config.js",
"passWithNoTests": true
}
}
}
},
"dafa-web-e2e": {
"root": "apps/dafa-web-e2e",
"sourceRoot": "apps/dafa-web-e2e/src",
"projectType": "application",
"architect": {
"e2e": {
"builder": "@nrwl/cypress:cypress",
"options": {
"cypressConfig": "apps/dafa-web-e2e/cypress.json",
"tsConfig": "apps/dafa-web-e2e/tsconfig.e2e.json",
"devServerTarget": "dafa-web:serve"
},
"configurations": {
"production": {
"devServerTarget": "dafa-web:serve:production"
}
}
},
"lint": {
"builder": "@nrwl/linter:eslint",
"options": {
"lintFilePatterns": ["apps/dafa-web-e2e/**/*.{js,ts}"]
}
}
}
}
}
}