改进MCP发布体验:URL媒体下载、内容限制校验、发布返回笔记链接、新增查看已发布笔记工具;整合发布入口至小红书页面modal;端口统一改为9527;新增pnpm run restart脚本
This commit is contained in:
+4
-3
@@ -9,10 +9,11 @@
|
||||
},
|
||||
"scripts": {
|
||||
"build": "tsup",
|
||||
"build:web": "cd web && npm run build && mkdir -p ../dist/web && cp -r dist/* ../dist/web/",
|
||||
"build:all": "rm -rf dist/index.js dist/index.js.map && npm run build && npm run build:web",
|
||||
"build:web": "cd web && pnpm build && mkdir -p ../dist/web && cp -r dist/* ../dist/web/",
|
||||
"build:all": "pnpm build && pnpm build:web",
|
||||
"restart": "pnpm build:all && pkill -f 'node dist/index.js' ; sleep 1 && node dist/index.js &",
|
||||
"dev": "tsup --watch",
|
||||
"dev:web": "cd web && npm run dev",
|
||||
"dev:web": "cd web && pnpm dev",
|
||||
"start": "node dist/index.js",
|
||||
"test": "vitest run",
|
||||
"test:watch": "vitest",
|
||||
|
||||
Reference in New Issue
Block a user