208583e14c
- tool-catalog 最前插入「常用工具」组(brand_common_tools,23 工具·4 大分类), 三工具各自权限键:pricing-calc / five-asin / keyword-share - /pricing-calc:站点(英 GBP÷9、德法 EUR÷8)+ 买货价/运费 → 营业额/利润/ 利润率/换算汇率,公式与精度照抄桌面版,纯函数 node --test 钉住 - /five-asin:五国常量 + ASIN 10 位校验 → 亚马逊商品链接,window.open 与 :href 出口全部过 safeHttpUrl(url-outlet 棘轮),邮编一键复制 - /keyword-share:筛选/四级类目级联/统计卡/表格分页 200/标记与取消使用/ 添加/删除/随机抽词/共享记录,对接 keywordshare 后端九端点 - 顶栏与 BrandTopBar 导航同步;router 注册三路由;补 test:mount 脚本 (vitest mount 套件入口,与后管同口径)
32 lines
819 B
JSON
32 lines
819 B
JSON
{
|
|
"name": "crawler-plugin-frontend-vue",
|
|
"private": true,
|
|
"version": "0.0.1",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite --host --port 5173",
|
|
"build": "vue-tsc --noEmit && vite build",
|
|
"preview": "vite preview",
|
|
"test": "node --test --test-force-exit --test-timeout=180000 tests/*.test.ts",
|
|
"test:mount": "vitest run"
|
|
},
|
|
"dependencies": {
|
|
"axios": "^1.13.6",
|
|
"element-plus": "^2.11.4",
|
|
"vue": "^3.5.18",
|
|
"vue-router": "^4.5.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^24.3.0",
|
|
"@vitejs/plugin-vue": "^6.0.1",
|
|
"@vue/test-utils": "^2.5.1",
|
|
"happy-dom": "^20.14.6",
|
|
"typescript": "^5.9.2",
|
|
"unplugin-auto-import": "^20.1.0",
|
|
"unplugin-vue-components": "^29.0.0",
|
|
"vite": "^7.1.3",
|
|
"vitest": "^5.0.3",
|
|
"vue-tsc": "^3.0.6"
|
|
}
|
|
}
|