Skip to content

Commit 7d2c508

Browse files
authored
Merge pull request mailru#405 from marinatells/master
* jam package name
2 parents 2012eb9 + cc7a2c0 commit 7d2c508

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
language: node_js
22
node_js:
3-
- 0.10
3+
- 4.5
44
before_script:
55
- npm install -g grunt-cli

Gruntfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ module.exports = function (grunt) {
8585
' * <%= pkg.description %>\n' +
8686
' */\n\n',
8787

88-
footer: 'if( typeof define === "function" && define.amd ){ define("FileAPI", [], function (){ return FileAPI; }); }'
88+
footer: 'if( typeof define === "function" && define.amd ){ define(" <%= pkg.jam.packageName %>", [], function (){ return FileAPI; }); }'
8989
},
9090

9191
all: {

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,17 @@
1818
"grunt-version": "~0.3.0",
1919
"phantomjs": "~1.9.7-9",
2020
"qs": "~2.4.1",
21-
"semver": "~2.3.1",
21+
"semver": "~5.0.0",
2222
"temporary": "~0.0.8",
2323
"image-size": "~0.3.5"
2424
},
2525
"peerDependencies": {
2626
},
2727
"description": "FileAPI — a set of javascript tools for working with files. Multiupload, drag'n'drop and chunked file upload. Images: crop, resize and auto orientation by EXIF.",
2828
"main": "dist/FileAPI.js",
29+
"jam": {
30+
"packageName": "FileAPI"
31+
},
2932
"scripts": {
3033
"test": "grunt tests --verbose"
3134
},

0 commit comments

Comments
 (0)