-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
21 lines (21 loc) · 1.19 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
"scripts": {
"postinstall": "cd ./Tasks/DownloadArtifactsGitHubEnterprise && npm install",
"build": "tsc",
"package:DownloadArtifactsGitHubEnterprise": "(for %f in (task.json,package.json,icon.png) do xcopy /y /i .\\Tasks\\DownloadArtifactsGitHubEnterprise\\%f .\\dist\\Tasks\\DownloadArtifactsGitHubEnterprise\\) && cd ./dist/Tasks/DownloadArtifactsGitHubEnterprise && npm install --only=production",
"package:ServerVSIX": "npm run build && npm run package:DownloadArtifactsGitHubEnterprise && tfx extension create --manifests vss-extension-server.json --output-path ./dist/",
"package:ServiceVSIX": "npm run build && npm run package:DownloadArtifactsGitHubEnterprise && tfx extension create --manifests vss-extension-service.json --output-path ./dist/",
"package": "npm run package:ServerVSIX && npm run package:ServiceVSIX",
"lint": "eslint Tasks --cache",
"lintfix": "eslint Tasks --fix --cache"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^4.31.2",
"@typescript-eslint/parser": "^4.31.2",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"prettier": "^2.4.1",
"typescript": "^3.8.3"
}
}