-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 2da2822
Showing
27 changed files
with
9,452 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"extends": "@eye-socket/eslint-config-vue" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"extends": "@eye-socket/stylelint-config" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"recommendations": ["Vue.volar", "Vue.vscode-typescript-vue-plugin"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"stylelint.validate": [ | ||
"css", | ||
"less", | ||
"postcss", | ||
"scss", | ||
"html" | ||
], | ||
"eslint.enable": true, | ||
"eslint.validate": [ | ||
"javascript", | ||
"javascriptreact", | ||
"typescript", | ||
"typescriptreact", | ||
"vue", | ||
"markdown", | ||
"json", | ||
"jsonc", | ||
"json5" | ||
], | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll.eslint": true, | ||
"source.fixAll.stylelint": true, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# uni-demo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<script> | ||
var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || | ||
CSS.supports('top: constant(a)')) | ||
document.write( | ||
'<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + | ||
(coverSupport ? ', viewport-fit=cover' : '') + '" />') | ||
</script> | ||
<title></title> | ||
<!--preload-links--> | ||
<!--app-context--> | ||
</head> | ||
<body> | ||
<div id="app"><!--app-html--></div> | ||
<script type="module" src="/src/main.ts"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,90 @@ | ||
{ | ||
"name": "uni-demo", | ||
"version": "0.0.0", | ||
"author": { | ||
"name": "眼圈发黑", | ||
"email": "[email protected]" | ||
}, | ||
"scripts": { | ||
"dev:app": "uni -p app", | ||
"dev:app-android": "uni -p app-android", | ||
"dev:app-ios": "uni -p app-ios", | ||
"dev:custom": "uni -p", | ||
"dev:h5": "uni", | ||
"dev:h5:ssr": "uni --ssr", | ||
"dev:mp-alipay": "uni -p mp-alipay", | ||
"dev:mp-baidu": "uni -p mp-baidu", | ||
"dev:mp-jd": "uni -p mp-jd", | ||
"dev:mp-kuaishou": "uni -p mp-kuaishou", | ||
"dev:mp-lark": "uni -p mp-lark", | ||
"dev:mp-qq": "uni -p mp-qq", | ||
"dev:mp-toutiao": "uni -p mp-toutiao", | ||
"dev:mp-weixin": "uni -p mp-weixin", | ||
"dev:quickapp-webview": "uni -p quickapp-webview", | ||
"dev:quickapp-webview-huawei": "uni -p quickapp-webview-huawei", | ||
"dev:quickapp-webview-union": "uni -p quickapp-webview-union", | ||
"build:app": "uni build -p app", | ||
"build:app-android": "uni build -p app-android", | ||
"build:app-ios": "uni build -p app-ios", | ||
"build:custom": "uni build -p", | ||
"build:h5": "uni build", | ||
"build:h5:ssr": "uni build --ssr", | ||
"build:mp-alipay": "uni build -p mp-alipay", | ||
"build:mp-baidu": "uni build -p mp-baidu", | ||
"build:mp-jd": "uni build -p mp-jd", | ||
"build:mp-kuaishou": "uni build -p mp-kuaishou", | ||
"build:mp-lark": "uni build -p mp-lark", | ||
"build:mp-qq": "uni build -p mp-qq", | ||
"build:mp-toutiao": "uni build -p mp-toutiao", | ||
"build:mp-weixin": "uni build -p mp-weixin", | ||
"build:quickapp-webview": "uni build -p quickapp-webview", | ||
"build:quickapp-webview-huawei": "uni build -p quickapp-webview-huawei", | ||
"build:quickapp-webview-union": "uni build -p quickapp-webview-union", | ||
"type-check": "vue-tsc --noEmit", | ||
"lint": "eslint --fix", | ||
"postinstall": "npx simple-git-hooks" | ||
}, | ||
"dependencies": { | ||
"@dcloudio/uni-app": "3.0.0-alpha-3070720230316001", | ||
"@dcloudio/uni-app-plus": "3.0.0-alpha-3070720230316001", | ||
"@dcloudio/uni-components": "3.0.0-alpha-3070720230316001", | ||
"@dcloudio/uni-h5": "3.0.0-alpha-3070720230316001", | ||
"@dcloudio/uni-mp-alipay": "3.0.0-alpha-3070720230316001", | ||
"@dcloudio/uni-mp-baidu": "3.0.0-alpha-3070720230316001", | ||
"@dcloudio/uni-mp-jd": "3.0.0-alpha-3070720230316001", | ||
"@dcloudio/uni-mp-kuaishou": "3.0.0-alpha-3070720230316001", | ||
"@dcloudio/uni-mp-lark": "3.0.0-alpha-3070720230316001", | ||
"@dcloudio/uni-mp-qq": "3.0.0-alpha-3070720230316001", | ||
"@dcloudio/uni-mp-toutiao": "3.0.0-alpha-3070720230316001", | ||
"@dcloudio/uni-mp-weixin": "3.0.0-alpha-3070720230316001", | ||
"@dcloudio/uni-quickapp-webview": "3.0.0-alpha-3070720230316001", | ||
"vue": "^3.2.45", | ||
"vue-i18n": "^9.1.9" | ||
}, | ||
"devDependencies": { | ||
"@dcloudio/types": "^3.3.2", | ||
"@dcloudio/uni-automator": "3.0.0-alpha-3070720230316001", | ||
"@dcloudio/uni-cli-shared": "3.0.0-alpha-3070720230316001", | ||
"@dcloudio/uni-stacktracey": "3.0.0-alpha-3070720230316001", | ||
"@dcloudio/vite-plugin-uni": "3.0.0-alpha-3070720230316001", | ||
"@eye-socket/eslint-config-vue": "^0.0.4", | ||
"@vue/tsconfig": "^0.1.3", | ||
"chalk": "^5.2.0", | ||
"eslint": "^8.36.0", | ||
"lint-staged": "^13.2.0", | ||
"simple-git-hooks": "^2.8.1", | ||
"typescript": "^4.9.4", | ||
"vite": "4.0.4", | ||
"vue-tsc": "^1.0.24", | ||
"stylelint": "^15.3.0", | ||
"@eye-socket/stylelint-config": "^0.0.1", | ||
"prettier": "^2.8.7" | ||
}, | ||
"simple-git-hooks": { | ||
"pre-commit": "pnpm lint-staged", | ||
"commit-msg": "node scripts/verify-commit.js" | ||
}, | ||
"lint-staged": { | ||
"*.{ts,js,json,json5,vue}": "eslint --fix" | ||
} | ||
} |
Oops, something went wrong.