Skip to content

Creates a starting project structure for build a Node.js based Visual Studio Team Services task.

Notifications You must be signed in to change notification settings

DarqueWarrior/vsts-task-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vsts-task-starter

Creates a starting project structure for building a Node.js based Visual Studio Team Services task.

|-- taskName
|    |-- icon.png
|    |-- package.json
|    |-- task.json
|    |-- src
|    |    |-- app.js
|    |    |-- task.js
|    |--test
|    |    |-- taskUnitTest.js

The command also installs Mocha and Istanbul globally for testing and code coverage. Once the task is created you can test the task by running test from the task folder.

npm test

Installation

npm install -g vsts-task-starter

Usage

createtask

Command Line Interface (cli)

Any values not passed in as cli arguments will be prompted for when the command runs.

  • n - name of the task
  • f - friendly name of the task
  • d - description
  • a - author
createtask -n TaskName -f "Task Name" -a "Donovan Brown" -d "My cool task"  

About

Creates a starting project structure for build a Node.js based Visual Studio Team Services task.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published