mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-04 13:56:14 +08:00

changes actions to run on all push and pull request events been having trouble with actions not running, this might solve it, rolls back to old setup
28 lines
1.4 KiB
JSON
28 lines
1.4 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",
|
|
"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"
|
|
},
|
|
"devDependencies": {
|
|
"@abaplint/cli": "^2.78.13",
|
|
"@abaplint/transpiler-cli": "^1.6.28",
|
|
"@abaplint/runtime": "^1.6.28",
|
|
"abapmerge": "^0.14.3",
|
|
"eslint": "^7.32.0"
|
|
}
|
|
}
|