Skip to content

Commit

Permalink
Basic project structure
Browse files Browse the repository at this point in the history
  • Loading branch information
phlmn committed Oct 7, 2023
0 parents commit a132eab
Show file tree
Hide file tree
Showing 19 changed files with 6,582 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"env": {
"browser": true,
"es6": true,
"node": true
},
"plugins": ["react", "@typescript-eslint"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:import/recommended",
"plugin:import/typescript",
"plugin:react/recommended",
"plugin:react/jsx-runtime",
"prettier"
],
"parser": "@typescript-eslint/parser",
"rules": {
"@typescript-eslint/no-unused-vars": [
1,
{ "varsIgnorePattern": "^_", "argsIgnorePattern": "^_" }
],
"import/no-default-export": 1
},
"settings": {
"react": {
"version": "detect"
}
}
}
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# npm
node_modules

# vite
/dist

# typescript
*.tsbuildinfo

public/LICENSES.md
5 changes: 5 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"printWidth": 100,
"trailingComma": "all",
"singleQuote": true
}
17 changes: 17 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>transcribee 🐝</title>
<link rel="stylesheet" href="/src/index.css" />
<link rel="stylesheet" href="/node_modules/@fontsource/inter/latin.css" />

<link rel="icon" href="/favicon.ico" sizes="48x48">
<link rel="icon" href="/favicon.svg" sizes="any" type="image/svg+xml">
</head>
<body class="dark:bg-neutral-900 dark:text-white">
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>
68 changes: 68 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
{
"name": "transcribee-website",
"version": "0.1.0",
"scripts": {
"dev": "vite",
"build": "npm-run-all --continue-on-error build:*",
"build:vite": "vite build",
"preview": "vite preview",
"format": "prettier -w 'src/**/*.(ts|tsx)'",
"check": "npm-run-all --continue-on-error check:*",
"check:tsc": "tsc --noEmit --incremental",
"check:eslint": "eslint --max-warnings 0 --ext .ts,.tsx .",
"check:format": "prettier --check 'src/**/*.(ts|tsx)'",
"test": "jest",
"update": "npm-check -u"
},
"author": "transcribee team <[email protected]>",
"maintainers": [
"anuejn <[email protected]>",
"pajowu <[email protected]>",
"phlmn <[email protected]>",
"vup <[email protected]>"
],
"repository": {
"type": "git",
"url": "https://github.com/bugbakery/transcribee-website"
},
"license": "AGPL-3.0-only",
"devDependencies": {
"@jest/globals": "^29.7.0",
"@types/react": "^18.2.25",
"@types/react-dom": "^18.2.11",
"@types/react-helmet": "^6.1.7",
"@types/wavesurfer.js": "^6.0.8",
"@typescript-eslint/eslint-plugin": "^6.7.4",
"@typescript-eslint/parser": "^6.7.4",
"autoprefixer": "^10.4.16",
"eslint": "^8.51.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-react": "^7.33.2",
"favicons": "^7.1.4",
"jest": "^29.7.0",
"mime-types": "^2.1.35",
"npm-check": "^6.0.1",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.31",
"prettier": "^3.0.3",
"ts-jest": "^29.1.1",
"typescript": "^5.2.2",
"vite": "^4.4.11"
},
"dependencies": {
"@fontsource/inter": "^5.0.12",
"@tailwindcss/forms": "^0.5.6",
"@tailwindcss/typography": "^0.5.10",
"clsx": "^2.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-helmet": "^6.1.0",
"react-icons": "^4.11.0",
"tailwindcss": "^3.3.3",
"wouter": "^2.12.0"
},
"jest": {
"preset": "ts-jest"
}
}
Loading

0 comments on commit a132eab

Please sign in to comment.