Skip to content

Commit e501057

Browse files
committed
Add license field to package definition(s).
1 parent c74b18e commit e501057

File tree

4 files changed

+11
-25
lines changed

4 files changed

+11
-25
lines changed

Gruntfile.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,10 @@ module.exports = function (grunt) {
5959

6060
grunt.loadNpmTasks('grunt-contrib-jshint');
6161
grunt.loadNpmTasks('grunt-simple-mocha');
62-
grunt.loadNpmTasks('grunt-mocha');
6362
grunt.loadNpmTasks('grunt-contrib-uglify');
6463
grunt.loadNpmTasks('grunt-bump-build-git');
6564

66-
grunt.registerTask('test', ['jshint', 'simplemocha', 'mocha']);
65+
grunt.registerTask('test', ['jshint', 'simplemocha']);
6766
grunt.registerTask('default', ['test', 'uglify']);
6867

6968
};

bower.json

+2-7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "blueimp-md5",
3-
"version": "1.1.0",
3+
"version": "1.1.1",
44
"title": "JavaScript MD5",
55
"description": "JavaScript MD5 implementation.",
66
"keywords": [
@@ -29,12 +29,7 @@
2929
"url": "git://github.com/blueimp/JavaScript-MD5.git"
3030
},
3131
"bugs": "https://github.com/blueimp/JavaScript-MD5/issues",
32-
"licenses": [
33-
{
34-
"type": "MIT",
35-
"url": "http://www.opensource.org/licenses/MIT"
36-
}
37-
],
32+
"license": "MIT",
3833
"main": "js/md5.js",
3934
"ignore": [
4035
"/*.*",

package.json

+2-8
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "blueimp-md5",
3-
"version": "1.1.0",
3+
"version": "1.1.1",
44
"title": "JavaScript MD5",
55
"description": "JavaScript MD5 implementation.",
66
"keywords": [
@@ -29,19 +29,13 @@
2929
"url": "git://github.com/blueimp/JavaScript-MD5.git"
3030
},
3131
"bugs": "https://github.com/blueimp/JavaScript-MD5/issues",
32-
"licenses": [
33-
{
34-
"type": "MIT",
35-
"url": "http://www.opensource.org/licenses/MIT"
36-
}
37-
],
32+
"license": "MIT",
3833
"devDependencies": {
3934
"grunt": "~0.4.1",
4035
"grunt-contrib-uglify": "~0.2.7",
4136
"grunt-contrib-jshint": "~0.7.1",
4237
"grunt-bump-build-git": "~1.0.0",
4338
"grunt-simple-mocha": "~0.4.0",
44-
"grunt-mocha": "~0.4.1",
4539
"expect.js": "0.2.0"
4640
},
4741
"scripts": {

test/index.html

+6-8
Original file line numberDiff line numberDiff line change
@@ -19,22 +19,20 @@
1919
<meta charset="utf-8">
2020
<title>JavaScript MD5 Test</title>
2121
<meta name="viewport" content="width=device-width, initial-scale=1.0">
22-
<link rel="stylesheet" href="https://blueimp.github.io/cdn/css/mocha.min.css">
22+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/mocha/2.2.5/mocha.min.css">
2323
</head>
2424
<body>
2525
<div id="mocha"></div>
26-
<script src="https://blueimp.github.io/cdn/js/mocha.min.js"></script>
27-
<script src="https://blueimp.github.io/cdn/js/expect.min.js"></script>
26+
<script src="https://cdnjs.cloudflare.com/ajax/libs/mocha/2.2.5/mocha.min.js"></script>
27+
<script src="https://cdnjs.cloudflare.com/ajax/libs/expect.js/0.2.0/expect.min.js"></script>
2828
<script>
2929
mocha.setup('bdd');
3030
</script>
3131
<script src="../js/md5.js"></script>
3232
<script src="test.js"></script>
3333
<script>
34-
if (!window.PHANTOMJS) {
35-
mocha.checkLeaks();
36-
mocha.run();
37-
}
34+
mocha.checkLeaks();
35+
mocha.run();
3836
</script>
39-
</body>
37+
</body>
4038
</html>

0 commit comments

Comments
 (0)