Skip to content

Commit cbe68db

Browse files
committed
app: 💻 vite swc react typescript app
boilerplate code
0 parents  commit cbe68db

File tree

18 files changed

+3302
-0
lines changed

18 files changed

+3302
-0
lines changed

‎.eslintignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*-lock.yaml

‎.eslintrc.json‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"es2021": true
5+
},
6+
"extends": ["plugin:react/recommended", "standard-with-typescript"],
7+
"overrides": [],
8+
"parserOptions": {
9+
"ecmaVersion": "latest",
10+
"sourceType": "module"
11+
},
12+
"plugins": ["react"],
13+
"rules": {}
14+
}

‎.gitignore‎

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
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+
dist
12+
dist-ssr
13+
*.local
14+
15+
# Editor directories and files
16+
.vscode/*
17+
!.vscode/extensions.json
18+
!.vscode/settings.json
19+
.idea
20+
.DS_Store
21+
*.suo
22+
*.ntvs*
23+
*.njsproj
24+
*.sln
25+
*.sw?

‎.prettierignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*-lock.yaml

‎.vscode/settings.json‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"editor.defaultFormatter": "esbenp.prettier-vscode",
3+
"editor.tabSize": 2,
4+
"files.exclude": {
5+
"**/.git": false,
6+
"**/.svn": true,
7+
"**/.hg": true,
8+
"**/CVS": true,
9+
"**/.DS_Store": true,
10+
"**/Thumbs.db": true
11+
},
12+
"files.eol": "\n"
13+
}

‎index.html‎

Lines changed: 13 additions & 0 deletions
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" type="image/svg+xml" href="/vite.svg" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
<title>Md Irshad - 💫 Software Developer</title>
8+
</head>
9+
<body>
10+
<div id="root" />
11+
<script type="module" src="/src/main.tsx"></script>
12+
</body>
13+
</html>

‎package.json‎

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"name": "mdirshaddev.github.io",
3+
"private": true,
4+
"version": "0.0.0",
5+
"type": "module",
6+
"scripts": {
7+
"dev": "vite",
8+
"build": "tsc && vite build",
9+
"preview": "vite preview"
10+
},
11+
"dependencies": {
12+
"react": "^18.2.0",
13+
"react-dom": "^18.2.0"
14+
},
15+
"devDependencies": {
16+
"@types/react": "^18.0.27",
17+
"@types/react-dom": "^18.0.10",
18+
"@typescript-eslint/eslint-plugin": "^5.0.0",
19+
"@vitejs/plugin-react-swc": "^3.0.0",
20+
"eslint": "^8.0.1",
21+
"eslint-config-standard-with-typescript": "^34.0.0",
22+
"eslint-plugin-import": "^2.25.2",
23+
"eslint-plugin-n": "^15.0.0",
24+
"eslint-plugin-promise": "^6.0.0",
25+
"eslint-plugin-react": "^7.32.2",
26+
"prettier": "^2.8.4",
27+
"typescript": "^4.9.5",
28+
"vite": "^4.1.0"
29+
}
30+
}

0 commit comments

Comments
 (0)