On windows (powershell) the suggested command npm install && bower install --save doesn't work.
This looks to me as something we have to do every time we generate a new app. So maybe we should have a task for it. Typing this task in a platform depend matter is not something we want to do manually as it's treated differently on the various platforms. It also adds complexity to the documentation. We can let grunt-shell abstract away the platform for us. Maybe this is something we could instruct yo to add to the grunt-file for us.
I suggest that the generator adds the following parts to the Gruntfile.js and adds the grunt-shell requirement to the package.json file.
// loadNpmTasks section
grunt.loadNpmTasks('grunt-shell');
// config/task section (initConfig)
shell: {
setup: {
command: ['npm install', 'bower install --save'].join('&&'),
options: {
stdout: true,
}
}
},
// registerTask section
grunt.registerTask('setup', ['shell:setup']);
On windows (powershell) the suggested command
npm install && bower install --savedoesn't work.This looks to me as something we have to do every time we generate a new app. So maybe we should have a task for it. Typing this task in a platform depend matter is not something we want to do manually as it's treated differently on the various platforms. It also adds complexity to the documentation. We can let
grunt-shellabstract away the platform for us. Maybe this is something we could instructyoto add to the grunt-file for us.I suggest that the generator adds the following parts to the
Gruntfile.jsand adds thegrunt-shellrequirement to thepackage.jsonfile.