Add package.json and update gulpfile.

This commit is contained in:
David Molineus
2016-10-05 09:23:41 +02:00
parent 11bc76fea6
commit ddcec3f1e3
2 changed files with 33 additions and 2 deletions

View File

@@ -9,8 +9,8 @@ var paths = {
dest: 'assets/maps' dest: 'assets/maps'
}; };
gulp.task('clear', function(cb) { gulp.task('clear', function() {
del([paths.dest + '/' + paths.minified], cb); del([paths.dest + '/' + paths.minified]);
}); });
gulp.task('scripts', ['clear'], function() { gulp.task('scripts', ['clear'], function() {

31
package.json Normal file
View File

@@ -0,0 +1,31 @@
{
"name": "contao-leaflet-maps",
"version": "1.0.0",
"description": "Leaflet maps for Contao",
"main": "gulpfile.js",
"dependencies": {
"del": "^2.2.2",
"gulp": "^3.9.1",
"gulp-concat": "^2.6.0",
"gulp-uglify": "^2.0.0"
},
"devDependencies": {},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/netzmacht/contao-leaflet-maps.git"
},
"keywords": [
"Contao",
"Leaflet",
"Maps"
],
"author": "netzmacht David Molineus",
"license": "LGPL-3.0",
"bugs": {
"url": "https://github.com/netzmacht/contao-leaflet-maps/issues"
},
"homepage": "https://github.com/netzmacht/contao-leaflet-maps#readme"
}