monerod-gui/angular.json

191 lines
5.6 KiB
JSON
Raw Normal View History

2024-09-17 18:33:24 +00:00
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"cli": {
"schematicCollections": [
"@angular-eslint/schematics"
2024-09-21 11:37:49 +00:00
],
"analytics": false
2024-09-17 18:33:24 +00:00
},
"version": 1,
"newProjectRoot": "projects",
"projects": {
"monerod-gui": {
2024-09-17 18:33:24 +00:00
"root": "",
"sourceRoot": "src",
"projectType": "application",
"schematics": {
"@schematics/angular:application": {
"strict": true
},
"@schematics/angular:component": {
"style": "scss"
}
},
"prefix": "app",
"architect": {
"build": {
"builder": "@angular-builders/custom-webpack:browser",
"options": {
"outputPath": "dist",
"index": "src/index.html",
"main": "src/main.ts",
"tsConfig": "src/tsconfig.app.json",
"polyfills": "src/polyfills.ts",
"inlineStyleLanguage": "scss",
"assets": [
"src/favicon.ico",
2024-11-16 13:13:17 +00:00
"src/assets",
"src/splash.html"
2024-09-17 18:33:24 +00:00
],
2024-09-21 11:37:49 +00:00
"scripts": [
"node_modules/jquery/dist/jquery.min.js",
2024-11-12 16:37:33 +00:00
"node_modules/bootstrap/dist/js/bootstrap.min.js",
"node_modules/bootstrap-table/dist/bootstrap-table.min.js"
2024-09-17 18:33:24 +00:00
],
2024-09-22 13:55:03 +00:00
"styles": [
"src/styles.scss",
2024-09-22 13:55:03 +00:00
"node_modules/bootstrap-icons/font/bootstrap-icons.css",
"node_modules/bootstrap-table/dist/bootstrap-table.min.css"
2024-09-22 13:55:03 +00:00
],
2024-09-17 18:33:24 +00:00
"customWebpackConfig": {
"path": "./angular.webpack.js",
"replaceDuplicatePlugins": true
}
},
"configurations": {
"dev": {
"optimization": false,
"outputHashing": "none",
"sourceMap": true,
"namedChunks": false,
"aot": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": false,
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.dev.ts"
}
]
},
"production": {
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
}
]
},
"web": {
"optimization": false,
"outputHashing": "none",
"sourceMap": true,
"namedChunks": false,
"aot": false,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": false,
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.web.ts"
}
]
},
"web-production": {
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.web.prod.ts"
}
]
}
}
},
"serve": {
"builder": "@angular-builders/custom-webpack:dev-server",
"options": {
"browserTarget": "monerod-gui:build"
2024-09-17 18:33:24 +00:00
},
"configurations": {
"dev": {
"browserTarget": "monerod-gui:build:dev"
2024-09-17 18:33:24 +00:00
},
"production": {
"browserTarget": "monerod-gui:build:production"
2024-09-17 18:33:24 +00:00
},
"web": {
"browserTarget": "monerod-gui:build:web"
2024-09-17 18:33:24 +00:00
},
"web-production": {
"browserTarget": "monerod-gui:build:web-production"
2024-09-17 18:33:24 +00:00
}
}
},
"extract-i18n": {
"builder": "@angular/build:extract-i18n",
2024-09-17 18:33:24 +00:00
"options": {
"buildTarget": "monerod-gui:build"
2024-09-17 18:33:24 +00:00
}
},
"test": {
"builder": "@angular-builders/jest:run",
"options": {
"polyfills": ["src/polyfills-test.ts"],
"tsConfig": "src/tsconfig.spec.json",
2024-09-21 11:37:49 +00:00
"globalMocks": ["styleTransform", "matchMedia", "getComputedStyle"]
2024-09-17 18:33:24 +00:00
}
},
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"lintFilePatterns": [
"src/**/*.ts",
"src/**/*.html"
]
}
}
}
},
"monerod-gui-e2e": {
2024-09-17 18:33:24 +00:00
"root": "e2e",
"projectType": "application",
"architect": {
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"lintFilePatterns": [
"e2e/**/*.ts"
]
}
}
}
}
},
"schematics": {
"@angular-eslint/schematics:application": {
"setParserOptionsProject": true
},
"@angular-eslint/schematics:library": {
"setParserOptionsProject": true
}
}
}