Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
136 lines (136 loc) · 7.91 KB
/
Copy pathpackage.json
File metadata and controls
136 lines (136 loc) · 7.91 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
{
"name": "browsercli",
"version": "2.0.3",
"description": "JavaScript reverse engineering and debugging",
"type": "module",
"bin": {
"js-reverse-worker": "./build/src/index.js",
"browsercli": "./build/src/cli/bin/browsercli.js"
},
"main": "./build/src/index.js",
"scripts": {
"clean": "node -e \"require('fs').rmSync('build', {recursive: true, force: true})\"",
"build:dev": "swc src tests scripts -d build --extensions .ts",
"build": "npm run build:index && npm run build:compile && npm run build:post",
"typecheck": "tsc --noEmit",
"format": "eslint --cache --fix src/ scripts/ || true; prettier --write --cache src/ scripts/",
"check-format": "eslint --cache . && prettier --check --cache .;",
"check-arch": "node --experimental-strip-types scripts/check-arch.ts",
"docs": "npm run build && npm run docs:generate && npm run format",
"docs:generate": "node --experimental-strip-types scripts/generate-docs.ts",
"debugger-lab": "node scripts/debugger-lab/server.mjs",
"start": "npm run build && node build/src/index.js",
"run": "node build/src/index.js",
"start-debug": "DEBUG=mcp:* DEBUG_COLORS=false npm run build && node build/src/index.js",
"test:node20": "node --require ./build/tests/setup.js --test-reporter spec --test-force-exit --test build/tests",
"test": "npm run build && node --require ./build/tests/setup.js --no-warnings=ExperimentalWarning --test-reporter spec --test-force-exit --test \"build/tests/**/*.test.js\"",
"test:unit": "npm run build && node --require ./build/tests/setup.js --no-warnings=ExperimentalWarning --test-force-exit --test-timeout=30000 --test build/tests/unit/**/*.test.js",
"test:contracts": "npm run build && node --require ./build/tests/setup.js --no-warnings=ExperimentalWarning --test build/tests/unit/tools/all-tools-contract.test.js build/tests/unit/tools/tool-failure-contract.test.js",
"test:reliability:integration": "npm run build && node --require ./build/tests/setup.js --no-warnings=ExperimentalWarning --test build/tests/integration/tool-categories.integration.test.js build/tests/integration/browsercli-reliability.integration.test.js",
"test:quick": "npm run build && node --require ./build/tests/setup.js --no-warnings=ExperimentalWarning --test build/tests/unit/tools/**/*.test.js build/tests/unit/services/**/*.test.js build/tests/unit/utils/**/*.test.js",
"test:property": "npm run build && node --require ./build/tests/setup.js --no-warnings=ExperimentalWarning --test build/tests/property/**/*.test.js",
"test:integration": "npm run build && node --require ./build/tests/setup.js --no-warnings=ExperimentalWarning --test build/tests/integration/**/*.test.js",
"test:ipc": "npm run build && node --require ./build/tests/setup.js --test build/tests/unit/ipc/*.test.js build/tests/integration/daemonSocket.integration.test.js",
"test:vitest": "vitest run",
"test:vitest:pure": "vitest run --project pure",
"test:vitest:browser": "vitest run --project browser",
"test:vitest:watch": "vitest watch",
"test:perf": "RUN_PERF_TESTS=true npm run build && node --require ./build/tests/setup.js --no-warnings=ExperimentalWarning --test build/tests/performance/**/*.test.js",
"test:perf:baseline": "RUN_PERF_TESTS=true npm run build && node --require ./build/tests/setup.js --no-warnings=ExperimentalWarning --test build/tests/performance/baseline.test.js",
"coverage": "npm run coverage:core",
"coverage:vitest": "vitest run --coverage",
"coverage:core": "c8 --include=build/src/tools/dom/** --include=build/src/tools/hook/** --reporter=text --reporter=lcov node --require ./build/tests/setup.js --no-warnings=ExperimentalWarning --test build/tests/unit/**/*.test.js build/tests/property/**/*.test.js",
"coverage:strict": "c8 --reporter=text --reporter=lcov node --require ./build/tests/setup.js --no-warnings=ExperimentalWarning --test-force-exit --test build/tests/unit/**/*.test.js build/tests/property/**/*.test.js",
"test:only": "npm run build && node --require ./build/tests/setup.js --no-warnings=ExperimentalWarning --test-reporter spec --test-force-exit --test --test-only \"build/tests/**/*.test.js\"",
"test:only:no-build": "node --require ./build/tests/setup.js --no-warnings=ExperimentalWarning --test-reporter spec --test-force-exit --test --test-only \"build/tests/**/*.test.js\"",
"test:update-snapshots": "npm run build && node --require ./build/tests/setup.js --no-warnings=ExperimentalWarning --test-reporter spec --test-force-exit --test --test-update-snapshots \"build/tests/**/*.test.js\"",
"prepare": "node --experimental-strip-types scripts/prepare.ts",
"case:jd:h5st:pure-node": "node scripts/cases/jd-h5st-pure-node.mjs",
"cli:start": "node build/src/index.js --daemon --browsercli-daemon",
"cli:worker:stop": "browsercli stop",
"cli:worker:status": "browsercli status",
"build:index": "node --experimental-strip-types scripts/generate-tools-index.ts",
"build:compile": "swc src tests scripts -d build --extensions .ts",
"build:post": "node --experimental-strip-types --no-warnings=ExperimentalWarning scripts/post-build.ts",
"verify-skills": "node --experimental-strip-types scripts/verify-skills-schema.ts",
"test:cli": "npm run build && node --require ./build/tests/setup.js --no-warnings=ExperimentalWarning --test build/tests/unit/cli/**/*.test.js",
"test:worker": "npm run build && node --require ./build/tests/setup.js --no-warnings=ExperimentalWarning --test build/tests/unit/worker/**/*.test.js",
"test:registry": "npm run build && node --require ./build/tests/setup.js --no-warnings=ExperimentalWarning --test build/tests/unit/tools/ToolRegistry*.test.js"
},
"files": [
"build/src",
"build/node_modules",
"LICENSE",
"!*.tsbuildinfo"
],
"repository": "zhizhuodemao/js-reverse-mcp",
"author": "zhizhuodemao",
"license": "Apache-2.0",
"bugs": {
"url": "https://github.com/zhizhuodemao/js-reverse-mcp/issues"
},
"homepage": "https://github.com/zhizhuodemao/js-reverse-mcp#readme",
"dependencies": {
"@babel/generator": "^7.26.5",
"@babel/parser": "^7.26.5",
"@babel/traverse": "^7.26.5",
"@babel/types": "^7.29.0",
"@jridgewell/trace-mapping": "^0.3.31",
"axi-sdk-js": "^0.1.4",
"axios": "^1.13.5",
"chalk": "^5.6.2",
"cheerio": "^1.2.0",
"diff": "^8.0.4",
"javascript-obfuscator": "^5.4.1",
"node-forge": "^1.4.0",
"openai": "^4.73.0",
"patchright": "^1.59.0",
"sm-crypto": "^0.4.0",
"terser": "^5.46.1",
"wabt": "^1.0.39",
"xbogus": "^1.0.2",
"yargs": "18.0.0",
"zod": "^3.25.76"
},
"devDependencies": {
"@eslint/js": "^9.35.0",
"@stylistic/eslint-plugin": "^5.4.0",
"@swc/cli": "^0.8.1",
"@swc/core": "^1.15.33",
"@swc/core-win32-x64-msvc": "^1.15.30",
"@types/babel__generator": "^7.6.8",
"@types/babel__traverse": "^7.20.6",
"@types/debug": "^4.1.12",
"@types/filesystem": "^0.0.36",
"@types/node": "^24.3.3",
"@types/node-forge": "^1.3.14",
"@types/sinon": "^21.0.0",
"@types/yargs": "^17.0.33",
"@typescript-eslint/eslint-plugin": "^8.43.0",
"@typescript-eslint/parser": "^8.43.0",
"@vitest/coverage-v8": "^4.1.6",
"c8": "^10.1.3",
"core-js": "3.47.0",
"debug": "4.4.3",
"eslint": "^9.35.0",
"eslint-import-resolver-typescript": "^4.4.4",
"eslint-plugin-import": "^2.32.0",
"fast-check": "^4.5.3",
"globals": "^16.4.0",
"prettier": "^3.6.2",
"sinon": "^21.0.0",
"typescript": "^5.9.2",
"typescript-eslint": "^8.43.0",
"vitest": "^4.1.6"
},
"engines": {
"node": "^20.19.0 || ^22.12.0 || >=23"
},
"optionalDependencies": {
"@swc/core-linux-x64-gnu": "^1.15.33",
"chrome-devtools-frontend": "^1.0.1608868",
"cloakbrowser": "^0.3.28",
"webcrack": "^2.16.0"
},
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
}