Upgrade linguist dependency

This version changes how it counts python heredoc. All heredoc is
counted as code.
This commit is contained in:
Andrew Eisenberg 2021-08-25 10:45:44 -07:00
parent a44b61d961
commit b29bf7b05a
32 changed files with 410 additions and 339 deletions

View file

@ -1,12 +1,11 @@
{
"name": "github-linguist",
"version": "2.4.3",
"version": "2.4.4",
"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",
@ -33,10 +32,10 @@
},
"scripts": {
"build": "tsc -d",
"lint": "eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./src",
"lint": "eslint --cache --ext .ts ./src",
"prettier": "prettier -c --write \"**/*\"",
"prepublishOnly": "npm run build",
"test": "umi-test"
"test": "jest"
},
"dependencies": {
"chalk": "^2.2.0",
@ -52,15 +51,22 @@
"@types/commander": "^2.11.0",
"@types/fs-extra": "^4.0.2",
"@types/globby": "^6.1.0",
"@types/jest": "^25.1.5",
"@types/jest": "^27.0.1",
"@types/mocha": "^2.2.43",
"@types/node": "^8.0.45",
"@umijs/fabric": "^2.0.7",
"@typescript-eslint/eslint-plugin": "^4.29.3",
"@typescript-eslint/parser": "^4.29.3",
"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"
"eslint": "^7.32.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.24.1",
"eslint-plugin-prettier": "^3.4.1",
"jest": "^27.0.6",
"prettier": "^2.3.2",
"ts-jest": "^27.0.5",
"ts-node": "^10.2.1",
"typescript": "^3.9.10"
}
}