145 lines
4.9 KiB
JSON
145 lines
4.9 KiB
JSON
{
|
|
"name": "@microsoft/teamsapp-cli",
|
|
"version": "3.0.2",
|
|
"author": "Microsoft Corporation",
|
|
"description": "",
|
|
"license": "MIT",
|
|
"engines": {
|
|
"node": ">=12"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/OfficeDev/TeamsFx.git"
|
|
},
|
|
"scripts": {
|
|
"copy-files": "copyfiles -u 1 src/**/*.html src/**/*.css lib/",
|
|
"build": "rimraf lib && tsc -p ./ && npm run copy-files",
|
|
"watch": "rimraf lib && npm run copy-files && tsc -w -p ./",
|
|
"package": "rimraf lib && node --max-old-space-size=4096 node_modules/webpack/bin/webpack.js --mode production --config ./webpack.config.js",
|
|
"prepack": "npm run package",
|
|
"test:unit": "nyc --no-clean mocha \"tests/unit/**/*.tests.ts\" ",
|
|
"test:helper": "nyc --no-clean mocha \"tests/unit/helper.tests.ts\" ",
|
|
"test:engine": "nyc --no-clean mocha \"tests/unit/engine.tests.ts\" ",
|
|
"test:cmds": "nyc --no-clean mocha \"tests/unit/cmds/**/*.tests.ts\" ",
|
|
"test:commands": "nyc --no-clean mocha \"tests/unit/commands.tests.ts\" ",
|
|
"test:telemetry": "nyc --no-clean mocha \"tests/unit/telemetry.tests.ts\" ",
|
|
"test:prompts": "nyc --no-clean mocha \"tests/unit/prompts/**/*.tests.ts\" ",
|
|
"check-format": "prettier --list-different --config .prettierrc.json --ignore-path .prettierignore \"{src,tests}/**/*.ts\" \"*.{js,json}\"",
|
|
"format": "prettier --write --config .prettierrc.json --ignore-path .prettierignore \"{src,tests}/**/*.ts\" \"*.{js,json}\"",
|
|
"lint:fix": "eslint \"src/**/*.ts\" \"tests/**/*.ts\" --fix",
|
|
"lint": "eslint \"src/**/*.ts\" \"tests/**/*.ts\"",
|
|
"check-sensitive": "npx eslint --plugin 'no-secrets' --cache --ignore-pattern 'package.json' --ignore-pattern 'package-lock.json'",
|
|
"precommit": "npm run check-sensitive && lint-staged",
|
|
"postinstall": "node deletePS1.js",
|
|
"build-metrics": "npx eslint --plugin=@microsoft/eslint-plugin-teamsfx --rule=\"@microsoft/teamsfx/metrics: warn\" --ignore-pattern=\"src/telemetry/**/*.ts\" --ignore-pattern=\"src/cmds/**/*.ts\" \"src/**/*.ts\" --fix"
|
|
},
|
|
"keywords": [
|
|
"teamsfx",
|
|
"teamsfx-cli",
|
|
"teamsapp-cli",
|
|
"teamsapp"
|
|
],
|
|
"preferGlobal": true,
|
|
"bin": {
|
|
"teamsapp": "./cli.js"
|
|
},
|
|
"aiKey": "2b2a561e-be84-4bee-b3a9-12b2a2c9e974",
|
|
"devDependencies": {
|
|
"@inquirer/testing": "^2.1.2",
|
|
"@istanbuljs/nyc-config-typescript": "^1.0.1",
|
|
"@microsoft/metrics-ts": "0.0.4",
|
|
"@types/chai": "^4.2.14",
|
|
"@types/chai-as-promised": "^7.1.3",
|
|
"@types/express": "^4.17.14",
|
|
"@types/fs-extra": "^8.0.1",
|
|
"@types/inquirer": "7.3.3",
|
|
"@types/keytar": "^4.4.2",
|
|
"@types/lodash": "^4.14.170",
|
|
"@types/mocha": "^8.0.4",
|
|
"@types/node": "^14.14.21",
|
|
"@types/semver": "^7.5.1",
|
|
"@types/sinon": "^9.0.10",
|
|
"@types/underscore": "^1.11.0",
|
|
"@types/uuid": "^8.3.0",
|
|
"@typescript-eslint/eslint-plugin": "^4.19.0",
|
|
"@typescript-eslint/parser": "^4.19.0",
|
|
"chai": "^4.2.0",
|
|
"chai-as-promised": "^7.1.1",
|
|
"copy-webpack-plugin": "^9.0.0",
|
|
"copyfiles": "^2.4.1",
|
|
"css-loader": "^5.2.5",
|
|
"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",
|
|
"html-webpack-plugin": "^5.3.1",
|
|
"lint-staged": "^10.5.4",
|
|
"mocha": "^10.2.0",
|
|
"mocked-env": "^1.3.5",
|
|
"nyc": "^15.1.0",
|
|
"prettier": "^2.4.1",
|
|
"rimraf": "^5.0.1",
|
|
"sass-loader": "^11.1.1",
|
|
"sinon": "^9.2.2",
|
|
"source-map-support": "^0.5.19",
|
|
"style-loader": "^2.0.0",
|
|
"terser-webpack-plugin": "^5.1.2",
|
|
"ts-loader": "^9.2.2",
|
|
"ts-node": "^9.1.1",
|
|
"tslib": "^2.3.1",
|
|
"typescript": "^4.3.2",
|
|
"umd-compat-loader": "^2.1.2",
|
|
"url-loader": "^4.1.1",
|
|
"uuid": "^8.3.2",
|
|
"webpack": "^5.38.1",
|
|
"webpack-cli": "^4.7.2"
|
|
},
|
|
"dependencies": {
|
|
"@azure/arm-subscriptions": "^5.0.0",
|
|
"@azure/core-auth": "^1.4.0",
|
|
"@azure/identity": "^4.1.0",
|
|
"@azure/msal-node": "^2.6.6",
|
|
"@inquirer/core": "^5.1.1",
|
|
"@inquirer/prompts": "^3.3.0",
|
|
"@inquirer/type": "^1.1.5",
|
|
"@microsoft/teamsfx-api": "0.23.1",
|
|
"@microsoft/teamsfx-core": "2.0.9",
|
|
"ansi-escapes": "^4.3.2",
|
|
"applicationinsights": "^1.8.10",
|
|
"async-mutex": "^0.3.1",
|
|
"chalk": "^4.1.0",
|
|
"cli-table3": "^0.6.3",
|
|
"dotenv": "^8.2.0",
|
|
"express": "^4.19.2",
|
|
"figures": "^3.2.0",
|
|
"fs-extra": "^9.1.0",
|
|
"inquirer": "^7.3.3",
|
|
"lodash": "^4.17.21",
|
|
"node-machine-id": "^1.1.12",
|
|
"open": "^8.2.1",
|
|
"semver": "^7.5.4",
|
|
"tree-kill": "^1.2.2",
|
|
"underscore": "^1.12.1"
|
|
},
|
|
"optionalDependencies": {
|
|
"keytar": "^7.7.0"
|
|
},
|
|
"files": [
|
|
"lib",
|
|
"resource",
|
|
"templates",
|
|
"deletePS1.js",
|
|
"cli.js"
|
|
],
|
|
"gitHead": "400fc6af9abee5c7484fd9ed406790c39889b1bc",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,jsx,css,ts,tsx}": [
|
|
"npx eslint --cache --fix --quiet"
|
|
]
|
|
}
|
|
}
|