Skip to content
This repository has been archived by the owner on Mar 12, 2024. It is now read-only.

Commit

Permalink
feat: init
Browse files Browse the repository at this point in the history
  • Loading branch information
flytam committed Mar 25, 2023
0 parents commit 04a6fce
Show file tree
Hide file tree
Showing 33 changed files with 3,343 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx pretty-quick --staged
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## utool 剪切板

> 特点: 复刻官方,完全开源+免费
![](./showcase.png)

施工中...
13 changes: 13 additions & 0 deletions 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>
44 changes: 44 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"name": "utool-clipboard",
"private": true,
"version": "0.0.0",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"dev:preload": "npm run build:preload -- --watch",
"build:preload": "tsc -p tsconfig.preload.json",
"preview": "vite preview",
"prepare": "husky install"
},
"dependencies": {
"@emotion/react": "^11.10.6",
"@emotion/styled": "^11.10.6",
"@mui/icons-material": "^5.11.11",
"@mui/material": "^5.11.13",
"ahooks": "^3.7.5",
"axios": "^1.3.4",
"clipboard-event": "^1.6.0",
"dayjs": "^1.11.7",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"vconsole": "^3.15.0"
},
"devDependencies": {
"@types/fs-extra": "^11.0.1",
"@types/node": "^18.15.3",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11",
"@vitejs/plugin-react-swc": "^3.0.0",
"autoprefixer": "^10.4.14",
"electron": "^23.1.4",
"fs-extra": "^11.1.0",
"husky": "^8.0.0",
"postcss": "^8.4.21",
"prettier": "^2.8.4",
"pretty-quick": "^3.1.3",
"tailwindcss": "^3.2.7",
"typescript": "^4.9.3",
"utools-api-types": "^3.0.0",
"vite": "^4.2.0"
}
}
Loading

0 comments on commit 04a6fce

Please sign in to comment.