Skip to content

Commit de0eacc

Browse files
committed
chore: update readme
1 parent 83f3628 commit de0eacc

File tree

9 files changed

+45
-15
lines changed

9 files changed

+45
-15
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
### Base
22

3-
⚛️ This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
3+
Typescript template project
44

55
### Build
66

7-
⚛️ react-scripts https://github.com/facebook/create-react-app/tree/master/packages/react-scripts
7+
⚡️ Vite https://vitejs.dev/guide/features.html
88

99
### Linting
1010

index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />
5-
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
5+
<link rel="icon" type="image/svg+xml" href="/world.svg" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7-
<title>Vite + React + TS</title>
7+
<title>Hello World</title>
88
</head>
99
<body>
1010
<div id="root"></div>

package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,13 @@
3131
"vitest": "^1.2.2"
3232
},
3333
"scripts": {
34-
"dev": "vite",
34+
"start": "vite",
3535
"build": "tsc && vite build",
36-
"test": "vitest",
37-
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
3836
"preview": "vite preview",
37+
"test": "vitest run",
38+
"test:ui": "vitest --ui",
39+
"test:watch": "vitest",
40+
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
3941
"version:bump": "semantic-release --extends=./.releaserc.json"
4042
},
4143
"browserslist": {

public/vite.svg

Lines changed: 0 additions & 1 deletion
This file was deleted.

public/world.svg

Lines changed: 35 additions & 0 deletions
Loading

src/App/App.css

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,10 @@
33
}
44

55
.App-header {
6-
background-color: #282c34;
76
min-height: 100vh;
87
display: flex;
98
flex-direction: column;
109
align-items: center;
1110
justify-content: center;
1211
font-size: calc(10px + 2vmin);
13-
color: white;
1412
}

src/App/index.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ export default function App() {
55
<div className="App">
66
<header className="App-header">
77
<h1>Hello World</h1>
8-
testin...
98
</header>
109
</div>
1110
);

vitest-setup.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
// learn more: https://github.com/testing-library/jest-dom#with-vitest
22
import '@testing-library/jest-dom/vitest';
3-
// import 'vitest';

vitest.config.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
import { defineConfig } from 'vite';
2-
import react from '@vitejs/plugin-react';
32

43
// https://vitejs.dev/config/
54
export default defineConfig({
6-
plugins: [react()],
75
test: {
86
setupFiles: ['./vitest-setup.ts'],
97
globals: true,
10-
environment: 'happy-dom',
8+
environment: 'jsdom',
119
},
1210
});

0 commit comments

Comments
 (0)