abapGit/package.json
2023-11-03 18:20:34 +01:00

35 lines
1.3 KiB
JSON

{
"license": "MIT",
"private": true,
"scripts": {
"test": "npm run eslint && npm run abaplint",
"merge": "abapmerge -f src/zabapgit.prog.abap -c zabapgit_standalone -o zabapgit.abap",
"merge.ci": "cp zabapgit.abap ci/zabapgit_standalone.prog.abap && cd ci && abaplint --format codeframe && cd ..",
"build": "rm -rf output && abap_transpile test/abap_transpile.json",
"unit": "npm run build && echo RUNNING && node output/index.mjs",
"coverage": "npm run unit && c8 node output/index.mjs && c8 report --reporter=html",
"integration": "rm -rf output && cp test/abap_transpile.json test/abap_transpile_int.json && sed -i 's/zcl_abapgit_auth/zcl_abapgit_integration_git/g' test/abap_transpile_int.json && abap_transpile test/abap_transpile_int.json && echo RUNNING && node output/index.mjs",
"abaplint": "abaplint --format codeframe",
"eslint": "eslint src"
},
"repository": {
"type": "git",
"url": "git+https://github.com/abapGit/abapGit.git"
},
"c8": {
"all": true,
"src": [
"src"
]
},
"devDependencies": {
"@abaplint/cli": "^2.102.59",
"@abaplint/database-sqlite": "^2.7.101",
"@abaplint/runtime": "^2.7.115",
"@abaplint/transpiler-cli": "^2.7.115",
"abapmerge": "^0.16.0",
"c8": "^8.0.1",
"eslint": "^8.51.0"
}
}