OMEX-Azure-DevOps-Extensions/package.json

101 строка
3.8 KiB
JSON

{
"$schema": "https://json.schemastore.org/package.json",
"name": "prmetrics",
"publisher": "ms-omex",
"version": "1.6.3",
"description": "Augments pull request titles to let reviewers quickly determine PR size and test coverage.",
"main": "dist/index.js",
"scripts": {
"build:initialization": "npm ci && cross-env-shell \"mkdirp $npm_config_dir && ncp src $npm_config_dir\"",
"build:debug": "npm run build:initialization --dir=debug && cd debug/task && tsc --sourceMap",
"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",
"build:package": "npm ci && 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",
"clean": "rimraf debug && rimraf release",
"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",
"lint": "eslint --fix **/*.ts",
"test": "npm run build:debug && cd debug/task && c8 --reporter=text --reporter=text-summary mocha tests/**/*.spec.js",
"test:fast": "cross-env-shell \"mkdirp debug && ncp src debug\" && cd debug/task && tsc --sourceMap && c8 --reporter=text --reporter=text-summary mocha tests/**/*.spec.js",
"update:package": "npm update"
},
"repository": {
"type": "git",
"url": "git+https://github.com/microsoft/PR-Metrics.git"
},
"keywords": [
"Extension",
"Marketplace",
"Continuous Integration",
"Continuous Delivery",
"Build",
"Release",
"GitHub Actions",
"Azure Pipelines",
"Azure DevOps Extensions",
"Visual Studio Extensions"
],
"author": "Microsoft Corporation",
"license": "MIT",
"bugs": {
"url": "https://github.com/microsoft/PR-Metrics/issues"
},
"homepage": "https://github.com/microsoft/PR-Metrics#readme",
"engines": {
"node": ">=16.20.2"
},
"dependencies": {
"@actions/core": "1.10.1",
"@actions/exec": "1.1.1",
"@octokit/plugin-rest-endpoint-methods": "13.2.4",
"@octokit/types": "13.5.0",
"axios": "1.7.7",
"azure-devops-node-api": "14.0.2",
"azure-pipelines-task-lib": "4.17.0",
"http-status-codes": "2.3.0",
"isomorphic-fetch": "3.0.0",
"octokit": "3.2.1",
"parse-git-diff": "0.0.15",
"reflect-metadata": "0.2.2",
"tsyringe": "4.8.0"
},
"devDependencies": {
"@babel/cli": "7.25.6",
"@babel/core": "7.25.2",
"@babel/preset-env": "7.25.4",
"@tsconfig/node16": "16.1.3",
"@types/glob": "8.1.0",
"@types/isomorphic-fetch": "0.0.39",
"@types/mocha": "10.0.7",
"@types/node": "22.5.4",
"@typescript-eslint/eslint-plugin": "8.4.0",
"@typescript-eslint/parser": "8.4.0",
"@vercel/ncc": "0.38.1",
"babel-plugin-transform-globalthis": "1.0.0",
"c8": "10.1.2",
"cross-env": "7.0.3",
"eslint": "9.9.1",
"exitzero": "1.0.1",
"glob": "11.0.0",
"mkdirp": "3.0.1",
"mocha": "10.7.3",
"ncp": "2.0.0",
"npm-check-updates": "17.1.1",
"rimraf": "6.0.1",
"source-map-support": "0.5.21",
"tfx-cli": "0.17.0",
"ts-mockito": "2.6.1",
"typedoc": "0.26.6",
"typescript": "5.5.4",
"typescript-eslint": "8.4.0"
},
"overrides": {
"@octokit/core": "5.2.0"
},
"ts-standard": {
"ignore": [
"dist"
]
}
}