-
Notifications
You must be signed in to change notification settings - Fork 22
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 2e429d1
Showing
47 changed files
with
5,141 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,6 @@ | ||
[*.{js,jsx,mjs,cjs,ts,tsx,mts,cts,vue}] | ||
charset = utf-8 | ||
indent_size = 2 | ||
indent_style = space | ||
insert_final_newline = true | ||
trim_trailing_whitespace = 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,30 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
lerna-debug.log* | ||
|
||
node_modules | ||
.DS_Store | ||
dist | ||
dist-ssr | ||
coverage | ||
*.local | ||
|
||
/cypress/videos/ | ||
/cypress/screenshots/ | ||
|
||
# Editor directories and files | ||
.vscode/* | ||
!.vscode/extensions.json | ||
.idea | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw? | ||
|
||
*.tsbuildinfo |
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,8 @@ | ||
|
||
{ | ||
"$schema": "https://json.schemastore.org/prettierrc", | ||
"semi": false, | ||
"singleAttributePerLine": true, | ||
"singleQuote": true, | ||
"printWidth": 100 | ||
} |
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 @@ | ||
# sing-box-dashboard |
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 @@ | ||
/// <reference types="vite/client" /> |
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,31 @@ | ||
import pluginVue from 'eslint-plugin-vue' | ||
import vueTsEslintConfig from '@vue/eslint-config-typescript' | ||
import skipFormatting from '@vue/eslint-config-prettier/skip-formatting' | ||
|
||
export default [ | ||
{ | ||
name: 'app/files-to-lint', | ||
files: ['**/*.{ts,mts,tsx,vue}'], | ||
}, | ||
|
||
{ | ||
name: 'app/files-to-ignore', | ||
ignores: ['**/dist/**', '**/dist-ssr/**', '**/coverage/**'], | ||
}, | ||
|
||
...pluginVue.configs['flat/essential'], | ||
...vueTsEslintConfig({ | ||
rules: { | ||
'vue/singleline-html-element-content-newline': 'off', | ||
'vue/multiline-html-element-content-newline': 'off', | ||
'vue/max-attributes-per-line': [ | ||
'error', | ||
{ | ||
'singleline': 1, | ||
'multiline': 1 | ||
} | ||
] | ||
} | ||
}), | ||
skipFormatting, | ||
] |
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,13 @@ | ||
<!DOCTYPE html> | ||
<html lang=""> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<link rel="icon" href="/icon.svg"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<title>sing-box dashboard</title> | ||
</head> | ||
<body> | ||
<div id="app"></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,52 @@ | ||
{ | ||
"name": "sing-box-dashboard", | ||
"version": "1.0.0", | ||
"private": true, | ||
"type": "module", | ||
"scripts": { | ||
"dev": "vite", | ||
"build": "run-p type-check \"build-only {@}\" --", | ||
"preview": "vite preview", | ||
"build-only": "vite build", | ||
"type-check": "vue-tsc --build --force", | ||
"lint": "eslint . --fix", | ||
"format": "prettier --write src/" | ||
}, | ||
"dependencies": { | ||
"@heroicons/vue": "^2.1.5", | ||
"@vueuse/core": "^11.2.0", | ||
"axios": "^1.7.7", | ||
"dayjs": "^1.11.13", | ||
"lodash": "^4.17.21", | ||
"pretty-bytes": "^6.1.1", | ||
"theme-change": "^2.5.0", | ||
"uuid": "^11.0.3", | ||
"vue": "^3.5.12", | ||
"vue-i18n": "^10.0.4", | ||
"vue-json-pretty": "^2.4.0", | ||
"vue-router": "^4.4.5" | ||
}, | ||
"devDependencies": { | ||
"@tsconfig/node22": "^22.0.0", | ||
"@types/lodash": "^4.17.13", | ||
"@types/node": "^22.9.0", | ||
"@vitejs/plugin-vue": "^5.1.4", | ||
"@vitejs/plugin-vue-jsx": "^4.0.1", | ||
"@vue/eslint-config-prettier": "^10.1.0", | ||
"@vue/eslint-config-typescript": "^14.1.3", | ||
"@vue/tsconfig": "^0.5.1", | ||
"autoprefixer": "^10.4.20", | ||
"daisyui": "^4.12.14", | ||
"eslint": "^9.14.0", | ||
"eslint-plugin-vue": "^9.30.0", | ||
"npm-run-all2": "^7.0.1", | ||
"postcss": "^8.4.48", | ||
"prettier": "^3.3.3", | ||
"tailwind-merge": "^2.5.4", | ||
"tailwindcss": "^3.4.14", | ||
"typescript": "~5.6.3", | ||
"vite": "^5.4.10", | ||
"vite-plugin-vue-devtools": "^7.5.4", | ||
"vue-tsc": "^2.1.10" | ||
} | ||
} |
Oops, something went wrong.