mirror of
https://github.com/github/codeql-action.git
synced 2025-12-26 09:10:07 +08:00
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.
66 lines
1.7 KiB
JSON
66 lines
1.7 KiB
JSON
{
|
|
"name": "github-linguist",
|
|
"version": "2.4.2",
|
|
"description": "A tool to count lines of code in a repository powered by github-linguist langauge mappings.",
|
|
"keywords": [
|
|
"loc",
|
|
"cloc",
|
|
"linguist",
|
|
"umijs",
|
|
"lines of code"
|
|
],
|
|
"homepage": "https://github.com/aeisenberg/linguist#readme",
|
|
"bugs": {
|
|
"url": "https://github.com/aeisenberg/linguist/issues"
|
|
},
|
|
"bin": {
|
|
"loc": "dist/cli.js"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/aeisenberg/linguist.git"
|
|
},
|
|
"license": "MIT",
|
|
"authors": [
|
|
"ephoton <i@ephoton.me> (https://github.com/ephoton)",
|
|
"chenshuai2144 <qixian.cs@outlook.com> (https://github.com/chenshuai2144)",
|
|
"Andrew Eisenberg <aeisenberg@github.com> (https://github.com/aeisenberg)"
|
|
],
|
|
"main": "dist/index.js",
|
|
"typings": "dist/index.d.ts",
|
|
"directories": {
|
|
"test": "test"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc -d",
|
|
"lint": "eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",
|
|
"prettier": "prettier -c --write \"**/*\"",
|
|
"prepublishOnly": "npm run build",
|
|
"test": "umi-test"
|
|
},
|
|
"dependencies": {
|
|
"chalk": "^2.2.0",
|
|
"commander": "^2.11.0",
|
|
"fs-extra": "^4.0.3",
|
|
"globby": "^6.1.0",
|
|
"language-map": "^1.3.0",
|
|
"slash2": "^2.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@types/chai": "^4.0.4",
|
|
"@types/chalk": "^0.4.31",
|
|
"@types/commander": "^2.11.0",
|
|
"@types/fs-extra": "^4.0.2",
|
|
"@types/globby": "^6.1.0",
|
|
"@types/jest": "^25.1.5",
|
|
"@types/mocha": "^2.2.43",
|
|
"@types/node": "^8.0.45",
|
|
"@umijs/fabric": "^2.0.7",
|
|
"chai": "^4.1.2",
|
|
"coveralls": "^3.0.0",
|
|
"eslint": "^6.8.0",
|
|
"prettier": "^2.0.2",
|
|
"typescript": "^3.8.3",
|
|
"umi-test": "^1.9.6"
|
|
}
|
|
} |