-
-
Notifications
You must be signed in to change notification settings - Fork 252
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d6d65ec
commit a9b0850
Showing
16 changed files
with
1,485 additions
and
11,528 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<!doctype html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<link rel="icon" type="image/svg+xml" href="/vite.svg" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Vite + React + TS</title> | ||
</head> | ||
<body> | ||
<div id="root"></div> | ||
<script type="module" src="/src/main.tsx"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,30 +1,26 @@ | ||
{ | ||
"name": "valtio-todo-example", | ||
"version": "1.0.0", | ||
"dependencies": { | ||
"@types/react": "^17.0.3", | ||
"@types/react-dom": "^17.0.2", | ||
"react": "^17.0.1", | ||
"react-dom": "^17.0.1", | ||
"valtio": "^1.0.0" | ||
}, | ||
"devDependencies": { | ||
"react-scripts": "^4.0.3", | ||
"typescript": "^4.2.3" | ||
}, | ||
"name": "counter", | ||
"private": true, | ||
"version": "0.0.0", | ||
"type": "module", | ||
"scripts": { | ||
"start": "SKIP_PREFLIGHT_CHECK=true react-scripts start", | ||
"build": "react-scripts build", | ||
"test": "react-scripts test --env=jsdom", | ||
"eject": "react-scripts eject" | ||
"dev": "vite", | ||
"build": "tsc -b && vite build", | ||
"lint": "eslint .", | ||
"preview": "vite preview" | ||
}, | ||
"eslintConfig": { | ||
"root": true | ||
"dependencies": { | ||
"prismjs": "^1.23.0", | ||
"react": "^18.3.1", | ||
"react-dom": "^18.3.1", | ||
"react-prism": "^4.3.2", | ||
"valtio": "^2.0.0" | ||
}, | ||
"browserslist": [ | ||
">0.2%", | ||
"not dead", | ||
"not ie <= 11", | ||
"not op_mini all" | ||
] | ||
"devDependencies": { | ||
"@types/react": "^18.3.3", | ||
"@types/react-dom": "^18.3.0", | ||
"@vitejs/plugin-react": "^4.3.1", | ||
"typescript": "^5.5.3", | ||
"vite": "^5.4.1" | ||
} | ||
} |
Oops, something went wrong.