Skip to content

Commit

Permalink
Move almost and jquery-mousewheel to devDependencies (#5489)
Browse files Browse the repository at this point in the history
These two are required at build time to generate the full builds
of Select2 (for jQuery Mousewheel) and to inject the AMD loader
(for Almond.js). They are not required for anyone who depends on
Select2, since jQuery Mousewheel is an optional dependency.

This may result in some people needing to add jQuery Mousewheel to
their projects as a required dependency, if they were expecting
it to be added by Select2 before.
  • Loading branch information
kevin-brown committed May 1, 2019
1 parent 39bfabd commit 2a5f46b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -47,6 +47,7 @@
}
},
"devDependencies": {
"almond": "~0.3.1",
"grunt": "^0.4.5",
"grunt-cli": "^0.1.13",
"grunt-contrib-concat": "^0.4.0",
Expand All @@ -57,10 +58,9 @@
"grunt-contrib-uglify": "~0.4.0",
"grunt-contrib-watch": "~0.6.0",
"grunt-sass": "^1.0.0",
"jquery-mousewheel": "~3.1.13",
"node-sass": "^4.5.3"
},
"dependencies": {
"almond": "~0.3.1",
"jquery-mousewheel": "~3.1.13"
}
}

0 comments on commit 2a5f46b

Please sign in to comment.