1
0
mirror of synced 2024-11-29 08:06:03 +03:00

Move almost and jquery-mousewheel to devDependencies (#5489)

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.
This commit is contained in:
Kevin Brown 2019-04-30 23:15:22 -04:00 committed by GitHub
parent 39bfabd94b
commit 2a5f46bcc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -47,6 +47,7 @@
} }
}, },
"devDependencies": { "devDependencies": {
"almond": "~0.3.1",
"grunt": "^0.4.5", "grunt": "^0.4.5",
"grunt-cli": "^0.1.13", "grunt-cli": "^0.1.13",
"grunt-contrib-concat": "^0.4.0", "grunt-contrib-concat": "^0.4.0",
@ -57,10 +58,9 @@
"grunt-contrib-uglify": "~0.4.0", "grunt-contrib-uglify": "~0.4.0",
"grunt-contrib-watch": "~0.6.0", "grunt-contrib-watch": "~0.6.0",
"grunt-sass": "^1.0.0", "grunt-sass": "^1.0.0",
"jquery-mousewheel": "~3.1.13",
"node-sass": "^4.5.3" "node-sass": "^4.5.3"
}, },
"dependencies": { "dependencies": {
"almond": "~0.3.1",
"jquery-mousewheel": "~3.1.13"
} }
} }