132 lines
3.8 KiB
JSON
132 lines
3.8 KiB
JSON
{
|
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
"version": 1,
|
|
"cli": {
|
|
"packageManager": "npm",
|
|
"analytics": false
|
|
},
|
|
"newProjectRoot": "projects",
|
|
"projects": {
|
|
"mrarm-ui": {
|
|
"projectType": "library",
|
|
"root": "projects/mrarm-ui",
|
|
"sourceRoot": "projects/mrarm-ui/src",
|
|
"prefix": "mra",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular/build:ng-packagr",
|
|
"configurations": {
|
|
"production": {
|
|
"tsConfig": "projects/mrarm-ui/tsconfig.lib.prod.json"
|
|
},
|
|
"development": {
|
|
"tsConfig": "projects/mrarm-ui/tsconfig.lib.json"
|
|
}
|
|
},
|
|
"defaultConfiguration": "production"
|
|
},
|
|
"test": {
|
|
"builder": "@angular/build:unit-test",
|
|
"options": {
|
|
"tsConfig": "projects/mrarm-ui/tsconfig.spec.json"
|
|
}
|
|
},
|
|
"storybook": {
|
|
"builder": "@storybook/angular:start-storybook",
|
|
"options": {
|
|
"browserTarget": "demo:build:development",
|
|
"configDir": ".storybook",
|
|
"tsConfig": ".storybook/tsconfig.json",
|
|
"port": 6006,
|
|
"compodoc": false
|
|
}
|
|
},
|
|
"build-storybook": {
|
|
"builder": "@storybook/angular:build-storybook",
|
|
"options": {
|
|
"browserTarget": "demo:build:development",
|
|
"configDir": ".storybook",
|
|
"tsConfig": ".storybook/tsconfig.json",
|
|
"compodoc": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"demo": {
|
|
"projectType": "application",
|
|
"schematics": {
|
|
"@schematics/angular:component": {
|
|
"style": "scss"
|
|
}
|
|
},
|
|
"root": "projects/demo",
|
|
"sourceRoot": "projects/demo/src",
|
|
"prefix": "mra",
|
|
"architect": {
|
|
"build": {
|
|
"builder": "@angular/build:application",
|
|
"options": {
|
|
"browser": "projects/demo/src/main.ts",
|
|
"tsConfig": "projects/demo/tsconfig.app.json",
|
|
"inlineStyleLanguage": "scss",
|
|
"assets": [
|
|
{
|
|
"glob": "**/*",
|
|
"input": "projects/demo/public"
|
|
}
|
|
],
|
|
"styles": [
|
|
"projects/mrarm-ui/src/styles/tokens.css",
|
|
"projects/mrarm-ui/src/styles/reset.css",
|
|
"projects/mrarm-ui/src/styles/typography.css",
|
|
"projects/mrarm-ui/src/styles/layout.css",
|
|
"projects/demo/src/styles.scss"
|
|
]
|
|
},
|
|
"configurations": {
|
|
"production": {
|
|
"budgets": [
|
|
{
|
|
"type": "initial",
|
|
"maximumWarning": "500kB",
|
|
"maximumError": "1MB"
|
|
},
|
|
{
|
|
"type": "anyComponentStyle",
|
|
"maximumWarning": "4kB",
|
|
"maximumError": "8kB"
|
|
}
|
|
],
|
|
"outputHashing": "all"
|
|
},
|
|
"development": {
|
|
"optimization": false,
|
|
"extractLicenses": false,
|
|
"sourceMap": true
|
|
}
|
|
},
|
|
"defaultConfiguration": "production"
|
|
},
|
|
"serve": {
|
|
"builder": "@angular/build:dev-server",
|
|
"configurations": {
|
|
"production": {
|
|
"buildTarget": "demo:build:production"
|
|
},
|
|
"development": {
|
|
"buildTarget": "demo:build:development"
|
|
}
|
|
},
|
|
"defaultConfiguration": "development"
|
|
},
|
|
"test": {
|
|
"builder": "@angular/build:unit-test",
|
|
"options": {
|
|
"tsConfig": "projects/demo/tsconfig.spec.json"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|