vsts-task-starter

1.0.13-870 • Public • Published

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"  

Dependents (0)

Package Sidebar

Install

npm i vsts-task-starter

Weekly Downloads

2

Version

1.0.13-870

License

MIT

Unpacked Size

12.8 kB

Total Files

11

Last publish

Collaborators

  • darquewarrior