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": {
|
2024-10-15 19:52:46 +00:00
|
|
|
"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",
|
|
|
|
"src/assets"
|
|
|
|
],
|
2024-09-21 11:37:49 +00:00
|
|
|
"scripts": [
|
|
|
|
"node_modules/jquery/dist/jquery.min.js",
|
2024-09-30 19:07:57 +00:00
|
|
|
"node_modules/bootstrap/dist/js/bootstrap.bundle.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",
|
|
|
|
"node_modules/bootstrap-icons/font/bootstrap-icons.css",
|
|
|
|
"node_modules/bootstrap-table/dist/bootstrap-table.min.css"
|
|
|
|
],
|
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": {
|
2024-10-15 19:52:46 +00:00
|
|
|
"browserTarget": "monerod-gui:build"
|
2024-09-17 18:33:24 +00:00
|
|
|
},
|
|
|
|
"configurations": {
|
|
|
|
"dev": {
|
2024-10-15 19:52:46 +00:00
|
|
|
"browserTarget": "monerod-gui:build:dev"
|
2024-09-17 18:33:24 +00:00
|
|
|
},
|
|
|
|
"production": {
|
2024-10-15 19:52:46 +00:00
|
|
|
"browserTarget": "monerod-gui:build:production"
|
2024-09-17 18:33:24 +00:00
|
|
|
},
|
|
|
|
"web": {
|
2024-10-15 19:52:46 +00:00
|
|
|
"browserTarget": "monerod-gui:build:web"
|
2024-09-17 18:33:24 +00:00
|
|
|
},
|
|
|
|
"web-production": {
|
2024-10-15 19:52:46 +00:00
|
|
|
"browserTarget": "monerod-gui:build:web-production"
|
2024-09-17 18:33:24 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"extract-i18n": {
|
|
|
|
"builder": "@angular-devkit/build-angular:extract-i18n",
|
|
|
|
"options": {
|
2024-10-15 19:52:46 +00:00
|
|
|
"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"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2024-10-15 19:52:46 +00:00
|
|
|
"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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|