abapGit/package.json
Lars Hvam 09a0a43b95
more unit test and coverage (#5051)
* wip, update npm packages

* upd

* run simple_test

* run array_test

* run visit_types

* run empty_filter_simple

* run empty_filter_deep

* run path_filter

* run path_filter_deep

* run and_filter

* transpile zcl_abapgit_data_injector

* upd

* transpile extra files

* transpile zif_abapgit_data_deserializer

* two extra interfaces

* compile enum providers

* and zcl_abapgit_proxy_auth

* compile repo listener

* zcl_abapgit_repo_filter

* update note

* run coverage

* and upload

* refactor action
2021-10-29 07:46:32 +02:00

34 lines
1.5 KiB
JSON

{
"license": "MIT",
"scripts": {
"test": "npm run eslint && npm run abaplint",
"merge": "abapmerge -f src/zabapgit.prog.abap -c zabapgit_standalone > zabapgit.abap",
"merge.ci": "cp zabapgit.abap ci/zabapgit_standalone.prog.abap && cd ci && abaplint --format codeframe && cd ..",
"unit": "rm -rf output && abap_transpile test/abap_transpile.json && 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",
"docker-build": "docker-compose -f test/docker-compose.yml build",
"docker-up": "docker-compose -f test/docker-compose.yml up",
"docker-unit": "docker-compose -f test/docker-compose.yml run --workdir=\"/home/node/abapGit\" abapgit npm run-script unit",
"docker-down": "docker-compose -f test/docker-compose.yml down"
},
"repository": {
"type": "git",
"url": "git+https://github.com/abapGit/abapGit.git"
},
"c8": {
"all": true,
"src": ["src"]
},
"devDependencies": {
"@abaplint/cli": "^2.79.34",
"@abaplint/runtime": "^1.6.55",
"@abaplint/transpiler-cli": "^1.6.55",
"abapmerge": "^0.14.3",
"c8": "^7.10.0",
"eslint": "^8.1.0"
}
}