-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
41 lines (41 loc) · 1.89 KB
/
package.json
File metadata and controls
41 lines (41 loc) · 1.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
"name": "@memtensor/memos-api-mcp",
"version": "1.0.22",
"type": "module",
"bin": {
"memos-api-mcp": "build/index.js"
},
"scripts": {
"build": "rm -rf build && tsc",
"postbuild": "echo '#!/usr/bin/env node' | cat - build/index.js > build/index.tmp && mv build/index.tmp build/index.js",
"build-win": "node -e \"require('fs').rmSync('build', {recursive:true, force:true})\" && tsc",
"postbuild-win": "node -e \"const fs=require('fs');const p='build/index.js';if(fs.existsSync(p)){const c=fs.readFileSync(p,'utf8');fs.writeFileSync(p,'#!/usr/bin/env node\\n'+c);}\"",
"dev": "tsx src/index.ts",
"start": "node build/index.js",
"inspect": "npx @modelcontextprotocol/inspector node build/index.js",
"publish-beta": "npm run build && npm publish --tag beta",
"publish-beta-win": "npm run build-win && npm publish --tag beta",
"publish-beta-patch": "npm run build && npm version prepatch --preid=beta && npm publish --tag beta",
"publish-beta-patch-win": "npm run build-win && npm version prepatch --preid=beta && npm publish --tag beta",
"publish-latest": "npm run build && npm version $(node -p \"require('./package.json').version.split('-')[0]\") && npm publish",
"publish-latest-win": "npm run build-win && node -e \"require('child_process').execSync('npm version ' + require('./package.json').version.split('-')[0], { stdio: 'inherit' })\" && npm publish",
"publish-latest-patch": "npm run build && npm version patch && npm publish",
"publish-latest-patch-win": "npm run build-win && npm version patch && npm publish"
},
"engines": {
"node": ">=18"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.0.0",
"dayjs": "^1.11.18",
"express": "^4.19.2",
"ts-md5": "^2.0.1",
"uuid": "^13.0.0",
"zod": "^3.23.8"
},
"devDependencies": {
"@types/node": "^24.9.1",
"tsx": "^4.16.0",
"typescript": "^5.6.3"
}
}