1df53323d0
- fix: release.yml typecheck 脚本名 compile → typecheck(发版阻断 bug) - perf: CI 测试改用 test:coverage 生成覆盖率报告 - refactor: Release 复用 CI 工作流(workflow_call),消除重复 Job - feat: Release 新增 Firefox/Chrome zip 产物验证步骤 - fix: 补全 lint-staged 配置,修复 pre-commit hook 失效问题 - feat: 添加 Dependabot 自动依赖更新配置
79 lines
2.2 KiB
JSON
79 lines
2.2 KiB
JSON
{
|
|
"name": "testing-tools",
|
|
"description": "A browser extension providing useful testing tools including timestamp conversion and storage management",
|
|
"private": false,
|
|
"version": "1.0.0",
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "wxt",
|
|
"dev:firefox": "wxt -b firefox",
|
|
"build": "wxt build",
|
|
"build:firefox": "wxt build -b firefox",
|
|
"zip": "wxt zip",
|
|
"zip:firefox": "wxt zip -b firefox",
|
|
"postinstall": "wxt prepare",
|
|
"prepare": "husky",
|
|
"lint": "eslint . --max-warnings=0",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"test:coverage": "vitest run --coverage",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"lint-staged": {
|
|
"*.{ts,tsx}": [
|
|
"eslint --fix",
|
|
"prettier --write"
|
|
],
|
|
"*.{json,md,yml,yaml,css}": [
|
|
"prettier --write"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@dnd-kit/core": "^6.3.1",
|
|
"@dnd-kit/sortable": "^10.0.0",
|
|
"@dnd-kit/utilities": "^3.2.2",
|
|
"@emotion/react": "^11.14.0",
|
|
"@emotion/styled": "^11.14.1",
|
|
"@mui/icons-material": "^7.3.8",
|
|
"@mui/material": "^7.3.8",
|
|
"@types/marked": "^5.0.2",
|
|
"@webext-core/messaging": "^2.3.0",
|
|
"dayjs": "^1.11.19",
|
|
"i18next": "^26.0.8",
|
|
"i18next-browser-languagedetector": "^8.2.1",
|
|
"marked": "^18.0.3",
|
|
"qr-scanner": "^1.4.2",
|
|
"qrious": "^4.0.2",
|
|
"react": "^19.2.3",
|
|
"react-dom": "^19.2.3",
|
|
"react-i18next": "^17.0.6"
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/jest-dom": "^6.6.0",
|
|
"@testing-library/react": "^16.0.0",
|
|
"@testing-library/user-event": "^14.5.2",
|
|
"@types/chrome": "^0.1.36",
|
|
"@types/react": "^19.2.7",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@types/webextension-polyfill": "^0.12.4",
|
|
"@typescript-eslint/eslint-plugin": "^8.54.0",
|
|
"@typescript-eslint/parser": "^8.54.0",
|
|
"@vitejs/plugin-react": "^4.3.4",
|
|
"@wxt-dev/module-react": "^1.1.5",
|
|
"eslint": "^9.39.2",
|
|
"eslint-plugin-react": "^7.37.5",
|
|
"eslint-plugin-react-hooks": "^7.0.1",
|
|
"globals": "^17.2.0",
|
|
"husky": "^9.1.7",
|
|
"jsdom": "^25.0.0",
|
|
"lint-staged": "^16.2.7",
|
|
"prettier": "^3.8.1",
|
|
"terser": "^5.46.0",
|
|
"typescript": "^5.9.3",
|
|
"typescript-eslint": "^8.54.0",
|
|
"vitest": "^2.0.0",
|
|
"wxt": "^0.20.6"
|
|
}
|
|
}
|