diff --git a/docs/nx-firebase-targets.md b/docs/nx-firebase-targets.md index 474269a..fc42e6e 100644 --- a/docs/nx-firebase-targets.md +++ b/docs/nx-firebase-targets.md @@ -73,7 +73,7 @@ Starts the firebase emulator: "executor": "nx:run-commands", "options": { "commands": [ - "node -e 'setTimeout(()=>{},5000)'", + "node -e \"setTimeout(()=>{},5000)\"", "kill-port --port 9099,5001,8080,9000,5000,8085,9199,9299,4000,4400,4500", "firebase functions:config:get --config firebase.functions.json --project my-project > dist/functions/.runtimeconfig.json", "firebase emulators:start --config firebase.json" @@ -90,7 +90,7 @@ Starts the firebase emulator: "executor": "@nrwl/workspace:run-commands", "options": { "commands": [ - "node -e 'setTimeout(()=>{},5000)'", + "node -e \"setTimeout(()=>{},5000)\"", "kill-port --port 9099,5001,8080,9000,5000,8085,9199,9299,4000,4400,4500", "firebase functions:config:get --config firebase.functions.json --project my-project > dist/functions/.runtimeconfig.json", "firebase emulators:start --config firebase.json" diff --git a/packages/nx-firebase/src/generators/application/lib/add-project.ts b/packages/nx-firebase/src/generators/application/lib/add-project.ts index a8add6a..f27f6f5 100644 --- a/packages/nx-firebase/src/generators/application/lib/add-project.ts +++ b/packages/nx-firebase/src/generators/application/lib/add-project.ts @@ -83,7 +83,7 @@ export function getEmulateTarget( executor: getRunCommandsExecutor(), options: { commands: [ - `node -e 'setTimeout(()=>{},5000)'`, + `node -e \"setTimeout(()=>{},5000)\"`, `kill-port --port 9099,5001,8080,9000,5000,8085,9199,9299,4000,4400,4500`, `firebase functions:config:get ${getFirebaseConfig( options,