Skip to content

Commit

Permalink
fix(obo): fix cli preview error in obo template (#10357)
Browse files Browse the repository at this point in the history
  • Loading branch information
KennethBWSong authored Nov 14, 2023
1 parent 2117a23 commit c764117
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion templates/js/sso-tab-with-obo-flow/package.json.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,13 @@
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@types/react-router-dom": "^5.3.3",
"concurrently": "^8.2.2",
"env-cmd": "^10.1.0"
},
"scripts": {
"dev:teamsfx": "env-cmd --silent -f .localConfigs npm run start",
"dev:teamsfx": "concurrently \"npm run start:tab\" \"npm run start:api\"",
"start:tab": "env-cmd --silent -f .localConfigs npm run start",
"start:api": "cd api && npm run dev:teamsfx",
"start": "react-scripts start",
"build": "react-scripts build",
"test": "echo \"Error: no test specified\" && exit 1",
Expand Down
5 changes: 4 additions & 1 deletion templates/ts/sso-tab-with-obo-flow/package.json.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,14 @@
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"@types/react-router-dom": "^5.3.3",
"concurrently": "^8.2.2",
"env-cmd": "^10.1.0",
"typescript": "^4.1.2"
},
"scripts": {
"dev:teamsfx": "env-cmd --silent -f .localConfigs npm run start",
"dev:teamsfx": "concurrently \"npm run start:tab\" \"npm run start:api\"",
"start:tab": "env-cmd --silent -f .localConfigs npm run start",
"start:api": "cd api && npm run build && npm run dev:teamsfx",
"start": "react-scripts start",
"build": "react-scripts build",
"test": "echo \"Error: no test specified\" && exit 1",
Expand Down

0 comments on commit c764117

Please sign in to comment.