forked from danvaros/calidadAire
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Ser incluyó nodejs para usar gulp en el desarrollo - Se incluyó el use de gulp para la minificación de los archivos js propios - Actualización del README
- Loading branch information
1 parent
4102685
commit cecba0e
Showing
11 changed files
with
73 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
.DS_Store | ||
.vscode/ | ||
app/node_modules/ | ||
app/package-lock.json | ||
app/package-lock.json | ||
node_modules/ | ||
package-lock.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,8 @@ | ||
# calidadAire | ||
Plataforma semáforo para conocer la cálidad del aire en ciudades de méxico | ||
|
||
|
||
## Desarrollo | ||
1. Instalar las dependencias: `npm install` | ||
|
||
2. Hacer la minificación de los archivos *.js propios: `gulp compressjs` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
'use strict'; | ||
|
||
var gulp = require('gulp'); | ||
var uglify = require('gulp-uglify'); | ||
var pump = require('pump'); | ||
|
||
gulp.task('compressjs', function (cb) { | ||
pump([ | ||
gulp.src('app/js/*.js'), | ||
uglify(), | ||
gulp.dest('app/js/dist') | ||
], | ||
cb | ||
); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"name": "calidad-aire", | ||
"version": "1.0.0", | ||
"description": "En este sitio encontrarás los niveles de contaminación que afectan la calidad del aire de las localidades donde se encuentran las 131 estaciones automáticas de monitoreo que comparten datos de calidad del aire al Sistema Nacional de Información de la Calidad del Aire (SINAICA) a lo largo del territorio nacional.", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"author": "México Abierto", | ||
"license": "MIT", | ||
"dependencies": { | ||
"gulp-sass": "^4.0.1" | ||
}, | ||
"devDependencies": { | ||
"gulp": "^3.9.1", | ||
"gulp-uglify": "^3.0.0", | ||
"pump": "^3.0.0" | ||
} | ||
} |