Install gulp-cli as a dev dependency (#10)
This commit is contained in:
Родитель
31e093f52f
Коммит
9ff108a9f1
26
README.md
26
README.md
|
@ -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
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Загрузка…
Ссылка в новой задаче