Noah Petherbridge
e728644a77
This commit makes an initial port of the front-end over to a proper Vue CLI application. It seems to work from surface level testing. Changes made: * Rename web/static to public/static to place it into the Vue build path * Notes: web/static/js/BareRTC.js and web/templates/chat.html are now deprecated * Rename web/static/js/sounds.js into src/lib/sounds.js making it a proper JavaScript module with exports. * Fill out initial src/App.vue by copying and updating web/templates/chat.html and web/static/js/BareRTC.js into this module.
22 lines
499 B
JSON
22 lines
499 B
JSON
{
|
|
"name": "barertc",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "vite build",
|
|
"watch": "vite build -w --sourcemap=true --minify=false",
|
|
"preview": "vite preview",
|
|
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs --fix --ignore-path .gitignore"
|
|
},
|
|
"dependencies": {
|
|
"vue": "^3.3.4"
|
|
},
|
|
"devDependencies": {
|
|
"@vitejs/plugin-vue": "^4.3.1",
|
|
"eslint": "^8.46.0",
|
|
"eslint-plugin-vue": "^9.16.1",
|
|
"vite": "^4.4.9"
|
|
}
|
|
}
|