174 строки
5.3 KiB
JSON
174 строки
5.3 KiB
JSON
{
|
|
"name": "opensource-management-portal",
|
|
"author": "Microsoft Corporation",
|
|
"version": "7.1.0",
|
|
"license": "MIT",
|
|
"private": true,
|
|
"keywords": [
|
|
"github",
|
|
"management",
|
|
"organization"
|
|
],
|
|
"tags": [
|
|
"github",
|
|
"node",
|
|
"management",
|
|
"organization"
|
|
],
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"dev:local": "DEBUG=startup EXIT_IMMEDIATELY=1 node ./dist/scripts/localEnvironment.js",
|
|
"find-deadcode": "ts-prune",
|
|
"find-circular-dependencies": "npx madge --circular --extensions ts .",
|
|
"fix:js": "eslint --fix .",
|
|
"fix:md": "markdownlint-cli2 --config ./.config/.markdownlint-cli2.jsonc --fix \"**/*.md\"",
|
|
"fix": "npm run fix:js && npm run fix:md",
|
|
"lint:js": "eslint .",
|
|
"lint:json": "echo OK",
|
|
"lint:md": "markdownlint-cli2 --config ./.config/.markdownlint-cli2.jsonc \"**/*.md\"",
|
|
"lint:spell": "cspell --config ./.cspell.json --no-progress \"**\"",
|
|
"lint": "npm run lint:json && npm run lint:js && npm run lint:md && npm run lint:spell",
|
|
"prepare": "husky install || echo No Husky.",
|
|
"start-4000": "PORT=4000 DEBUG=startup node ./dist/bin/www",
|
|
"start-in-container": "node ./bin/www",
|
|
"start": "node ./dist/bin/www",
|
|
"test:ci": "jest --config ./test/jest.config.ts --watchAll=false --reporters=default --reporters=jest-junit",
|
|
"test": "jest --config ./test/jest.config.ts"
|
|
},
|
|
"lint-staged": {
|
|
"*": [
|
|
"prettier --write --ignore-unknown",
|
|
"cspell --no-must-find-files"
|
|
],
|
|
"*.{js,ts}": "eslint --fix",
|
|
"*.md": "markdownlint-cli2 --fix --config ./.config/.markdownlint-cli2.jsonc"
|
|
},
|
|
"jest-junit": {
|
|
"suiteNameTemplate": "{filepath}",
|
|
"outputDirectory": ".",
|
|
"outputName": "junit.xml"
|
|
},
|
|
"_begin_app_configuration_": 0,
|
|
"//": "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -",
|
|
"painlessConfigObjectPackages": [
|
|
"./config"
|
|
],
|
|
"continuousDeployment": {
|
|
"build": "__Build_BuildNumber__",
|
|
"release": "",
|
|
"branchName": "__Build_BranchName__",
|
|
"commitId": "__Build_SourceVersion__"
|
|
},
|
|
"//.": "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ",
|
|
"_end_app_configuration_": 0,
|
|
"_begin_microsoft_internal_": 0,
|
|
"_end_microsoft_internal_": 0,
|
|
"//...": "- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ",
|
|
"dependencies": {
|
|
"@azure/cosmos": "4.0.0",
|
|
"@azure/data-tables": "13.2.2",
|
|
"@azure/identity": "4.0.0",
|
|
"@azure/keyvault-secrets": "4.7.0",
|
|
"@azure/service-bus": "7.9.3",
|
|
"@azure/storage-blob": "12.17.0",
|
|
"@azure/storage-queue": "12.16.0",
|
|
"@octokit/plugin-paginate-graphql": "4.0.0",
|
|
"@octokit/request": "8.1.6",
|
|
"@octokit/auth-app": "6.0.3",
|
|
"@octokit/rest": "20.0.2",
|
|
"@primer/octicons": "19.8.0",
|
|
"app-root-path": "3.1.0",
|
|
"applicationinsights": "2.9.2",
|
|
"async-prompt": "1.0.1",
|
|
"axios": "1.6.5",
|
|
"basic-auth": "2.0.1",
|
|
"body-parser": "1.20.2",
|
|
"color-contrast-checker": "2.1.0",
|
|
"compression": "1.7.4",
|
|
"connect-redis": "7.1.0",
|
|
"cors": "2.8.5",
|
|
"debug": "4.3.4",
|
|
"deepmerge": "4.3.1",
|
|
"dotenv": "16.3.1",
|
|
"express": "4.18.2",
|
|
"express-async-handler": "1.2.0",
|
|
"express-session": "1.17.3",
|
|
"express-sslify": "1.2.0",
|
|
"file-size": "1.0.0",
|
|
"github-username-regex": "1.0.0",
|
|
"hsts": "2.2.0",
|
|
"jsonc": "2.0.0",
|
|
"jsonwebtoken": "9.0.2",
|
|
"jwks-rsa": "3.1.0",
|
|
"language-map": "1.5.0",
|
|
"lodash": "4.17.21",
|
|
"luxon": "3.4.4",
|
|
"memory-cache": "0.2.0",
|
|
"moment": "2.30.1",
|
|
"morgan": "1.10.0",
|
|
"node-jose": "2.2.0",
|
|
"nodemailer": "6.9.8",
|
|
"object-path": "0.11.8",
|
|
"passport": "0.7.0",
|
|
"passport-azure-ad": "4.3.5",
|
|
"passport-github": "1.1.0",
|
|
"pg": "8.11.3",
|
|
"pg-escape": "0.2.0",
|
|
"pug": "3.0.2",
|
|
"pug-load": "3.0.0",
|
|
"recursive-readdir": "2.2.3",
|
|
"redis": "4.6.12",
|
|
"secure-compare": "3.0.1",
|
|
"semver": "7.5.4",
|
|
"serve-favicon": "2.5.0",
|
|
"simple-oauth2": "5.0.0",
|
|
"throat": "6.0.2",
|
|
"tmp-promise": "3.0.3",
|
|
"validator": "13.11.0",
|
|
"walk-back": "5.1.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/cors": "2.8.17",
|
|
"@types/debug": "4.1.12",
|
|
"@types/express": "4.17.21",
|
|
"@types/express-session": "1.17.10",
|
|
"@types/jest": "29.5.11",
|
|
"@types/lodash": "4.14.202",
|
|
"@types/luxon": "3.4.0",
|
|
"@types/memory-cache": "0.2.5",
|
|
"@types/morgan": "1.9.9",
|
|
"@types/node": "20.11.0",
|
|
"@types/node-jose": "1.1.13",
|
|
"@types/object-path": "0.11.4",
|
|
"@types/passport": "1.0.16",
|
|
"@types/passport-azure-ad": "4.3.5",
|
|
"@types/passport-github": "1.1.12",
|
|
"@types/pg": "8.10.9",
|
|
"@types/pug": "2.0.10",
|
|
"@types/recursive-readdir": "2.2.4",
|
|
"@types/semver": "7.5.6",
|
|
"@types/simple-oauth2": "5.0.7",
|
|
"@types/validator": "13.11.8",
|
|
"@typescript-eslint/eslint-plugin": "6.18.1",
|
|
"@typescript-eslint/parser": "6.18.1",
|
|
"cspell": "8.3.2",
|
|
"eslint": "8.56.0",
|
|
"eslint-config-prettier": "9.1.0",
|
|
"eslint-plugin-n": "16.6.2",
|
|
"eslint-plugin-prettier": "5.1.3",
|
|
"husky": "8.0.3",
|
|
"jest": "29.7.0",
|
|
"jest-junit": "16.0.0",
|
|
"lint-staged": "15.2.0",
|
|
"markdownlint-cli2": "0.12.0",
|
|
"prettier": "3.1.1",
|
|
"ts-jest": "29.1.1",
|
|
"ts-node": "10.9.2",
|
|
"ts-prune": "0.10.3",
|
|
"typescript": "5.3.3"
|
|
},
|
|
"engines": {
|
|
"node": ">=18"
|
|
}
|
|
}
|