-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
26 lines (26 loc) · 2.66 KB
/
package.json
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
{
"scripts": {
"postinstall": "cd ./Tasks/DownloadArtifactsNexus && cd ./DownloadArtifactsNexusV2 && npm install && nlc nexus-v2 && cd ../DownloadArtifactsNexusV3 && npm install && nlc nexus-v3 && cd ../DownloadArtifactsNexusV0_2 && npm install && nlc nexus-v2 && cd ../DownloadArtifactsNexusV0_3 && npm install && nlc nexus-v3",
"build": "tsc",
"package:DownloadArtifactsNexusV0_2": "(for %f in (task.json,package.json,icon.png) do xcopy /y /i .\\Tasks\\DownloadArtifactsNexus\\DownloadArtifactsNexusV0_2\\%f .\\dist\\Tasks\\DownloadArtifactsNexus\\DownloadArtifactsNexusV0_2\\) && cd ./dist/Tasks/DownloadArtifactsNexus/DownloadArtifactsNexusV0_2 && npm install --only=production && nlc nexus-v2",
"package:DownloadArtifactsNexusV0_3": "(for %f in (task.json,package.json,icon.png) do xcopy /y /i .\\Tasks\\DownloadArtifactsNexus\\DownloadArtifactsNexusV0_3\\%f .\\dist\\Tasks\\DownloadArtifactsNexus\\DownloadArtifactsNexusV0_3\\) && cd ./dist/Tasks/DownloadArtifactsNexus/DownloadArtifactsNexusV0_3 && npm install --only=production && nlc nexus-v3",
"package:DownloadArtifactsNexusV2": "(for %f in (task.json,package.json,icon.png) do xcopy /y /i .\\Tasks\\DownloadArtifactsNexus\\DownloadArtifactsNexusV2\\%f .\\dist\\Tasks\\DownloadArtifactsNexus\\DownloadArtifactsNexusV2\\) && cd ./dist/Tasks/DownloadArtifactsNexus/DownloadArtifactsNexusV2 && npm install --only=production && nlc nexus-v2",
"package:DownloadArtifactsNexusV3": "(for %f in (task.json,package.json,icon.png) do xcopy /y /i .\\Tasks\\DownloadArtifactsNexus\\DownloadArtifactsNexusV3\\%f .\\dist\\Tasks\\DownloadArtifactsNexus\\DownloadArtifactsNexusV3\\) && cd ./dist/Tasks/DownloadArtifactsNexus/DownloadArtifactsNexusV3 && npm install --only=production && nlc nexus-v3",
"package:Server2018VSIX": "npm run build && npm run package:DownloadArtifactsNexusV0_2 && npm run package:DownloadArtifactsNexusV0_3 && tfx extension create --manifests vss-extension-server-2018.json --output-path ./dist/",
"package:ServiceVSIX": "npm run build && npm run package:DownloadArtifactsNexusV2 && npm run package:DownloadArtifactsNexusV3 && tfx extension create --manifests vss-extension.json --output-path ./dist/",
"package": "npm run package:Server2018VSIX && npm run package:ServiceVSIX",
"lint": "eslint Tasks libs --cache",
"lintfix": "eslint Tasks libs --fix --cache"
},
"devDependencies": {
"npm-link-better": "^0.5.0",
"tfx-cli": "^0.8.2",
"@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"
}
}