Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Achim committed Jul 9, 2023
0 parents commit b91d1a5
Show file tree
Hide file tree
Showing 50 changed files with 12,087 additions and 0 deletions.
4 changes: 4 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
CC BY-SA 4.0

To learn more about our thoughts on licensing read our blog post at: https://www.airgradient.com/blog/thoughts-on-licensing/

15 changes: 15 additions & 0 deletions README
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Welcome to the AirGradient Map Application Source Code

We at AirGradient want to make air quality monitoring more accessible and contribute with our knowledge towards better air quality monitors as well as communication on air quality measurements. As a result many of our products and services (including our indoor and outdoor air quality monitors) are open-hardware and open-source.

Part of these open-source project is also this AirQuality map that we develop together with the community to show current air quality around the world. The data we use here come currently from two sources:

a. OpenAQ, a non-profit with the mission to collect, organize and make available air quality data from all around the world
b. AirGradient, data from our open-hardware air quality monitors

Many thanks to all contributors of this project.


License: CC BY-SA 4.0


177 changes: 177 additions & 0 deletions angular.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,177 @@
{
"$schema": "./node_modules/@angular/cli/lib/config/schema.json",
"version": 1,
"newProjectRoot": "projects",
"projects": {
"ag-map": {
"projectType": "application",
"schematics": {
"@schematics/angular:component": {
"style": "scss"
},
"@schematics/angular:application": {
"strict": true
}
},
"root": "",
"sourceRoot": "src",
"prefix": "app",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"outputPath": "dist/ag-map",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "tsconfig.app.json",
"inlineStyleLanguage": "scss",
"assets": [
"src/favicon.ico",
"src/assets",
{
"glob": "*.png",
"input": "node_modules/leaflet/dist/images/",
"output": "assets/leaflet/"
}
],
"styles": [
"@angular/material/prebuilt-themes/deeppurple-amber.css",
"src/styles.scss",
"node_modules/bootstrap/dist/css/bootstrap.css",
"node_modules/leaflet/dist/leaflet.css"
],
"scripts": []
},
"configurations": {
"production": {
"budgets": [
{
"type": "initial",
"maximumWarning": "1500kb",
"maximumError": "2mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "2kb",
"maximumError": "4kb"
}
],
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.prod.ts"
}
],
"outputHashing": "all"
},
"integration": {
"budgets": [
{
"type": "initial",
"maximumWarning": "1500kb",
"maximumError": "2mb"
},
{
"type": "anyComponentStyle",
"maximumWarning": "2kb",
"maximumError": "4kb"
}
],
"fileReplacements": [
{
"replace": "src/environments/environment.ts",
"with": "src/environments/environment.int.ts"
}
],
"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": "ag-map:build:production"
},
"integration": {
"browserTarget": "ag-map:build:integration"
},
"development": {
"browserTarget": "ag-map:build:development"
}
},
"defaultConfiguration": "development"
},
"extract-i18n": {
"builder": "@angular-devkit/build-angular:extract-i18n",
"options": {
"browserTarget": "ag-map:build"
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "src/test.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "tsconfig.spec.json",
"karmaConfig": "karma.conf.js",
"inlineStyleLanguage": "scss",
"assets": [
"src/favicon.ico",
"src/assets"
],
"styles": [
"@angular/material/prebuilt-themes/deeppurple-amber.css",
"src/styles.scss"
],
"scripts": []
}
}
}
},
"ngx-leaflet": {
"projectType": "library",
"root": "projects/ngx-leaflet",
"sourceRoot": "projects/ngx-leaflet/src",
"prefix": "lib",
"architect": {
"build": {
"builder": "@angular-devkit/build-angular:ng-packagr",
"options": {
"project": "projects/ngx-leaflet/ng-package.json"
},
"configurations": {
"production": {
"tsConfig": "projects/ngx-leaflet/tsconfig.lib.prod.json"
},
"development": {
"tsConfig": "projects/ngx-leaflet/tsconfig.lib.json"
}
},
"defaultConfiguration": "production"
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"main": "projects/ngx-leaflet/src/test.ts",
"tsConfig": "projects/ngx-leaflet/tsconfig.spec.json",
"karmaConfig": "projects/ngx-leaflet/karma.conf.js"
}
}
}
}
},
"cli": {
"analytics": false
}
}
Loading

0 comments on commit b91d1a5

Please sign in to comment.