mirror of https://github.com/flutter/samples.git
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.
115 lines
3.2 KiB
115 lines
3.2 KiB
2 years ago
|
{
|
||
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
||
|
"version": 1,
|
||
|
"newProjectRoot": "projects",
|
||
|
"projects": {
|
||
|
"ng-flutter": {
|
||
|
"projectType": "application",
|
||
|
"schematics": {},
|
||
|
"root": "",
|
||
|
"sourceRoot": "src",
|
||
|
"prefix": "app",
|
||
|
"architect": {
|
||
|
"build": {
|
||
|
"builder": "@angular-devkit/build-angular:browser",
|
||
|
"options": {
|
||
|
"outputPath": "dist/ng-flutter",
|
||
|
"index": "src/index.html",
|
||
|
"main": "src/main.ts",
|
||
|
"polyfills": [
|
||
|
"zone.js"
|
||
|
],
|
||
|
"tsConfig": "tsconfig.app.json",
|
||
|
"assets": [
|
||
|
"src/favicon.ico",
|
||
|
"src/assets",
|
||
|
{
|
||
|
"input": "flutter/build/web/",
|
||
|
"glob": "**/*",
|
||
|
"output": "/flutter/"
|
||
|
}
|
||
|
],
|
||
|
"styles": [
|
||
|
"@angular/material/prebuilt-themes/indigo-pink.css",
|
||
|
"src/styles.css"
|
||
|
],
|
||
|
"scripts": [
|
||
|
{
|
||
|
"input": "flutter/build/web/flutter.js",
|
||
|
"inject": true,
|
||
|
"bundleName": "flutter"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"configurations": {
|
||
|
"production": {
|
||
|
"budgets": [
|
||
|
{
|
||
|
"type": "initial",
|
||
|
"maximumWarning": "500kb",
|
||
|
"maximumError": "1mb"
|
||
|
},
|
||
|
{
|
||
|
"type": "anyComponentStyle",
|
||
|
"maximumWarning": "2kb",
|
||
|
"maximumError": "4kb"
|
||
|
}
|
||
|
],
|
||
|
"outputHashing": "all"
|
||
|
},
|
||
|
"development": {
|
||
|
"buildOptimizer": false,
|
||
|
"optimization": false,
|
||
|
"vendorChunk": true,
|
||
|
"extractLicenses": false,
|
||
|
"sourceMap": true,
|
||
|
"namedChunks": true
|
||
|
}
|
||
|
},
|
||
|
"defaultConfiguration": "production"
|
||
|
},
|
||
|
"serve": {
|
||
|
"builder": "@angular-devkit/build-angular:dev-server",
|
||
|
"configurations": {
|
||
|
"production": {
|
||
|
"browserTarget": "ng-flutter:build:production"
|
||
|
},
|
||
|
"development": {
|
||
|
"browserTarget": "ng-flutter:build:development"
|
||
|
}
|
||
|
},
|
||
|
"defaultConfiguration": "development"
|
||
|
},
|
||
|
"extract-i18n": {
|
||
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
||
|
"options": {
|
||
|
"browserTarget": "ng-flutter:build"
|
||
|
}
|
||
|
},
|
||
|
"test": {
|
||
|
"builder": "@angular-devkit/build-angular:karma",
|
||
|
"options": {
|
||
|
"polyfills": [
|
||
|
"zone.js",
|
||
|
"zone.js/testing"
|
||
|
],
|
||
|
"tsConfig": "tsconfig.spec.json",
|
||
|
"assets": [
|
||
|
"src/favicon.ico",
|
||
|
"src/assets"
|
||
|
],
|
||
|
"styles": [
|
||
|
"@angular/material/prebuilt-themes/indigo-pink.css",
|
||
|
"src/styles.css"
|
||
|
],
|
||
|
"scripts": []
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"cli": {
|
||
|
"analytics": "0ff9b6e8-2034-4f87-9ac7-46dbd612ebad"
|
||
|
}
|
||
|
}
|