mirror of
https://github.com/everoddandeven/monerod-gui.git
synced 2024-12-22 11:39:25 +00:00
189 lines
5.6 KiB
JSON
189 lines
5.6 KiB
JSON
{
|
|
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
|
|
"cli": {
|
|
"schematicCollections": [
|
|
"@angular-eslint/schematics"
|
|
],
|
|
"analytics": false
|
|
},
|
|
"version": 1,
|
|
"newProjectRoot": "projects",
|
|
"projects": {
|
|
"monerod-gui": {
|
|
"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"
|
|
],
|
|
"scripts": [
|
|
"node_modules/jquery/dist/jquery.min.js",
|
|
"node_modules/bootstrap/dist/js/bootstrap.min.js",
|
|
"node_modules/bootstrap-table/dist/bootstrap-table.min.js"
|
|
],
|
|
"styles": [
|
|
"src/styles.scss",
|
|
"node_modules/bootstrap-icons/font/bootstrap-icons.css",
|
|
"node_modules/bootstrap-table/dist/bootstrap-table.min.css"
|
|
],
|
|
"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"
|
|
},
|
|
"configurations": {
|
|
"dev": {
|
|
"browserTarget": "monerod-gui:build:dev"
|
|
},
|
|
"production": {
|
|
"browserTarget": "monerod-gui:build:production"
|
|
},
|
|
"web": {
|
|
"browserTarget": "monerod-gui:build:web"
|
|
},
|
|
"web-production": {
|
|
"browserTarget": "monerod-gui:build:web-production"
|
|
}
|
|
}
|
|
},
|
|
"extract-i18n": {
|
|
"builder": "@angular/build:extract-i18n",
|
|
"options": {
|
|
"buildTarget": "monerod-gui:build"
|
|
}
|
|
},
|
|
"test": {
|
|
"builder": "@angular-builders/jest:run",
|
|
"options": {
|
|
"polyfills": ["src/polyfills-test.ts"],
|
|
"tsConfig": "src/tsconfig.spec.json",
|
|
"globalMocks": ["styleTransform", "matchMedia", "getComputedStyle"]
|
|
}
|
|
},
|
|
"lint": {
|
|
"builder": "@angular-eslint/builder:lint",
|
|
"options": {
|
|
"lintFilePatterns": [
|
|
"src/**/*.ts",
|
|
"src/**/*.html"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"monerod-gui-e2e": {
|
|
"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
|
|
}
|
|
}
|
|
}
|