diff --git a/README.md b/README.md index 6053389..71cecb3 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ before use. npm install ``` -#### Starts Firebase emulator for local testing +#### Compiles, hot-reloads, and starts Firebase emulators ``` npm run serve @@ -41,7 +41,7 @@ npm run build npm run lint ``` -#### Deploys to Firebase +#### Builds and deploys to Firebase ``` npm run deploy diff --git a/package-lock.json b/package-lock.json index faf0ccb..55788b6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "mysite", - "version": "0.1.0", + "version": "2.0.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "mysite", - "version": "0.1.0", + "version": "2.0.1", "dependencies": { "bootstrap": "^5.1.3", "bootswatch": "^5.1.3", diff --git a/package.json b/package.json index 0094f63..06564d7 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,16 @@ { "name": "mysite", - "version": "2.0.0", + "version": "2.0.1", "private": true, "scripts": { - "serve": "firebase emulators:start", + "serve": "npm run build:dev && (npm run build:watch & npm run serve:firebase)", + "serve:firebase": "firebase emulators:start", "build": "vue-cli-service build", + "build:dev": "vue-cli-service build --mode development", + "build:watch": "vue-cli-service build --mode development --watch --no-clean", "lint": "vue-cli-service lint", - "deploy": "firebase deploy" + "deploy": "npm run build && npm run deploy:firebase", + "deploy:firebase": "firebase deploy" }, "dependencies": { "bootstrap": "^5.1.3", diff --git a/src/components/ContactForm.vue b/src/components/ContactForm.vue index 946e7e5..f7810b9 100644 --- a/src/components/ContactForm.vue +++ b/src/components/ContactForm.vue @@ -53,8 +53,9 @@