This repository was archived by the owner on Sep 30, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathpackage.json
More file actions
81 lines (81 loc) · 2.66 KB
/
package.json
File metadata and controls
81 lines (81 loc) · 2.66 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"name": "create-pr-comment-task",
"version": "1.0.0",
"description": "Create a comment on a Pull Request",
"main": "task.js",
"scripts": {
"clean": "rimraf ./.bin && rimraf ./.dist && rimraf ./*.vsix",
"deps": "rimraf ./node_modules && npm install",
"build": "rimraf ./.bin && tsc -p .",
"start": "copyfiles -f ./task/CreatePRCommentTaskV1/task.json ./src && ts-node ./src/task.ts && rimraf ./src/task.json",
"pack": "rimraf ./.dist && copyfiles vss-extension.json vss-extension-icon.png LICENSE.md README.md \"./task/**\" ./.dist && copyfiles -f package.json \"./.bin/*.js\" \"./.bin/**/*.js\" -e \"./.bin/tests/*\" ./.dist/task/CreatePRCommentTaskV0 && copyfiles -f package.json \"./.bin/*.js\" \"./.bin/**/*.js\" -e \"./.bin/tests/*\" ./.dist/task/CreatePRCommentTaskV1 && loop \"npm install --only=prod\" --cwd ./.dist/task",
"create": "tfx extension create -r ./.dist",
"createdev": "tfx extension create --rev-version --root ./.dist --publisher daporo-dev",
"test": "tsc -p . && copyfiles -f ./task/CreatePRCommentTaskV1/task.json ./.bin/src && nyc mocha ./.bin/tests/L0.js",
"report": "tsc -p . && mocha ./.bin/tests/L0.js --reporter mocha-junit-reporter && nyc report",
"lint": "ts-standard",
"lintfix": "ts-standard --fix"
},
"nyc": {
"extension": [
".ts"
],
"include": [
"src"
],
"reporter": [
"text",
"cobertura",
"html"
],
"report-dir": "./.coverage_output/coverage",
"all": "true",
"check-coverage": true,
"statements": 70,
"functions": 70,
"branches": 70,
"lines": 70
},
"repository": {
"type": "git",
"url": "git+https://github.com/microsoft/CSEDevOps.git"
},
"keywords": [
"Pull Request",
"PR",
"PR Comment",
"Utility task",
"Utility",
"Azure Pipelines"
],
"author": "CSE-DevOps",
"license": "MIT",
"bugs": {
"url": "https://github.com/microsoft/CSEDevOps/issues?q=is:issue+label:CreatePrComment"
},
"homepage": "https://github.com/microsoft/CSEDevOps/tree/main/CreatePrComment",
"dependencies": {
"azure-devops-node-api": "^11.1.0",
"azure-pipelines-task-lib": "^3.1.10"
},
"devDependencies": {
"@types/chai": "^4.3.0",
"@types/mocha": "^9.1.0",
"@types/node": "^17.0.18",
"@types/q": "^1.5.5",
"@types/sinon": "^10.0.11",
"chai": "^4.3.6",
"copyfiles": "^2.4.1",
"loop": "^3.3.6",
"mocha": "^9.2.0",
"mocha-junit-reporter": "^2.0.2",
"nyc": "^15.1.0",
"rewiremock": "^3.14.3",
"rimraf": "^3.0.2",
"sinon": "^13.0.1",
"source-map-support": "^0.5.21",
"tfx-cli": "^0.10.0",
"ts-node": "^10.5.0",
"typescript": "^4.5.5"
}
}