2021-03-19 22:14:11 +03:00
|
|
|
{
|
2021-03-31 21:51:02 +03:00
|
|
|
"$schema": "https://json.schemastore.org/package.json",
|
2022-04-04 12:18:48 +03:00
|
|
|
"name": "prmetrics",
|
2023-03-08 19:37:17 +03:00
|
|
|
"publisher": "ms-omex",
|
2024-01-08 13:14:24 +03:00
|
|
|
"version": "1.5.10",
|
2022-04-04 12:18:48 +03:00
|
|
|
"description": "Augments pull request titles to let reviewers quickly determine PR size and test coverage.",
|
|
|
|
"main": "dist/index.js",
|
|
|
|
"scripts": {
|
|
|
|
"build:initialization": "cross-env-shell \"npm install && mkdirp $npm_config_dir && ncp src $npm_config_dir\"",
|
|
|
|
"build:debug": "npm run build:initialization --dir=debug && cd debug/task && tsc --sourceMap",
|
2023-03-08 19:37:17 +03:00
|
|
|
"build:release": "npm run build:initialization --dir=release && cd release/task && tsc && ncc build index.js --out . --minify && babel index.js --out-file index2.js --config-file ../../babel.config.json && ncc build index2.js --out . --minify && ncp index2.js index.js && rimraf src tests typedocs *.ts index2.js package.json tsconfig.json typedoc.json && cd .. && mkdirp extension && ncp ../package.json extension/package.json",
|
2022-04-04 12:18:48 +03:00
|
|
|
"build:package": "npm install && ncc build src/task/index.ts --out dist --minify && rimraf dist/package.json && ncp src/task/Strings/resources.resjson/en-US/resources.resjson dist/resources.resjson",
|
|
|
|
"build:docs": "cd src/task && typedoc",
|
|
|
|
"build": "npm run build:release && npm run build:package && npm run build:docs",
|
2022-11-30 13:29:23 +03:00
|
|
|
"clean": "rimraf debug && rimraf release",
|
2022-04-04 12:18:48 +03:00
|
|
|
"deploy": "npm run build:release && exitzero tfx build tasks delete --task-id 907d3b28-6b37-4ac7-ac75-9631ee53e512 --no-prompt && tfx build tasks upload --task-path release/task --no-prompt",
|
2022-08-04 10:50:56 +03:00
|
|
|
"lint": "eslint --fix **/*.ts",
|
2024-01-08 13:14:24 +03:00
|
|
|
"test": "npm run build:debug && cd debug/task && c8 --reporter=text --reporter=text-summary mocha tests/**/*.spec.js"
|
2022-04-04 12:18:48 +03:00
|
|
|
},
|
2021-03-19 22:14:11 +03:00
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
2022-04-04 12:18:48 +03:00
|
|
|
"url": "git+https://github.com/microsoft/PR-Metrics.git"
|
2021-03-19 22:14:11 +03:00
|
|
|
},
|
|
|
|
"keywords": [
|
2022-04-04 12:18:48 +03:00
|
|
|
"Extension",
|
|
|
|
"Marketplace",
|
|
|
|
"Continuous Integration",
|
|
|
|
"Continuous Delivery",
|
|
|
|
"Build",
|
|
|
|
"Release",
|
|
|
|
"GitHub Actions",
|
2021-08-03 19:18:20 +03:00
|
|
|
"Azure Pipelines",
|
2022-04-04 12:18:48 +03:00
|
|
|
"Azure DevOps Extensions",
|
|
|
|
"Visual Studio Extensions"
|
2021-03-19 22:14:11 +03:00
|
|
|
],
|
|
|
|
"author": "Microsoft Corporation",
|
|
|
|
"license": "MIT",
|
|
|
|
"bugs": {
|
2022-04-04 12:18:48 +03:00
|
|
|
"url": "https://github.com/microsoft/PR-Metrics/issues"
|
|
|
|
},
|
|
|
|
"homepage": "https://github.com/microsoft/PR-Metrics#readme",
|
|
|
|
"engines": {
|
|
|
|
"node": ">=10.24.1"
|
|
|
|
},
|
|
|
|
"dependencies": {
|
2024-01-08 13:14:24 +03:00
|
|
|
"@actions/core": "1.10.1",
|
|
|
|
"@actions/exec": "1.1.1",
|
|
|
|
"@octokit/plugin-rest-endpoint-methods": "10.2.0",
|
|
|
|
"@octokit/types": "12.4.0",
|
|
|
|
"axios": "1.6.4",
|
|
|
|
"azure-devops-node-api": "12.1.0",
|
|
|
|
"azure-pipelines-task-lib": "4.7.0",
|
|
|
|
"isomorphic-fetch": "3.0.0",
|
|
|
|
"octokit": "3.1.2",
|
|
|
|
"parse-git-diff": "0.0.14",
|
|
|
|
"reflect-metadata": "0.2.1",
|
|
|
|
"tsyringe": "4.8.0"
|
2021-03-19 22:14:11 +03:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2024-01-08 13:14:24 +03:00
|
|
|
"@babel/cli": "7.23.4",
|
|
|
|
"@babel/core": "7.23.7",
|
|
|
|
"@babel/preset-env": "7.23.7",
|
|
|
|
"@tsconfig/node10": "1.0.9",
|
|
|
|
"@types/glob": "8.1.0",
|
|
|
|
"@types/isomorphic-fetch": "0.0.39",
|
|
|
|
"@types/mocha": "10.0.6",
|
|
|
|
"@types/node": "20.10.6",
|
|
|
|
"@typescript-eslint/eslint-plugin": "6.17.0",
|
|
|
|
"@typescript-eslint/parser": "6.17.0",
|
|
|
|
"@vercel/ncc": "0.38.1",
|
|
|
|
"babel-plugin-transform-globalthis": "1.0.0",
|
|
|
|
"c8": "9.0.0",
|
|
|
|
"cross-env": "7.0.3",
|
|
|
|
"eslint": "8.56.0",
|
|
|
|
"eslint-config-standard": "17.1.0",
|
|
|
|
"eslint-plugin-import": "2.29.1",
|
|
|
|
"eslint-plugin-node": "11.1.0",
|
|
|
|
"eslint-plugin-promise": "6.1.1",
|
|
|
|
"exitzero": "1.0.1",
|
|
|
|
"glob": "10.3.10",
|
|
|
|
"mkdirp": "3.0.1",
|
|
|
|
"mocha": "10.2.0",
|
|
|
|
"ncp": "2.0.0",
|
|
|
|
"source-map-support": "0.5.21",
|
|
|
|
"tfx-cli": "0.16.0",
|
|
|
|
"ts-mockito": "2.6.1",
|
|
|
|
"typedoc": "0.25.6",
|
|
|
|
"typescript": "5.3.3"
|
2023-05-04 14:46:23 +03:00
|
|
|
},
|
2022-04-08 12:32:43 +03:00
|
|
|
"ts-standard": {
|
|
|
|
"ignore": [
|
|
|
|
"dist"
|
|
|
|
]
|
2021-03-19 22:14:11 +03:00
|
|
|
}
|
|
|
|
}
|