commit
eedb83c3f8
10 changed files with 2700 additions and 0 deletions
@ -0,0 +1,10 @@
|
||||
{ |
||||
"permissions": { |
||||
"allow": [ |
||||
"Bash(npm create *)", |
||||
"Bash(npm install *)", |
||||
"Bash(npm run *)", |
||||
"Bash(pkill -f \"vite\")" |
||||
] |
||||
} |
||||
} |
||||
@ -0,0 +1,13 @@
|
||||
<!DOCTYPE html> |
||||
<html lang="zh-CN"> |
||||
<head> |
||||
<meta charset="UTF-8"> |
||||
<link rel="icon" href="/favicon.ico"> |
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
||||
<title>音频检测系统</title> |
||||
</head> |
||||
<body> |
||||
<div id="app"></div> |
||||
<script type="module" src="/src/main.ts"></script> |
||||
</body> |
||||
</html> |
||||
@ -0,0 +1,22 @@
|
||||
{ |
||||
"name": "voiceprint", |
||||
"version": "1.0.0", |
||||
"private": true, |
||||
"type": "module", |
||||
"scripts": { |
||||
"dev": "vite", |
||||
"build": "vue-tsc && vite build", |
||||
"preview": "vite preview" |
||||
}, |
||||
"dependencies": { |
||||
"vue": "^3.4.0", |
||||
"wavesurfer.js": "^7.7.0", |
||||
"echarts": "^5.4.3" |
||||
}, |
||||
"devDependencies": { |
||||
"@vitejs/plugin-vue": "^5.0.0", |
||||
"typescript": "^5.3.0", |
||||
"vite": "^5.0.0", |
||||
"vue-tsc": "^1.8.0" |
||||
} |
||||
} |
||||
@ -0,0 +1,4 @@
|
||||
import { createApp } from 'vue' |
||||
import App from './App.vue' |
||||
|
||||
createApp(App).mount('#app') |
||||
@ -0,0 +1,21 @@
|
||||
{ |
||||
"compilerOptions": { |
||||
"target": "ES2020", |
||||
"useDefineForClassFields": true, |
||||
"module": "ESNext", |
||||
"lib": ["ES2020", "DOM", "DOM.Iterable"], |
||||
"skipLibCheck": true, |
||||
"moduleResolution": "bundler", |
||||
"allowImportingTsExtensions": true, |
||||
"resolveJsonModule": true, |
||||
"isolatedModules": true, |
||||
"noEmit": true, |
||||
"jsx": "preserve", |
||||
"strict": true, |
||||
"noUnusedLocals": true, |
||||
"noUnusedParameters": true, |
||||
"noFallthroughCasesInSwitch": true |
||||
}, |
||||
"include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue"], |
||||
"references": [{ "path": "./tsconfig.node.json" }] |
||||
} |
||||
@ -0,0 +1,10 @@
|
||||
{ |
||||
"compilerOptions": { |
||||
"composite": true, |
||||
"skipLibCheck": true, |
||||
"module": "ESNext", |
||||
"moduleResolution": "bundler", |
||||
"allowSyntheticDefaultImports": true |
||||
}, |
||||
"include": ["vite.config.ts"] |
||||
} |
||||
Loading…
Reference in new issue