wy 09bcd3299a 项目设置 | il y a 1 an | |
---|---|---|
.vscode | il y a 1 an | |
src | il y a 1 an | |
.drone.yml | il y a 1 an | |
.editorconfig | il y a 1 an | |
.env.development | il y a 1 an | |
.env.production | il y a 1 an | |
.gitignore | il y a 1 an | |
Dockerfile | il y a 1 an | |
README.md | il y a 1 an | |
babel.config.js | il y a 1 an | |
default.conf | il y a 1 an | |
jsconfig.json | il y a 1 an | |
package.json | il y a 1 an | |
postcss.config.js | il y a 1 an | |
vue.config.js | il y a 1 an |
# install dependency
npm install
# develop
npm run dev
node websocket-relay.js video1 8081 8082
# build for test environment
npm run build:stage
# build for production environment
npm run build:prod
# preview the release environment effect
npm run preview
# preview the release environment effect + static resource analysis
npm run preview -- --report
# code format check
npm run lint
# code format check and auto fix
npm run lint -- --fix