Using Grunt, Bower and NPM in Visual Studio 2013

Source: Internet
Author: User

What do you do in Visual Studio 2013, which provides built-in support for Grunt and Gulp in Visual Studio 2015? Microsoft has released the features in 2015 as a few separate extensions that you can use in Visual Studio 2013.

In fact, you need three extensions.

1. Installation

First, you need Visual Studio 2013.3, which is to say, the third update package for Visual Studio is installed.

1. Task Runner Explorer

Visual Task Manager for Grunt.

extension Address:https://visualstudiogallery.msdn.microsoft.com/8e1b4368-4afb-467a-bc13-9650572db708

2. Package Intellisense

Smart tips by searching for online NPM and Bower packages.

Extension Address: https://visualstudiogallery.msdn.microsoft.com/65748cdb-4087-497e-a394-2e3449c8e61e

3. Grunt Launcher

Optional, provided in the Solution Manager right-click menu contains "NPM install", in the Package.json right-click menu support, before running the GRUNT/GULP task to execute "NPM install."

Extension Address: HTTPS://VISUALSTUDIOGALLERY.MSDN.MICROSOFT.COM/DCBC5325-79EF-4B72-960E-0A51EE33A0FF

2. Use

Right-click on the gruntfile.js file to bring up a menu of administrative tasks.

By default, the Task Runner Explorer appears below Visual Studio.

It can also be triggered by one of the 4 events in Visual Studio.

Double-click the task to execute it.

You can provide smart reminders when you edit the Package.json file for NPM.

Include package version

Hover the reminder.

Demo.

Resources

Intruducing Gulp, Grunt, Bower, and NPM support for Visual Studio

Using Grunt, Bower, and NPM in Visual Studio 2013

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.