@round2ai/r2-cli 1.0.3 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,23 +1,16 @@
1
1
  {
2
2
  "name": "@round2ai/r2-cli",
3
- "version": "1.0.3",
3
+ "version": "1.0.5",
4
4
  "description": "R2-CLI,向 AI 开放二手潮奢交易全链路能力",
5
- "main": "dist/index.js",
6
- "types": "dist/index.d.ts",
5
+ "main": "dist/r2-cli.js",
7
6
  "type": "module",
8
7
  "bin": {
9
- "r2": "./dist/index.js"
8
+ "r2-cli": "./dist/r2-cli.js"
10
9
  },
11
- "files": [
12
- "dist",
13
- "package.json",
14
- "README.md"
15
- ],
16
10
  "scripts": {
17
- "build": "node scripts/build.js",
18
- "build:prod": "cross-env R2_API_URL=https://api.puresnake.com node scripts/build.js",
19
- "dev": "nodemon --exec ts-node src/index.ts",
20
- "publish:prod": "npm run build:prod && npm publish"
11
+ "build": "cross-env NODE_ENV=development node scripts/build.js",
12
+ "build:prod": "cross-env NODE_ENV=production node scripts/build.js",
13
+ "dev": "node scripts/dev.js"
21
14
  },
22
15
  "keywords": [
23
16
  "round2ai",
@@ -28,28 +21,35 @@
28
21
  "luxury",
29
22
  "second-hand"
30
23
  ],
24
+ "files": [
25
+ "dist",
26
+ ".claude/skills/r2-cli-0.1.0",
27
+ "package.json",
28
+ "README.md"
29
+ ],
31
30
  "author": "Round2AI - PURESNAKE Team",
32
31
  "license": "MIT",
32
+ "engines": {
33
+ "node": ">=18.0.0"
34
+ },
33
35
  "repository": "https://github.com/Round2AI/r2-cli",
34
36
  "dependencies": {
37
+ "@inquirer/prompts": "^8.4.2",
35
38
  "chalk": "^5.3.0",
36
39
  "commander": "^14.0.3",
37
40
  "figlet": "^1.11.0",
38
- "fs-extra": "^11.3.4",
39
- "inquirer": "^9.2.19",
40
- "mammoth": "^1.12.0",
41
- "open": "^11.0.0",
42
- "qrcode-terminal": "^0.12.0"
41
+ "ink": "^7.0.0",
42
+ "ora": "^9.3.0",
43
+ "qrcode": "^1.5.4",
44
+ "react": "^19.2.5"
43
45
  },
44
46
  "devDependencies": {
45
- "@types/fs-extra": "^11.0.4",
46
- "@types/inquirer": "^9.0.7",
47
47
  "@types/node": "^25.5.2",
48
- "@types/open": "^6.1.0",
49
- "@types/qrcode-terminal": "^0.12.2",
48
+ "@types/qrcode": "^1.5.6",
49
+ "@types/react": "^19.2.14",
50
50
  "cross-env": "^10.1.0",
51
+ "dotenv": "^17.4.2",
51
52
  "esbuild": "^0.28.0",
52
- "ts-node": "^10.9.2",
53
53
  "typescript": "^6.0.2"
54
54
  }
55
55
  }