pineapple-modules/MACInfo/angular.json

48 lines
1.8 KiB
JSON
Raw Normal View History

Port MACInfo module (#40) * First commit, add module folder * Added spinner and allowed input of full mac * CheckMAC online function ( non working ) * reverted change to build script * Added working check online * Added more info output to lookup online * Added beginning of tabs function * removed modified build script * MACInfo: fix selectors, fix resource URL paths, fix API import path * Removed online button from offline tab and other way around * Fixed space being registered in lookup * Fixed spinner CSS * Changed looks of box * removed spinners * Fixed spelling and removed unneeded titling * macinfo: Fix layout * Added compatibility with windows naming scheme * Added breakline for text * Regex to check for valid MAC address, going to work on showing as proper error * Added regex check for offline * removed second build file * Bold fonts for result category * Added error if no valid MAC adress was inputted * Specified types for variables and checked for valid mac before file open for speed * Removed unused onstart due to the dir automaticlly being created anyways * Class rename * Fix regex check for offline and online mac * Opened json file on start instead of on request * misc: Re-run checks * Fix regex lookup * Added web icon or online * added desktop icon for offline mode * Fixed icons completely. * Fix invalid module error handling in API * Fix regex check * Update module icon * removed unused icons. Co-authored-by: Marc <foxtrot@malloc.me> Co-authored-by: Theodor Johanson <theo@pc.localdomain>
2021-07-09 21:55:26 +00:00
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"MACInfo": {
"projectType": "library",
"root": "projects/MACInfo",
"sourceRoot": "projects/MACInfo/src",
"prefix": "lib",
"architect": {
"build": {
"builder": "@angular-devkit/build-ng-packagr:build",
"options": {
"tsConfig": "projects/MACInfo/tsconfig.lib.json",
"project": "projects/MACInfo/ng-package.json"
},
"configurations": {
"production": {
"tsConfig": "projects/MACInfo/tsconfig.lib.prod.json"
}
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "projects/MACInfo/src/test.ts",
"tsConfig": "projects/MACInfo/tsconfig.spec.json",
"karmaConfig": "projects/MACInfo/karma.conf.js"
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"projects/MACInfo/tsconfig.lib.json",
"projects/MACInfo/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
]
}
}
}
}},
"defaultProject": "MACInfo"
}