This change passes in a list of file types to the line counting analysis. These are the languages for the databases being analyzed. Line count analysis is restricted to these files.
66 lines
No EOL
1.7 KiB
JSON
66 lines
No EOL
1.7 KiB
JSON
{
|
|
"name": "github-linguist",
|
|
"version": "2.4.0",
|
|
"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"
|
|
}
|
|
} |