Skip to content

Commit 9bae9d6

Browse files
authored
Install gulp-cli as a dev dependency (#14)
1 parent 69f9d6c commit 9bae9d6

3 files changed

Lines changed: 17 additions & 15 deletions

File tree

README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,20 @@ An Azure DevOps javascript library for running the [Microsoft Security DevOps CL
1313

1414
### Preqrequisities:
1515

16-
* Install [node.js](https://nodejs.org/en) (for npm)
17-
* Install [gulp-cli](https://www.npmjs.com/package/gulp-cli) globally:
18-
```
19-
npm install -g gulp-cli
20-
```
21-
* Install node package dependencies
22-
```
23-
npm install
24-
```
25-
26-
To build, simply run `gulp` in the root of the repo:
27-
```
28-
gulp
29-
```
16+
* Install [node.js](https://nodejs.org/en)
17+
18+
### Steps
19+
20+
1. Install node package dependencies
21+
```
22+
npm install
23+
```
24+
1. Run the build script defined in the `package.json` file:
25+
```
26+
npm run build
27+
```
28+
29+
### Build Operations
3030

3131
The build:
3232
1. Compiles the typescript in the `./src` directory

package-lock.json

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"repository": "https://github.com/microsoft/security-devops-azdevops-task-lib.git",
88
"homepage": "https://github.com/microsoft/security-devops-azdevops-task-lib",
99
"scripts": {
10-
"build": "gulp"
10+
"build": "npx gulp"
1111
},
1212
"dependencies": {
1313
"adm-zip": "0.5.10",
@@ -19,6 +19,7 @@
1919
"@types/node": "^20.3.1",
2020
"del": "^7.0.0",
2121
"gulp": "^4.0.2",
22+
"gulp-cli": "^2.3.0",
2223
"gulp-shell": "^0.8.0",
2324
"gulp-typescript": "^6.0.0-alpha.1",
2425
"typescript": "^5.1.3"

0 commit comments

Comments
 (0)