@qwe8652591/abap-parser
Version:
ABAP 代码解析器 - 基于 abaplint core 的 TypeScript 实现
83 lines (82 loc) • 3 kB
JSON
{
"name": "@qwe8652591/abap-parser",
"version": "1.0.0",
"description": "ABAP 代码解析器 - 基于 abaplint core 的 TypeScript 实现",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"scripts": {
"build": "tsc",
"dev": "tsc --watch",
"prepublishOnly": "npm run build",
"start": "node dist/index.js",
"parse": "ts-node src/index.ts",
"parse:megui": "ts-node src/index.ts --source=../../source-code/megui_maintain",
"parse:complete": "ts-node src/parse-complete.ts",
"analyze:screens": "ts-node src/analyze-screen-references.ts",
"normalize": "ts-node src/normalize.ts",
"normalize:megui": "ts-node src/normalize.ts --source=../../source-code/megui_maintain",
"normalize:enhanced": "ts-node src/normalize-enhanced.ts",
"normalize:enhanced:megui": "ts-node src/normalize-enhanced.ts --source=../../source-code/megui_maintain",
"classify:others": "ts-node src/classify-others.ts",
"reorganize:others": "ts-node src/reorganize-others.ts",
"test:ast": "ts-node src/test-ast.ts",
"test:ast:screen": "ts-node src/test-screen-ast.ts",
"test:dynpro": "ts-node src/test-abaplint-dynpro.ts",
"test:calls": "ts-node src/test-call-analysis.ts",
"identify:objects": "ts-node src/identify-all-objects.ts",
"generate:tree": "ts-node src/generate-resource-tree.ts",
"example:main-program": "ts-node examples/detect-main-program.ts",
"example:call-chain": "ts-node examples/trace-call-chain.ts",
"example:megui": "ts-node examples/analyze-megui-maintain.ts",
"example:flow": "ts-node examples/trace-execution-flow-usage-example.ts",
"test:ast-extraction": "ts-node examples/test-ast-extraction.ts",
"test:type-inference": "ts-node examples/test-type-inference.ts",
"test:abaplint-types": "ts-node examples/test-abaplint-type-inference.ts",
"clean": "rm -rf dist output",
"clean:all": "rm -rf dist output ../../source-code/megui_maintain-normalized ../../source-code/megui_maintain-normalized-v2",
"lint": "eslint src/**/*.ts",
"test": "jest"
},
"keywords": [
"sap",
"abap",
"parser",
"abaplint",
"typescript",
"ast",
"static-analysis",
"reverse-engineering",
"execution-flow",
"call-chain",
"screen-analysis"
],
"author": "824000672@qq.com",
"license": "MIT",
"files": [
"dist/**/*",
"README.md",
"QUICKSTART.md"
],
"repository": {
"type": "git",
"url": "https://github.com/yourusername/sap-abap-reverse-engineering.git",
"directory": "packages/abap-parser"
},
"dependencies": {
"@abaplint/core": "^2.113.237",
"cheerio": "^1.1.2",
"exceljs": "^4.4.0"
},
"devDependencies": {
"@types/cheerio": "^0.22.35",
"@types/node": "^20.10.0",
"@typescript-eslint/eslint-plugin": "^6.13.0",
"@typescript-eslint/parser": "^6.13.0",
"eslint": "^8.54.0",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
},
"engines": {
"node": ">=16.0.0"
}
}