esri-slurp may the slource™ be with you!
Download and unwind esri js api amd modules and css to create a local package for builds, testing, and continuous integration. The best way to get the slource™.
This is a Grunt plugin for esrislurp.
If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
npm install grunt-esri-slurp --save-dev
The "esri_slurp" task
In your project's Gruntfile, add a section named
esri_slurp to the data object passed into
A string value representing the version of the esri js api to download.
A boolean value to make the js and css code beautiful.
A string value letting grunt know where to put the downloaded files.
esrislurp to fix 3.14 dojo build errors.
esrislurp to include 3.14 esri modules.
esrislurp and remove module creation functionality.
esrislurp and other dependencies.
1.4.5 Prune dependencies and update
3.13 modules again.
1.4.1 Update dependencies.
esrislurp now has
1.3.0 Added esri js api
3.12 modules. Create modules grunt task improvements.
1.2.0 Core logic extracted into esrislurp
1.1.0 Added esri js api
dest and removed default value. This follows the grunt conventions and makes slurp work with other plugins like
grunt-if-missing. Removed the default value for the
version property. Added css beautification.
0.6.0 esri_slurp is now a multi-task in order to have target level options.
0.5.0 Added js-beautify option. esriModuleBuilder task now works on windows.
3.10 module list now in plugin.
0.4.0: Added progress bar and task to build module list. Stored 3.8 and 3.9 modules by default. Anything earlier and you'll have to run it yourself.
0.3.0: Fixed async code and should now run on multiple os's.
0.2.0: Split up the defines so packages can be required again.
0.1.0: Can download modules to a specified location.
Copyright (c) 2014 steveoh. Licensed under the MIT license.