Skip to content

Commit

Permalink
todo
Browse files Browse the repository at this point in the history
  • Loading branch information
Aslemammad committed Sep 27, 2024
1 parent d6d65ec commit a9b0850
Show file tree
Hide file tree
Showing 16 changed files with 1,485 additions and 11,528 deletions.
21 changes: 0 additions & 21 deletions examples/todo/README.md

This file was deleted.

13 changes: 13 additions & 0 deletions examples/todo/index.html
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>
46 changes: 21 additions & 25 deletions examples/todo/package.json
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"
}
}
Loading

0 comments on commit a9b0850

Please sign in to comment.