Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Couple of build improvements and better PWA support #15

Open
wants to merge 14 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/ui/index.html → index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@
<title>DigiView - Web</title>
<meta name="description" content="View your digital FPV in your browser!">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="manifest" href="manifest.json" />
</head>

<body>
<div id="app"></div>
<script type="module" src="./src/ui/main.js"></script>
</body>
</html>
36 changes: 12 additions & 24 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,35 +4,23 @@
"main": "index.js",
"license": "MIT",
"scripts": {
"build": "webpack",
"serve": "webpack serve --mode=development --host 0.0.0.0"
},
"devDependencies": {
"@tsconfig/node14": "^1.0.0",
"@types/jmuxer": "^2.0.0",
"@types/w3c-web-usb": "^1.0.4",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.3.1",
"jmuxer": "^2.0.1",
"node-sass": "^6.0.0",
"sass-loader": "^11.1.1",
"stream-browserify": "^3.0.0",
"ts-loader": "^9.1.2",
"typescript": "^4.2.4",
"vue-loader": "^15.9.7",
"vue-template-compiler": "^2.6.12",
"webpack": "^5.37.0",
"webpack-cli": "^4.7.0",
"webpack-dev-server": "^3.11.2"
"serve": "vite --host 0.0.0.0",
"build": "vite build",
"preview": "vite preview",
"predeploy": "npm run build",
"deploy": "npx gh-pages -d dist",
"vis": "npx vite-bundle-visualizer"
},
"dependencies": {
"@jamescoyle/vue-icon": "^0.1.0",
"@mdi/js": "^5.9.55",
"buffer": "^6.0.3",
"css-loader": "^5.2.4",
"vue": "^2.6.12",
"vue-material": "^1.0.0-beta-15",
"vue-router": "^3.5.1",
"vue-style-loader": "^4.1.3"
"jmuxer": "^2.0.1"
},
"devDependencies": {
"@vitejs/plugin-vue2": "^2.2.0",
"sass": "^1.60.0",
"vite": "^4.2.1"
}
}
Loading