Install gulp-cli as a dev dependency (#10)

This commit is contained in:
David Knise 2023-06-20 06:39:24 -07:00 коммит произвёл GitHub
Родитель 31e093f52f
Коммит 9ff108a9f1
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
3 изменённых файлов: 18 добавлений и 13 удалений

Просмотреть файл

@ -15,20 +15,20 @@ A GitHub Actions javascript library for running the [Microsoft Security DevOps C
### Preqrequisities: ### Preqrequisities:
* Install [node.js](https://nodejs.org/en) (for npm) * Install [node.js](https://nodejs.org/en)
* Install [gulp-cli](https://www.npmjs.com/package/gulp-cli) globally:
```
npm install -g gulp-cli
```
* Install node package dependencies
```
npm install
```
To build, simply run `gulp` in the root of the repo: ### Steps
```
gulp 1. Install node package dependencies
``` ```
npm install
```
1. Run the build script defined in the `package.json` file:
```
npm run build
```
### Build Operations
The build: The build:
1. Compiles the typescript in the `./src` directory 1. Compiles the typescript in the `./src` directory

1
package-lock.json сгенерированный
Просмотреть файл

@ -18,6 +18,7 @@
"@types/node": "^20.3.1", "@types/node": "^20.3.1",
"del": "^7.0.0", "del": "^7.0.0",
"gulp": "^4.0.2", "gulp": "^4.0.2",
"gulp-cli": "^2.3.0",
"gulp-shell": "^0.8.0", "gulp-shell": "^0.8.0",
"gulp-typescript": "^6.0.0-alpha.1", "gulp-typescript": "^6.0.0-alpha.1",
"typescript": "^5.1.3" "typescript": "^5.1.3"

Просмотреть файл

@ -6,6 +6,9 @@
"license": "MIT", "license": "MIT",
"repository": "https://github.com/microsoft/security-devops-actions-toolkit.git", "repository": "https://github.com/microsoft/security-devops-actions-toolkit.git",
"homepage": "https://github.com/microsoft/security-devops-actions-toolkit", "homepage": "https://github.com/microsoft/security-devops-actions-toolkit",
"scripts": {
"build": "npx gulp"
},
"dependencies": { "dependencies": {
"@actions/core": "1.10.0", "@actions/core": "1.10.0",
"@actions/exec": "1.1.1", "@actions/exec": "1.1.1",
@ -16,6 +19,7 @@
"@types/node": "^20.3.1", "@types/node": "^20.3.1",
"del": "^7.0.0", "del": "^7.0.0",
"gulp": "^4.0.2", "gulp": "^4.0.2",
"gulp-cli": "^2.3.0",
"gulp-shell": "^0.8.0", "gulp-shell": "^0.8.0",
"gulp-typescript": "^6.0.0-alpha.1", "gulp-typescript": "^6.0.0-alpha.1",
"typescript": "^5.1.3" "typescript": "^5.1.3"