Skip to content

Commit 892737d

Browse files
committed
feat: init
0 parents  commit 892737d

25 files changed

+13099
-0
lines changed

.eslintrc.cjs

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/* eslint-env node */
2+
require('@rushstack/eslint-patch/modern-module-resolution')
3+
4+
module.exports = {
5+
root: true,
6+
'extends': [
7+
'plugin:vue/vue3-essential',
8+
'eslint:recommended',
9+
'@vue/eslint-config-typescript',
10+
'@vue/eslint-config-prettier/skip-formatting'
11+
],
12+
parserOptions: {
13+
ecmaVersion: 'latest'
14+
}
15+
}

.gitignore

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
pnpm-debug.log*
8+
lerna-debug.log*
9+
10+
node_modules
11+
.DS_Store
12+
dist
13+
dist-ssr
14+
coverage
15+
*.local
16+
17+
/cypress/videos/
18+
/cypress/screenshots/
19+
20+
# Editor directories and files
21+
.vscode/*
22+
!.vscode/extensions.json
23+
.idea
24+
*.suo
25+
*.ntvs*
26+
*.njsproj
27+
*.sln
28+
*.sw?
29+
30+
.secret.yaml
31+
laf-code/

.prettierrc.json

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"$schema": "https://json.schemastore.org/prettierrc",
3+
"semi": false,
4+
"tabWidth": 2,
5+
"singleQuote": true,
6+
"printWidth": 100,
7+
"trailingComma": "none"
8+
}

.vscode/extensions.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"recommendations": ["Vue.volar", "Vue.vscode-typescript-vue-plugin"]
3+
}

README.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# podcast-preview
2+
3+
```text
4+
WEBVTT
5+
6+
7+
```
8+
9+
正则匹配
10+
11+
(\d{2}),(\d{3})
12+
$1.$2

env.d.ts

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/// <reference types="vite/client" />

index.html

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<link rel="icon" href="/favicon.ico" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
<title>Web Worker 播客抢先试听</title>
8+
</head>
9+
<body>
10+
<div id="app"></div>
11+
<script type="module" src="/src/main.ts"></script>
12+
</body>
13+
</html>

laf.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
name: china-webworker
2+
appid: bh5nzo
3+
createdAt: 2023-05-19T15:21:19.314Z
4+
invokeUrl: https://bh5nzo.laf.run

package.json

+42
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"name": "preview-podcast",
3+
"version": "0.0.1",
4+
"private": true,
5+
"scripts": {
6+
"dev": "vite",
7+
"build": "run-p type-check build-only",
8+
"preview": "vite preview",
9+
"build-only": "vite build",
10+
"type-check": "vue-tsc --noEmit -p tsconfig.app.json --composite false",
11+
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",
12+
"format": "prettier --write src/",
13+
"publish": "laf storage push bh5nzo-preview-podcast dist",
14+
"pub": "laf storage push bh5nzo-preview-podcast dist"
15+
},
16+
"dependencies": {
17+
"@vime/core": "^5.4.0",
18+
"@vime/vue-next": "^5.4.0",
19+
"laf-client-sdk": "1.0.0-beta.8",
20+
"vue": "^3.3.2"
21+
},
22+
"devDependencies": {
23+
"@rushstack/eslint-patch": "^1.2.0",
24+
"@tsconfig/node18": "^2.0.1",
25+
"@types/node": "^18.16.8",
26+
"@vitejs/plugin-vue": "^4.2.3",
27+
"@vue/eslint-config-prettier": "^7.1.0",
28+
"@vue/eslint-config-typescript": "^11.0.3",
29+
"@vue/tsconfig": "^0.4.0",
30+
"autoprefixer": "^10.4.14",
31+
"cssnano": "^6.0.1",
32+
"eslint": "^8.39.0",
33+
"eslint-plugin-vue": "^9.11.0",
34+
"npm-run-all": "^4.1.5",
35+
"postcss": "^8.4.23",
36+
"prettier": "^2.8.8",
37+
"tailwindcss": "^3.3.2",
38+
"typescript": "~5.0.4",
39+
"vite": "^4.3.5",
40+
"vue-tsc": "^1.6.4"
41+
}
42+
}

0 commit comments

Comments
 (0)