230 lines
10 KiB
JSON
230 lines
10 KiB
JSON
{
|
|
"name": "@microsoft/teamsfx-core",
|
|
"version": "2.0.14",
|
|
"main": "build/index.js",
|
|
"types": "build/index.d.ts",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"lint:staged": "lint-staged",
|
|
"lint": "eslint \"src/**/*.ts\" \"tests/**/*.ts\"",
|
|
"test:unit": "nyc mocha \"tests/**/*.test.ts\" ",
|
|
"test:core": "nyc mocha \"tests/core/**/*.test.ts\"",
|
|
"test:fxcore": "nyc mocha \"tests/core/FxCore.test.ts\"",
|
|
"test:common": "nyc mocha \"tests/common/**/*.test.ts\"",
|
|
"test:solution": "nyc mocha \"tests/plugins/solution/*.test.ts\"",
|
|
"test:bot": "nyc mocha \"tests/plugins/resource/bot/**/*.test.ts\"",
|
|
"test:cicd": "nyc mocha \"tests/component/feature/cicd/**/*.test.ts\"",
|
|
"test:dotnet": "nyc mocha \"tests/plugins/resource/dotnet/**/*.test.ts\"",
|
|
"test:function": "nyc mocha \"tests/plugins/resource/function/**/*.test.ts\"",
|
|
"test:frontend": "nyc mocha \"tests/plugins/resource/frontend/**/*.test.ts\"",
|
|
"test:appmanifest": "nyc mocha \"tests/component/resource/appManifest/**/*.test.ts\"",
|
|
"test:spfx": "nyc mocha \"tests/plugins/resource/spfx/**/*.test.ts\"",
|
|
"test:apim": "nyc mocha \"tests/plugins/resource/apim/**/*.test.ts\"",
|
|
"test:env-checker": "npx mocha \"tests/component/deps-checker/**/*.it.ts\"",
|
|
"test:func-checker": "npx mocha \"tests/component/deps-checker/**/funcTool.it.ts\"",
|
|
"test:node-checker": "npx mocha \"tests/component/deps-checker/**/node.it.ts\"",
|
|
"test:dotnet-checker": "npx mocha \"tests/component/deps-checker/**/dotnet.it.ts\"",
|
|
"test:component": "nyc mocha \"tests/component/**/*.test.ts\"",
|
|
"test:configManager": "nyc mocha \"tests/component/configManager/*.test.ts\"",
|
|
"test:botService": "nyc mocha \"tests/component/resource/botService/**/*.test.ts\"",
|
|
"test:hosting": "nyc mocha \"tests/common/hosting/**/*.test.ts\"",
|
|
"test:aadDriver": "nyc mocha \"tests/component/driver/aad/*.test.ts\"",
|
|
"test:apiKey": "nyc mocha \"tests/component/driver/apiKey/*.test.ts\"",
|
|
"test:oauth": "nyc mocha \"tests/component/driver/oauth/*.test.ts\"",
|
|
"test:botAadAppDriver": "nyc mocha \"tests/component/driver/botAadApp/*.test.ts\"",
|
|
"test:armDriver": "nyc mocha \"tests/component/driver/arm/*.test.ts\"",
|
|
"test:teamsAppDriver": "nyc mocha \"tests/component/driver/teamsApp/*.test.ts\"",
|
|
"test:coordinator": "nyc mocha \"tests/component/coordinator/*.test.ts\"",
|
|
"test:coordinator-create": "nyc mocha \"tests/component/coordinator/coordinator.create.test.ts\"",
|
|
"test:provisionUtil": "nyc mocha \"tests/component/provisionUtils.test.ts\"",
|
|
"test:envUtil": "nyc mocha \"tests/component/envUtil.test.ts\"",
|
|
"test:envMgr": "nyc mocha \"tests/core/environment.test.ts\"",
|
|
"test:generator": "nyc mocha \"tests/component/generator/*.test.ts\"",
|
|
"test:upgrade": "npx mocha \"tests/core/middleware/migration/*.test.ts\"",
|
|
"test:officeAddinGenerator": "nyc mocha \"tests/component/generator/officeAddinGenerator.test.ts\"",
|
|
"test:officeXMLAddinGenerator": "nyc mocha \"tests/component/generator/officeXMLAddinGenerator.test.ts\"",
|
|
"test:scriptDriver": "nyc mocha \"tests/component/driver/script/scriptDriver.test.ts\"",
|
|
"test:rghelper": "nyc mocha \"tests/component/resourceGroupHelper.test.ts\"",
|
|
"test:manifestUtil": "nyc mocha \"tests/component/resource/appManifest/manifestUtils.test.ts\"",
|
|
"test:jsonUtils": "nyc mocha \"tests/component/jsonUtils.test.ts\"",
|
|
"test:appstudio": "nyc mocha \"tests/component/resource/appManifest/appstudio.test.ts\"",
|
|
"test:apiFeature": "nyc mocha \"tests/component/feature/api.test.ts\"",
|
|
"test:spfxFeature": "nyc mocha \"tests/component/feature/spfx.test.ts\"",
|
|
"test:azureDeployImpl": "nyc mocha \"tests/component/driver/deploy/azure/AzureDeployImpl.test.ts\"",
|
|
"test:azureFuncDeploy": "nyc mocha \"tests/component/driver/deploy/azure/AzureFunctionDeployDriver.test.ts\"",
|
|
"test:devportal": "nyc mocha \"tests/component/developerPortalScaffoldUtils.test.ts\"",
|
|
"test:visitor": "nyc mocha \"tests/ui/qm.visitor.test.ts\"",
|
|
"test:validUtils": "nyc mocha \"tests/ui/validationUtils.test.ts\"",
|
|
"test:question": "nyc mocha \"tests/question/*.test.ts\"",
|
|
"test:coll": "nyc mocha \"tests/core/collaborator.test.ts\"",
|
|
"test:error": "nyc mocha \"tests/error/*.test.ts\"",
|
|
"test:cutils": "nyc mocha \"tests/component/utils.test.ts\"",
|
|
"test:globalVars": "nyc mocha \"tests/common/globalVars.test.ts\"",
|
|
"test:migration": "nyc mocha \"tests/core/middleware/migration/projectMigrationV3.test.ts\"",
|
|
"test:teamsappMgr": "nyc mocha \"tests/component/driver/teamsApp/teamsappMgr.test.ts\"",
|
|
"test:projcheck": "nyc mocha \"tests/common/projectTypeChecker.test.ts\"",
|
|
"test:telemetry": "nyc mocha \"tests/common/telemetry.test.ts\"",
|
|
"test:stringUtils": "nyc mocha \"tests/common/stringUtils.test.ts\"",
|
|
"test:generatorUtils": "nyc mocha \"tests/component/generatorUtils.test.ts\"",
|
|
"test:spfxGenerator": "nyc mocha \"tests/component/generator/spfxGenerator.test.ts\"",
|
|
"test:copilotGenerator": "nyc mocha \"tests/component/generator/copilotGenerator.test.ts\"",
|
|
"test:tdpClient": "nyc mocha \"tests/client/tdpClient.test.ts\"",
|
|
"test:secretMasker": "nyc mocha \"tests/common/secretMasker.test.ts\"",
|
|
"clean": "rm -rf build",
|
|
"prebuild": "npm run gen:cli",
|
|
"build": "tsc -p ./ --incremental",
|
|
"lint:fix": "eslint --fix \"src/**/*.ts\" \"tests/**/*.ts\"",
|
|
"prepublishOnly": "npm run build",
|
|
"package": "rimraf build && webpack --mode production --config ./webpack.config.js",
|
|
"check-sensitive": "npx eslint --plugin 'no-secrets' --cache --ignore-pattern 'package.json' --ignore-pattern 'package-lock.json'",
|
|
"precommit": "npm run check-sensitive && lint-staged",
|
|
"install:tabs": "cd tabs && npm install",
|
|
"installAll": "npm run install:tabs",
|
|
"checkUnusedStrings": "node ./scripts/find-unused-strings.js ./resource/package.nls.json ./src || exit 1",
|
|
"clean:strings": "node ./scripts/delete-unused-strings.js ./resource/package.nls.json ./src",
|
|
"gen:cli": "npx tsx ./src/question/generator.ts && npx prettier --write \"src/question/options/*.ts\" && npx prettier --write \"src/question/inputs/*.ts\""
|
|
},
|
|
"dependencies": {
|
|
"@apidevtools/swagger-parser": "^10.1.0",
|
|
"@azure/arm-appservice": "^13.0.0",
|
|
"@azure/arm-resources": "~5.0.1",
|
|
"@azure/arm-storage": "^17.2.1",
|
|
"@azure/arm-subscriptions": "^5.0.0",
|
|
"@azure/core-auth": "^1.4.0",
|
|
"@azure/identity": "^4.1.0",
|
|
"@azure/msal-node": "^2.6.6",
|
|
"@azure/storage-blob": "^12.25.0",
|
|
"@feathersjs/hooks": "^0.6.5",
|
|
"@microsoft/dev-tunnels-contracts": "1.1.9",
|
|
"@microsoft/dev-tunnels-management": "1.1.9",
|
|
"@microsoft/m365-spec-parser": "^0.2.5",
|
|
"@microsoft/teamsfx-api": "0.23.4",
|
|
"adm-zip": "^0.5.10",
|
|
"ajv": "^8.5.0",
|
|
"axios": "^1.7.5",
|
|
"axios-retry": "^3.3.1",
|
|
"comment-json": "^4.2.3",
|
|
"cryptr": "^6.0.2",
|
|
"deep-diff": "^1.0.2",
|
|
"detect-port": "^1.3.0",
|
|
"dotenv": "^8.2.0",
|
|
"form-data": "^4.0.0",
|
|
"fs-extra": "^9.1.0",
|
|
"glob": "^7.1.6",
|
|
"handlebars": "^4.7.7",
|
|
"iconv-lite": "^0.6.3",
|
|
"ignore": "^5.1.8",
|
|
"js-base64": "^3.6.0",
|
|
"js-yaml": "^4.0.0",
|
|
"jsonschema": "^1.4.0",
|
|
"klaw": "^3.0.0",
|
|
"md5": "^2.3.0",
|
|
"mime": "^2.5.2",
|
|
"mustache": "^4.1.0",
|
|
"node-fetch": "2.7.0",
|
|
"node-forge": "^1.3.1",
|
|
"office-addin-manifest": "^1.13.5",
|
|
"office-addin-project": "^1.0.0",
|
|
"openapi-types": "^7.2.3",
|
|
"proper-lockfile": "^4.1.2",
|
|
"read-package-json-fast": "^2.0.3",
|
|
"reflect-metadata": "^0.1.13",
|
|
"semver": "^7.5.2",
|
|
"shell-quote": "^1.8.1",
|
|
"strip-bom": "^4.0.0",
|
|
"swagger2openapi": "^7.0.8",
|
|
"typedi": "^0.10.0",
|
|
"uuid": "^8.3.2",
|
|
"validator": "^13.7.0",
|
|
"xml2js": "^0.5.0",
|
|
"yaml": "^2.2.2"
|
|
},
|
|
"devDependencies": {
|
|
"@azure/storage-blob": "^12.5.0",
|
|
"@istanbuljs/nyc-config-typescript": "^1.0.1",
|
|
"@types/adm-zip": "^0.5.5",
|
|
"@types/chai": "^4.2.14",
|
|
"@types/chai-as-promised": "^7.1.3",
|
|
"@types/chai-spies": "^1.0.3",
|
|
"@types/cryptr": "^4.0.1",
|
|
"@types/deep-diff": "^1.0.5",
|
|
"@types/detect-port": "^1.3.2",
|
|
"@types/faker": "^5.5.0",
|
|
"@types/fs-extra": "^9.0.9",
|
|
"@types/glob": "^7.1.3",
|
|
"@types/js-yaml": "^4.0.0",
|
|
"@types/klaw": "^3.0.1",
|
|
"@types/lodash": "4.14.117",
|
|
"@types/md5": "^2.3.0",
|
|
"@types/mime": "^2.0.3",
|
|
"@types/mocha": "^8.2.1",
|
|
"@types/mock-fs": "^4.13.1",
|
|
"@types/mustache": "^4.1.1",
|
|
"@types/node": "^14.14.21",
|
|
"@types/node-fetch": "^2.6.9",
|
|
"@types/node-forge": "^0.9.7",
|
|
"@types/proper-lockfile": "4.1.1",
|
|
"@types/proxyquire": "^1.3.28",
|
|
"@types/rewire": "^2.5.28",
|
|
"@types/semver": "^7.3.4",
|
|
"@types/shell-quote": "^1.7.5",
|
|
"@types/sinon": "^9.0.10",
|
|
"@types/swagger2openapi": "7.0.0",
|
|
"@types/tmp": "^0.2.0",
|
|
"@types/unzipper": "^0.10.5",
|
|
"@types/url-parse": "^1.4.3",
|
|
"@types/uuid": "^8.3.0",
|
|
"@types/validator": "^13.1.1",
|
|
"@types/xml2js": "^0.4.11",
|
|
"@typescript-eslint/eslint-plugin": "^4.19.0",
|
|
"@typescript-eslint/parser": "^4.19.0",
|
|
"ahocorasick": "^1.0.2",
|
|
"axios-mock-adapter": "^1.20.0",
|
|
"chai": "^4.2.0",
|
|
"chai-as-promised": "^7.1.1",
|
|
"chai-spies": "^1.0.0",
|
|
"copy-webpack-plugin": "^6.4.1",
|
|
"dotenv": "^8.2.0",
|
|
"eslint": "^7.29.0",
|
|
"eslint-plugin-header": "^3.1.1",
|
|
"eslint-plugin-import": "^2.25.2",
|
|
"eslint-plugin-no-secrets": "^0.8.9",
|
|
"eslint-plugin-prettier": "^4.0.0",
|
|
"faker": "^5.5.2",
|
|
"find-process": "^1.4.4",
|
|
"lint-staged": "^10.5.4",
|
|
"lodash": "^4.17.21",
|
|
"mocha": "^10.2.0",
|
|
"mock-fs": "5.2.0",
|
|
"mocked-env": "^1.3.5",
|
|
"nyc": "^15.1.0",
|
|
"prettier": "^2.4.1",
|
|
"proxyquire": "^2.1.3",
|
|
"rewire": "^6.0.0",
|
|
"rimraf": "^5.0.1",
|
|
"sinon": "^9.2.2",
|
|
"source-map-support": "^0.5.19",
|
|
"tmp": "^0.2.1",
|
|
"ts-loader": "^8.0.3",
|
|
"ts-morph": "^19.0.0",
|
|
"ts-node": "^10.9.2",
|
|
"tslib": "^2.3.1",
|
|
"typescript": "4.7.4",
|
|
"webpack": "^5.61.0"
|
|
},
|
|
"files": [
|
|
"build/**/*",
|
|
"resource/**/*",
|
|
"templates/**/*"
|
|
],
|
|
"gitHead": "a1986c931c6f320dbe14fd56e46fe64a7e9560f5",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,jsx,css,ts,tsx}": [
|
|
"npx eslint --cache --fix --quiet"
|
|
]
|
|
}
|
|
}
|