Skip to content

Commit

Permalink
first build
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvain brissy committed Sep 8, 2017
1 parent d5b678d commit f29f503
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 11 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -0,0 +1 @@
/node_modules
1 change: 1 addition & 0 deletions dist/L.SpeechBubble.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions gulpfile.js
@@ -1,13 +1,13 @@
var gulp = require('gulp');
var uglify = require('gulp-uglify');
var mochaPhantomJS = require('gulp-mocha-phantomjs');
//var mochaPhantomJS = require('gulp-mocha-phantomjs');

gulp.task('dist', function() {
gulp.src('src/L.SpeechBubble.js')
.pipe(uglify())
.pipe(gulp.dest('dist'))
});

/*
gulp.task('test', function () {
return gulp
.src('tests/testrunner.html')
Expand All @@ -16,4 +16,5 @@ gulp.task('test', function () {
'ssl-protocol': 'tlsv1'
}
}));
});
});
*/
19 changes: 11 additions & 8 deletions package.json
Expand Up @@ -3,25 +3,28 @@
"version": "1.0.0",
"description": "Speech Bubble to get direction.",
"main": "src/L.SpeechBubble.js",
"author": "Sylvain BRISSY",
"author": {
"name": "Sylvain BRISSY",
"email": "s.brissy@autoroutes-trafic.fr"
},
"license": "IST",
"peerDependencies": {
"leaflet": "^1.0.0"
},
"directories": {
"directories": {
"example": "examples",
"dist": "dist"
},
"repository": {
"repository": {
"type": "git",
"url": "https://github.com/sybri/Leaflet.SpeechBubble.git"
},
"keywords": [
"leaflet",
"SpeechBubble"
],
"author": {
"name": "Sylvain BRISYS",
"email": "s.brissy@autoroutes-trafic.fr"
},
}
"devDependencies": {
"gulp": "^3.9.1",
"gulp-uglify": "^3.0.0"
}
}

0 comments on commit f29f503

Please sign in to comment.