Skip to content

Commit d9edf5a

Browse files
wbinnssmithdmethvin
authored andcommitted
Build: Add a main field, prepublish, and move jquery dependency
Closes #99
1 parent a0955ce commit d9edf5a

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

.npmignore

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
.project
2+
.settings
3+
*~
4+
*.diff
5+
*.patch
6+
/*.html
7+
.DS_Store
8+
node_modules

package.json

+5-3
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "jquery-migrate",
33
"title": "jQuery Migrate",
44
"description": "Migrate older jQuery code to jQuery 1.9+",
5+
"main": "dist/jquery-migrate.js",
56
"version": "1.2.2-pre",
67
"homepage": "https://github.com/jquery/jquery-migrate",
78
"author": {
@@ -21,10 +22,8 @@
2122
"url": "https://github.com/jquery/jquery-migrate/blob/master/LICENSE.txt"
2223
}
2324
],
24-
"dependencies": {
25-
"jquery": "^2.1.3"
26-
},
2725
"devDependencies": {
26+
"jquery": "^2.1.3",
2827
"grunt-git-authors": "3.0.0",
2928
"grunt-contrib-concat": "0.5.1",
3029
"grunt-contrib-watch": "0.6.1",
@@ -36,5 +35,8 @@
3635
"qunitjs": "1.17.1",
3736
"testswarm": "~1.1.0"
3837
},
38+
"scripts": {
39+
"prepublish": "grunt"
40+
},
3941
"keywords": []
4042
}

0 commit comments

Comments
 (0)