-
Notifications
You must be signed in to change notification settings - Fork 15
/
package.json
93 lines (93 loc) · 3.02 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
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
82
83
84
85
86
87
88
89
90
91
92
93
{
"name": "vsts-mirror-git-repository",
"version": "1.1.10",
"description": "A straightforward utility to mirror one Git repository to another location",
"scripts": {
"lint": "tslint -c tslint.json 'src/**/*.ts'",
"build": "npm test && npm run lint",
"transpile": "npm run clean && tsc",
"mocha": "mocha",
"pretest": "tsc",
"test": "nyc npm run mocha",
"posttest": "replace-in-file --isRegex true \"/(.js)/g\" .ts .test-results/sonar.xml",
"test-dev": "npm run transpile && npm test",
"cov-open": "npm run build && nyc --check-coverage false npm run mocha && npm run cov-reopen",
"cov-reopen": "open-cli .coverage/index.html",
"clean": "rimraf ./src/**/{*.js,*.map} .coverage .test-results .release *.vsix .taskkey",
"package-deps": "copy-node-modules . .release/git-mirror",
"package-task": "mkdirp .release/git-mirror && ncp src/git-mirror/ .release/git-mirror/ --filter=\"^((?!(\\.(map|ts|spec\\.js))).)+$\"",
"prepackage": "npm run transpile && npm run package-deps && npm run package-task",
"package": "tfx extension create --manifest-globs vss-extension.json",
"pretask-upload": "npm run prepackage",
"tfx": "tfx",
"tfx-login": "tfx login",
"task-upload": "tfx build tasks upload --task-path .release/git-mirror/",
"task-delete": "tfx build tasks delete --task-id 4e842f83-9438-4acb-994c-c8c31137dea9",
"dev-setup": "npm i && npm run build",
"dev-reset": "npm run clean && node -e \"require('rimraf').sync('node_modules');\" && npm run dev-setup"
},
"author": {
"name": "swellaby",
"email": "opensource@swellaby.com",
"url": "http://swellaby.com"
},
"contributors": [
{
"name": "Travis Kosarek",
"url": "https://github.com/traviskosarek"
},
{
"name": "Caleb Cartwright",
"url": "https://github.com/calebcartwright"
}
],
"license": "MIT",
"private": true,
"dependencies": {
"azure-pipelines-task-lib": "^3.0.0",
"valid-url": "^1.0.9"
},
"devDependencies": {
"@swellaby/nyc-config": "^3.0.7",
"@types/chai": "^4.2.14",
"@types/mocha": "^9.0.0",
"@types/node": "^14.14.6",
"@types/sinon": "^10.0.0",
"@types/valid-url": "^1.0.3",
"chai": "^4.2.0",
"copy-node-modules": "^1.1.1",
"mkdirp": "^1.0.4",
"mocha": "^9.2.2",
"mocha-junit-reporter": "^2.0.0",
"mocha-multi-reporters": "^1.1.7",
"mocha-sonarqube-reporter": "^1.0.2",
"ncp": "^2.0.0",
"nyc": "^15.1.0",
"open-cli": "^7.0.0",
"replace-in-file": "^6.1.0",
"require-dir": "^1.2.0",
"rimraf": "^3.0.2",
"run-sequence": "^2.2.1",
"sinon": "^11.0.0",
"tfx-cli": "^0.12.0",
"tslint": "^6.1.3",
"tslint-no-unused-expression-chai": "^0.1.4",
"typescript": "^4.0.5"
},
"repository": {
"type": "git",
"url": "https://github.com/swellaby/vsts-mirror-git-repository"
},
"nyc": {
"extends": "@swellaby/nyc-config",
"exclude": [
"src/**/*.spec*"
],
"include": [
"src/**/*"
],
"extension": [
".ts"
]
}
}