chore: update for 2023

main
Ayush Mukherjee 1 year ago
parent 4a221a890a
commit e55b6e949e

34611
package-lock.json generated

File diff suppressed because it is too large Load Diff

@ -14,27 +14,26 @@
}, },
"main": "background.js", "main": "background.js",
"dependencies": { "dependencies": {
"@tailwindcss/postcss7-compat": "^2.0.2",
"@vue/devtools": "^6.0.0-beta.6", "@vue/devtools": "^6.0.0-beta.6",
"autoprefixer": "^9", "autoprefixer": "^10",
"axios": "^0.21.1", "axios": "^1",
"core-js": "^3.6.5", "core-js": "^3.6.5",
"postcss": "^7", "postcss": "^8",
"tailwindcss": "npm:@tailwindcss/postcss7-compat@^2.0.2", "tailwindcss": "3.3.5",
"vue": "^3.0.0", "vue": "^3.0.0",
"vue-router": "^4.0.0-0", "vue-router": "^4.0.0-0",
"ws": "^6.2.1" "ws": "^8"
}, },
"devDependencies": { "devDependencies": {
"@vue/cli-plugin-babel": "~4.5.0", "@vue/cli-plugin-babel": "~5",
"@vue/cli-plugin-router": "~4.5.0", "@vue/cli-plugin-router": "~5",
"@vue/cli-service": "~4.5.0", "@vue/cli-service": "~5",
"@vue/compiler-sfc": "^3.0.0", "@vue/compiler-sfc": "^3.0.0",
"electron": "^11.0.0", "electron": "^27.0.4",
"electron-devtools-installer": "^3.1.0", "electron-devtools-installer": "^3.1.0",
"sass": "^1.26.5", "sass": "^1.26.5",
"sass-loader": "^8.0.2", "sass-loader": "^13",
"vue-cli-plugin-electron-builder": "~2.0.0-rc.6", "vue-cli-plugin-electron-builder": "~2",
"vue-cli-plugin-tailwind": "~2.0.6" "vue-cli-plugin-tailwind": "~3"
} }
} }

@ -1,3 +1,7 @@
import { ipcRenderer } from 'electron' import { contextBridge, ipcRenderer } from 'electron'
contextBridge.exposeInMainWorld('ipcRenderer', {
invoke: (a, b = null) => ipcRenderer.invoke(a, b),
on: (a, b = null) => ipcRenderer.on(a, b),
})
window.ipcRenderer = ipcRenderer

@ -4,7 +4,7 @@ import { handleMsg, sendSub } from './utils/websocket'
const token = window.localStorage.getItem('token') const token = window.localStorage.getItem('token')
const server = 'slap.aplesports.com:5000' const server = 'nuke.aplesports.com:5000'
const state = reactive({ const state = reactive({
name: '', name: '',

Loading…
Cancel
Save