Skip to content

Commit 93f6137

Browse files
committed
refact, remove Chinese hardcode, fix comple,still have bugs
1 parent 2e83ddc commit 93f6137

File tree

12 files changed

+15968
-87
lines changed

12 files changed

+15968
-87
lines changed

README.md

Lines changed: 93 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,93 @@
1-
# 极简番茄钟
2-
dev版本自动部署在https://pomometer.0xff.workers.dev/
3-
# finished
4-
5-
* 设置里添加时间修改的选项
6-
* 添加一个简单的todo list
7-
* 添加一个操作日志
8-
# todo
9-
* 添加网络同步功能
10-
* 添加邮箱登录功能
11-
* add build version base on git on the footer
1+
# Pomometer - A Modern Pomodoro Timer with Todo List
2+
3+
Pomometer is a feature-rich Pomodoro timer application built with React and TypeScript. It combines time management with task tracking to help you stay productive using the Pomodoro Technique.
4+
5+
## Features
6+
7+
- 🍅 Pomodoro Timer with customizable work/break durations
8+
- ✅ Todo list management
9+
- 📝 Operation logs tracking
10+
- 🔊 Audio notifications
11+
- 🌐 Internationalization support
12+
- 📱 Responsive design
13+
- 🎨 Modern UI with Ant Design and Bulma
14+
15+
## Tech Stack
16+
17+
- React 17
18+
- TypeScript
19+
- Redux Toolkit for state management
20+
- Ant Design & Bulma for UI components
21+
- React Intl for internationalization
22+
- Sentry for error tracking
23+
- Google Analytics integration
24+
25+
## Getting Started
26+
27+
### Prerequisites
28+
29+
- Node.js (v14 or higher)
30+
- npm or pnpm
31+
32+
### Installation
33+
34+
1. Clone the repository:
35+
```bash
36+
git clone https://github.com/yourusername/pomometer.git
37+
cd pomometer
38+
```
39+
40+
2. Install dependencies:
41+
```bash
42+
npm install
43+
# or
44+
pnpm install
45+
```
46+
47+
3. Start the development server:
48+
```bash
49+
npm start
50+
# or
51+
pnpm start
52+
```
53+
54+
The application will be available at `http://localhost:3000`
55+
56+
### Available Scripts
57+
58+
- `npm start` - Runs the app in development mode
59+
- `npm build` - Builds the app for production
60+
- `npm test` - Runs the test suite
61+
- `npm run extract` - Extracts internationalization messages
62+
- `npm run compile` - Compiles internationalization messages
63+
- `npm run prettier` - Formats code using Prettier
64+
- `npm run deploy` - Deploys the application
65+
66+
## Project Structure
67+
68+
```
69+
src/
70+
├── componments/ # React components
71+
├── locales/ # Internationalization files
72+
├── App.tsx # Main application component
73+
├── App.css # Main styles
74+
└── util.ts # Utility functions
75+
```
76+
77+
## Contributing
78+
79+
1. Fork the repository
80+
2. Create your feature branch (`git checkout -b feature/AmazingFeature`)
81+
3. Commit your changes (`git commit -m 'Add some AmazingFeature'`)
82+
4. Push to the branch (`git push origin feature/AmazingFeature`)
83+
5. Open a Pull Request
84+
85+
## License
86+
87+
This project is licensed under the MIT License - see the LICENSE file for details.
88+
89+
## Acknowledgments
90+
91+
- Built with React and TypeScript
92+
- UI components from Ant Design and Bulma
93+
- Icons from Font Awesome

package.json

Lines changed: 21 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "0.2.3",
44
"private": true,
55
"dependencies": {
6-
"@formatjs/cli": "^4.2.33",
6+
"@ant-design/icons": "^6.0.0",
77
"@formatjs/intl-pluralrules": "^3.2.4",
88
"@formatjs/intl-relativetimeformat": "^9.2.2",
99
"@fortawesome/fontawesome-svg-core": "^6.1.1",
@@ -13,23 +13,11 @@
1313
"@reduxjs/toolkit": "^1.6.1",
1414
"@sentry/react": "^7.5.1",
1515
"@sentry/tracing": "^7.5.1",
16-
"@testing-library/jest-dom": "^5.16.1",
17-
"@testing-library/react": "^12.1.2",
18-
"@testing-library/user-event": "^13.5.0",
19-
"@types/jest": "^27.0.3",
20-
"@types/node": "^16.11.17",
21-
"@types/ramda": "^0.27.62",
22-
"@types/react": "^17.0.38",
23-
"@types/react-dom": "^17.0.11",
24-
"@types/react-infinite-scroller": "^1.2.2",
25-
"@types/uuid": "^8.3.3",
2616
"antd": "^4.16.13",
2717
"bulma": "^0.9.4",
28-
"bulma-start": "^0.0.3",
29-
"caniuse-lite": "^1.0.30001363",
18+
"bulma-start": "^0.0.5",
3019
"classnames": "^2.2.6",
3120
"date-fns": "^2.27.0",
32-
"dotenv": "^16.0.0",
3321
"nanoid": "2.0.0",
3422
"prop-types": "^15.7.2",
3523
"ramda": "^0.27.1",
@@ -42,9 +30,6 @@
4230
"react-scripts": "5.0.0",
4331
"redux": "^4.1.1",
4432
"redux-devtools-extension": "^2.13.8",
45-
"rsync": "^0.6.1",
46-
"semver": "^7.3.7",
47-
"typescript": "^4.5.4",
4833
"uuid": "^8.3.2"
4934
},
5035
"scripts": {
@@ -72,11 +57,29 @@
7257
]
7358
},
7459
"devDependencies": {
60+
"@formatjs/cli": "^4.2.33",
61+
"@testing-library/jest-dom": "^5.16.1",
62+
"@testing-library/react": "^12.1.2",
63+
"@testing-library/user-event": "^13.5.0",
64+
"@types/jest": "^27.0.3",
65+
"@types/node": "^16.11.17",
66+
"@types/prop-types": "^15.7.14",
67+
"@types/ramda": "^0.27.62",
68+
"@types/react": "^17.0.38",
69+
"@types/react-dom": "^17.0.11",
70+
"@types/react-infinite-scroller": "^1.2.2",
71+
"@types/react-redux": "^7.1.34",
72+
"@types/uuid": "^8.3.3",
73+
"caniuse-lite": "^1.0.30001363",
74+
"dotenv": "^16.0.0",
7575
"eslint": "^7.32.0",
7676
"prettier": "^2.3.2",
7777
"release-it": "^15.1.1",
78+
"rsync": "^0.6.1",
79+
"semver": "^7.3.7",
7880
"source-map-loader": "^3.0.0",
7981
"ts-jest": "^27.0.7",
80-
"ts-loader": "^9.2.6"
82+
"ts-loader": "^9.2.6",
83+
"typescript": "^4.5.4"
8184
}
8285
}

0 commit comments

Comments
 (0)