This repository has been archived by the owner on Feb 28, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 55
/
Gruntfile.js
45 lines (38 loc) · 2.62 KB
/
Gruntfile.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/*eslint-env node */
module.exports = function(grunt) {
// Project configuration.
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
copy: {
main: {
files: [
{expand: true, cwd: 'node_modules/leaflet/dist/', src: ['**'], dest: 'reqs/leaflet/'},
{expand: true, cwd: 'node_modules/leaflet-editable/src/', src: ['*.js'], dest: 'reqs/editable/'},
{expand: true, cwd: 'node_modules/leaflet.path.drag/src/', src: ['*.js'], dest: 'reqs/editable/'},
{expand: true, cwd: 'node_modules/leaflet-hash/', src: ['*.js'], dest: 'reqs/hash/'},
{expand: true, cwd: 'node_modules/leaflet-i18n/', src: ['*.js'], dest: 'reqs/i18n/'},
{expand: true, cwd: 'node_modules/leaflet-editinosm/', src: ['*.js', '*.css'], dest: 'reqs/editinosm/'},
{expand: true, cwd: 'node_modules/leaflet-minimap/src/', src: ['**'], dest: 'reqs/minimap/'},
{expand: true, cwd: 'node_modules/leaflet-loading/src/', src: ['**'], dest: 'reqs/loading/'},
{expand: true, cwd: 'node_modules/leaflet.markercluster/dist/', src: ['**'], dest: 'reqs/markercluster/'},
{expand: true, cwd: 'node_modules/leaflet-contextmenu/dist/', src: ['**'], dest: 'reqs/contextmenu/'},
{expand: true, cwd: 'node_modules/leaflet.heat/dist/', src: ['**'], dest: 'reqs/heat/'},
{expand: true, cwd: 'node_modules/leaflet-fullscreen/dist/', src: ['**'], dest: 'reqs/fullscreen/'},
{expand: true, cwd: 'node_modules/leaflet-toolbar/dist/', src: ['**'], dest: 'reqs/toolbar/'},
{expand: true, cwd: 'node_modules/leaflet-formbuilder/', src: ['*.js'], dest: 'reqs/formbuilder/'},
{expand: true, cwd: 'node_modules/leaflet-measurable/', src: ['*.js', '*.css'], dest: 'reqs/measurable/'},
{expand: true, cwd: 'node_modules/leaflet.photon/', src: ['*.js'], dest: 'reqs/photon/'},
{expand: true, cwd: 'node_modules/csv2geojson/', src: ['*.js'], dest: 'reqs/csv2geojson/'},
{expand: true, cwd: 'node_modules/togeojson/', src: ['*.js'], dest: 'reqs/togeojson/'},
{expand: true, cwd: 'node_modules/osmtogeojson/', src: ['osmtogeojson.js'], dest: 'reqs/osmtogeojson/'},
{expand: true, cwd: 'node_modules/georsstogeojson/', src: ['GeoRSSToGeoJSON.js'], dest: 'reqs/georsstogeojson/'},
{expand: true, cwd: 'node_modules/togpx/', src: ['togpx.js'], dest: 'reqs/togpx/'},
{expand: true, cwd: 'node_modules/tokml/', src: ['tokml.js'], dest: 'reqs/tokml/'}
]
}
}
});
grunt.loadNpmTasks('grunt-contrib-copy');
// Default task(s).
grunt.registerTask('default', ['copy']);
};