Skip to content

Commit

Permalink
[JS] chore: samples fix support for Teams App Test tool (#1993)
Browse files Browse the repository at this point in the history
#minor Following #1941
  • Loading branch information
Benjiiim committed Sep 11, 2024
1 parent 2c9dc20 commit 1ea51d3
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
5 changes: 4 additions & 1 deletion js/samples/01.getting-started/a.echoBot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@
"start": "tsc --build && node ./lib/index.js",
"test": "echo \"Error: no test specified\" && exit 1",
"watch": "nodemon --watch ./src -e ts --exec \"yarn start\"",
"dev:teamsfx": "nodemon --exec node --inspect=9239 --signal SIGINT -r ts-node/register ./src/index.ts"
"dev:teamsfx": "env-cmd --silent -f .localConfigs npm run dev",
"dev:teamsfx:testtool": "env-cmd --silent -f .localConfigs.testTool npm run dev",
"dev:teamsfx:launch-testtool": "env-cmd --silent -f env/.env.testtool teamsapptester start",
"dev": "nodemon --exec node --inspect=9239 --signal SIGINT -r ts-node/register ./src/index.ts"
},
"repository": {
"type": "git",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@
"start": "tsc --build && node ./lib/index.js",
"test": "echo \"Error: no test specified\" && exit 1",
"watch": "nodemon --watch ./src -e ts --exec \"yarn start\"",
"dev:teamsfx": "nodemon --exec node --inspect=9239 --signal SIGINT -r ts-node/register ./src/index.ts"
"dev:teamsfx": "env-cmd --silent -f .localConfigs npm run dev",
"dev:teamsfx:testtool": "env-cmd --silent -f .localConfigs.testTool npm run dev",
"dev:teamsfx:launch-testtool": "env-cmd --silent -f env/.env.testtool teamsapptester start",
"dev": "nodemon --exec node --inspect=9239 --signal SIGINT -r ts-node/register ./src/index.ts"
},
"repository": {
"type": "git",
Expand Down
8 changes: 5 additions & 3 deletions js/samples/04.ai-apps/a.teamsChefBot/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,16 @@
"license": "MIT",
"main": "./lib/index.js",
"scripts": {
"dev:teamsfx": "npm run dev",
"dev": "nodemon --watch ./src --exec node --inspect=9239 --signal SIGINT -r ts-node/register ./src/index.ts",
"build": "tsc --build",
"clean": "rimraf node_modules lib",
"lint": "eslint **/src/**/*.{j,t}s{,x} --fix --no-error-on-unmatched-pattern",
"start": "tsc --build && node ./lib/index.js",
"test": "echo \"Error: no test specified\" && exit 1",
"watch": "nodemon --watch ./src -e ts --exec \"npm start\""
"watch": "nodemon --watch ./src -e ts --exec \"npm start\"",
"dev:teamsfx": "env-cmd --silent -f .localConfigs npm run dev",
"dev:teamsfx:testtool": "env-cmd --silent -f .localConfigs.testTool npm run dev",
"dev:teamsfx:launch-testtool": "env-cmd --silent -f env/.env.testtool teamsapptester start",
"dev": "nodemon --exec node --inspect=9239 --signal SIGINT -r ts-node/register ./src/index.ts"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 1ea51d3

Please sign in to comment.