Skip to content

Commit 2d34baa

Browse files
committed
Merge branch 'master' of https://github.com/fredrikekelund/heatmap.js into fredrikekelund-master
2 parents a5e7a54 + a4a2785 commit 2d34baa

File tree

2 files changed

+23
-36
lines changed

2 files changed

+23
-36
lines changed

Gruntfile.js

-25
Original file line numberDiff line numberDiff line change
@@ -58,28 +58,6 @@ module.exports = function(grunt) {
5858
files: packagejson.buildFiles,
5959
tasks: ['concat', 'jshint', 'uglify']
6060
}
61-
},
62-
copy: {
63-
npmPreRelease: {
64-
files: [
65-
{ flatten: true, expand: true, src: 'build/*', dest: 'dist/' },
66-
{ expand:true, src: 'build/*/**', dest: 'dist/' },
67-
{ expand:true, src: 'examples/*/**', dest: 'dist/' },
68-
{ expand: true, src: 'docs/*/**', dest: 'dist/' },
69-
{ expand: true, src: 'plugins/*', dest: 'dist/' },
70-
{ src: 'package.json', dest: 'dist/' },
71-
{ src: 'LICENSE', dest: 'dist/' },
72-
{ src: 'README.md', dest: 'dist/' }
73-
]
74-
}
75-
},
76-
shell: {
77-
npmRelease: {
78-
command: [
79-
'cd dist',
80-
'npm publish'
81-
].join('&&')
82-
}
8361
}
8462
});
8563

@@ -88,11 +66,8 @@ module.exports = function(grunt) {
8866
grunt.loadNpmTasks('grunt-contrib-uglify');
8967
grunt.loadNpmTasks('grunt-contrib-jshint');
9068
grunt.loadNpmTasks('grunt-contrib-watch');
91-
grunt.loadNpmTasks('grunt-contrib-copy');
92-
grunt.loadNpmTasks('grunt-shell');
9369

9470

9571
// Default task.
9672
grunt.registerTask('default', ['concat', 'jshint', 'uglify', 'watch']);
97-
grunt.registerTask('publishToNpm', ['concat', 'jshint', 'uglify', 'copy:npmPreRelease', 'shell:npmRelease']);
9873
};

package.json

+23-11
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,21 @@
11
{
22
"name": "heatmap.js",
3-
"version": "2.0.2",
3+
"version": "2.0.5",
44
"description": "Dynamic JavaScript Heatmaps for the Web",
5-
"homepage": "http://www.patrick-wied.at/static/heatmapjs/",
6-
"main": "heatmap.min.js",
5+
"homepage": "https://www.patrick-wied.at/static/heatmapjs/",
6+
"author": {
7+
"name": "Patrick Wied",
8+
"email": "[email protected]",
9+
"url": "https://www.patrick-wied.at/"
10+
},
11+
"main": "build/heatmap.js",
712
"devDependencies": {
813
"grunt": ">= 0.4.1",
914
"coffee-script": ">= 1.6.3",
1015
"grunt-contrib-uglify": ">= 0.2.0",
1116
"grunt-contrib-concat": ">= 0.1.3",
1217
"grunt-contrib-watch": "0.2.0rc7",
13-
"grunt-contrib-jshint": ">= 0.3.0",
14-
"grunt-contrib-copy": ">= 0.7.0",
15-
"grunt-shell": "^0.7.0"
18+
"grunt-contrib-jshint": ">= 0.3.0"
1619
},
1720
"keywords": [
1821
"heatmap",
@@ -23,12 +26,21 @@
2326
"leaflet heatmap",
2427
"leaflet"
2528
],
29+
"files": [
30+
"build",
31+
"plugins",
32+
"examples",
33+
"docs",
34+
"package.json",
35+
"LICENSE",
36+
"README.md"
37+
],
2638
"buildFiles": [
27-
"src/config.js",
28-
"src/data.js",
29-
"src/renderer/canvas2d.js",
30-
"src/renderer.js",
31-
"src/util.js",
39+
"src/config.js",
40+
"src/data.js",
41+
"src/renderer/canvas2d.js",
42+
"src/renderer.js",
43+
"src/util.js",
3244
"src/core.js"
3345
]
3446
}

0 commit comments

Comments
 (0)