bumps-webview-client
v0.1.20
Published
This is the Javascript + HTML client for the webview interface in Bumps
Downloads
127
Readme
bumps-webview-client
This is the Javascript + HTML client for the webview interface in Bumps
Starting the server
python -m bumps.webview.server
Recommended IDE Setup
VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).
Customize configuration
See Vite Configuration Reference.
Project Setup
npm install
Compile and Hot-Reload for Development
npm run dev
Compile and Minify
This will create a new folder ./dist/<client version>/
and build the client there,
with a unique tag in the name (suitable for local testing), e.g. ./dist/<client version>/assets/index.BaQLi6ia.js
npm run build
Compile for publishing to NPM
This will create a new folder ./dist/<client version>/
and build the client
with reproducible artifact names, e.g. ./dist/<client version>/assets/index.js
(suitable for packaging and publishing to NPM)
npm run build_prod
Publishing new client versions:
(...after checking to make sure there aren't extraneous files in this folder)
npm version patch
npm publish
and then
git commit package.json -m "webview client version bump"
git pull
git push