ci: 持续集成

This commit is contained in:
佚名程序员 2023-03-08 10:48:51 +08:00
parent d5848bdb76
commit 8366605068
3 changed files with 21 additions and 23 deletions

View File

@ -8,6 +8,7 @@
/src/static /src/static
/src/manifest.json /src/manifest.json
/vite.config.ts /vite.config.ts
/unocss.config.js
# node 覆盖率文件 # node 覆盖率文件
coverage/ coverage/

View File

@ -1,7 +1,6 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="zh"> <html lang="zh">
<head>
<head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<script> <script>
var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)')); var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)'));
@ -14,11 +13,10 @@
<title></title> <title></title>
<!--preload-links--> <!--preload-links-->
<!--app-context--> <!--app-context-->
</head> </head>
<body> <body>
<div id="app"><!--app-html--></div> <div id="app"><!--app-html--></div>
<script type="module" src="/src/main.ts"></script> <script type="module" src="/src/main.ts"></script>
</body> </body>
</html> </html>

View File

@ -31,7 +31,7 @@
"build:quickapp-webview-huawei": "uni build -p quickapp-webview-huawei", "build:quickapp-webview-huawei": "uni build -p quickapp-webview-huawei",
"build:quickapp-webview-union": "uni build -p quickapp-webview-union", "build:quickapp-webview-union": "uni build -p quickapp-webview-union",
"lint": "eslint --cache --max-warnings 0 \"src/**/*.{vue,ts}\" --fix", "lint": "eslint --cache --max-warnings 0 \"src/**/*.{vue,ts}\" --fix",
"format": "prettier --write \"src/**/*.{js,ts,json,css,scss,vue}\"", "format": "prettier --write src/",
"prepare": "husky install" "prepare": "husky install"
}, },
"dependencies": { "dependencies": {
@ -87,7 +87,6 @@
"typescript": "^4.9.5", "typescript": "^4.9.5",
"unocss": "^0.46.5", "unocss": "^0.46.5",
"unocss-preset-weapp": "^0.2.5", "unocss-preset-weapp": "^0.2.5",
"unplugin-vue-components": "^0.22.12",
"vite": "^4.1.4" "vite": "^4.1.4"
}, },
"husky": { "husky": {