chore(project): 初始化 React 项目并更新依赖配置
- 将项目从 Chrome 扩展模板迁移到 Create React App - 移除原有的 Chrome 扩展相关文件(background.js、content.js、manifest.json) - 删除旧的开发指南 DEVELOPMENT.md - 更新 package-lock.json 以支持 React 开发环境 - 替换 .gitignore 文件内容为标准 React 项目忽略规则 - 移除所有原有的图标资源文件(images/*.png) - 更新 README.md 为 Create React App 标准文档 - 添加 React、React DOM、React Router 等核心依赖 - 配置测试库(@testing-library)及相关工具 - 设置 web-vitals 性能监控依赖
This commit is contained in:
+17
-17
@@ -1,23 +1,23 @@
|
||||
# Dependencies
|
||||
node_modules/
|
||||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
|
||||
|
||||
# Build outputs
|
||||
dist/
|
||||
# dependencies
|
||||
/node_modules
|
||||
/.pnp
|
||||
.pnp.js
|
||||
|
||||
# Environment variables
|
||||
.env
|
||||
# testing
|
||||
/coverage
|
||||
|
||||
# IDE files
|
||||
.vscode/
|
||||
.idea/
|
||||
# production
|
||||
/build
|
||||
|
||||
# OS generated files
|
||||
# misc
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
.env.local
|
||||
.env.development.local
|
||||
.env.test.local
|
||||
.env.production.local
|
||||
|
||||
# Log files
|
||||
*.log
|
||||
|
||||
# Package files
|
||||
*.zip
|
||||
*.tar.gz
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
|
||||
Reference in New Issue
Block a user