From 3b12717ecffd016171b4d7145c6de242ae6f4887 Mon Sep 17 00:00:00 2001 From: Anwer AR Date: Mon, 26 Aug 2024 12:33:19 +0500 Subject: [PATCH] Updates deploy files --- package-lock.json | 4 ++-- package.json | 7 +++++-- vite.config.js | 3 ++- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index b6e3b7e..9d2c582 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "checkout-web-sdk-code-demo", - "version": "0.0.0", + "version": "1.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "checkout-web-sdk-code-demo", - "version": "0.0.0", + "version": "1.0.0", "dependencies": { "@payoneer/checkout-web": "^1.1.0", "prop-types": "^15.8.1", diff --git a/package.json b/package.json index 518dda6..5eccb1b 100644 --- a/package.json +++ b/package.json @@ -1,13 +1,16 @@ { "name": "checkout-web-sdk-code-demo", "private": true, - "version": "0.0.0", + "version": "1.0.0", "type": "module", + "homepage": "https://optile.github.io/checkout-web-sdk-code-demo", "scripts": { "dev": "vite", "build": "vite build", "lint": "eslint .", - "preview": "vite preview" + "preview": "vite preview", + "predeploy": "npm run build", + "deploy": "gh-pages -d dist" }, "dependencies": { "@payoneer/checkout-web": "^1.1.0", diff --git a/vite.config.js b/vite.config.js index 335126d..19378fd 100644 --- a/vite.config.js +++ b/vite.config.js @@ -6,5 +6,6 @@ export default defineConfig({ plugins: [react()], server: { port: 3000 - } + }, + base: "/checkout-web-sdk-code-demo/" })