Additional denepdencies for project downloaded direcly as zip and unpacked to defiened folder
This plugin requires Grunt ~0.4.5
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-other-dependencies --save-dev
Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
grunt.loadNpmTasks('grunt-other-dependencies');
In your project's Gruntfile, add a section named other_dependencies
to the data object passed into grunt.initConfig()
.
grunt.initConfig({
other_dependencies: {
target: {}
},
});
Put dummy configuration into initConfig section
grunt.initConfig({
other_dependencies: {
target: {}
},
});
In your package.json file, put `other_dependencies' section
"otherDependecies": [
{
"name": "test-module-one",
"url": "http://www.osadnik.com/download-zip/test-module-one.zip",
"destFolder": "other-modules"
},
{
"name": "test-module-two",
"url": "http://www.osadnik.com/download-zip/test-module-two.zip",
"destFolder": "other-modules"
}
],
as a separeated task
grunt.registerTask('otherDeps', [
'other_dependencies',
])
... or directly binded to build
task:
grunt.registerTask('build', [
// 'test',
'other_dependencies',
'clean:dist',
'useminPrepare',
...
...
]
);
then you can just run:
grunt otherDeps
or
then you can just run:
grunt build
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.
(Nothing yet)