This version will count lines of code in each file serially. It still runs all file system operations asynchronously. The only difference now is that it will only count one file at a time. It is slower, but it is able to count large repositories without running out of memory.
72 lines
No EOL
2 KiB
JSON
72 lines
No EOL
2 KiB
JSON
{
|
|
"name": "codeql",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"description": "CodeQL action",
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"test": "ava src/** --serial --verbose",
|
|
"test-debug": "ava src/** --serial --verbose --timeout=20m",
|
|
"lint": "eslint --report-unused-disable-directives --max-warnings=0 . --ext .js,.ts",
|
|
"lint-fix": "eslint --report-unused-disable-directives --max-warnings=0 . --ext .js,.ts --fix",
|
|
"removeNPMAbsolutePaths": "removeNPMAbsolutePaths . --force"
|
|
},
|
|
"ava": {
|
|
"typescript": {
|
|
"rewritePaths": {
|
|
"src/": "lib/"
|
|
}
|
|
}
|
|
},
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@actions/core": "^1.2.6",
|
|
"@actions/exec": "^1.0.1",
|
|
"@actions/github": "^4.0.0",
|
|
"@actions/http-client": "^1.0.8",
|
|
"@actions/io": "^1.1.0",
|
|
"@actions/tool-cache": "^1.5.5",
|
|
"@chrisgavin/safe-which": "^1.0.2",
|
|
"@octokit/plugin-retry": "^3.0.3",
|
|
"@octokit/types": "^5.5.0",
|
|
"commander": "^6.0.0",
|
|
"console-log-level": "^1.4.1",
|
|
"fast-deep-equal": "^3.1.3",
|
|
"file-url": "^3.0.0",
|
|
"fs": "0.0.1-security",
|
|
"github-linguist": "^2.4.2",
|
|
"js-yaml": "^3.13.1",
|
|
"jsonschema": "1.2.6",
|
|
"long": "^4.0.0",
|
|
"md5": "^2.2.1",
|
|
"path": "^0.12.7",
|
|
"query-string": "^6.14.0",
|
|
"semver": "^7.3.2",
|
|
"uuid": "^8.3.0",
|
|
"zlib": "^1.0.5"
|
|
},
|
|
"//": [
|
|
"micromatch is an unspecified dependency of ava"
|
|
],
|
|
"devDependencies": {
|
|
"@ava/typescript": "1.1.1",
|
|
"@types/jszip": "^3.1.6",
|
|
"@types/long": "4.0.0",
|
|
"@types/nock": "^11.1.0",
|
|
"@types/node": "^12.0.4",
|
|
"@types/semver": "^7.2.0",
|
|
"@types/sinon": "^7.2.0",
|
|
"@typescript-eslint/parser": "^4.1.0",
|
|
"ava": "3.8.1",
|
|
"eslint": "^7.9.0",
|
|
"eslint-plugin-filenames": "^1.3.2",
|
|
"eslint-plugin-github": "^4.1.1",
|
|
"eslint-plugin-import": "^2.22.0",
|
|
"eslint-plugin-no-async-foreach": "^0.1.1",
|
|
"micromatch": "4.0.2",
|
|
"nock": "^12.0.3",
|
|
"removeNPMAbsolutePaths": "2.0.0",
|
|
"sinon": "^9.0.2",
|
|
"typescript": "^3.7.5"
|
|
}
|
|
} |