Add lodash

This commit is contained in:
Nikita Galkin 2021-03-07 11:37:07 -04:00
parent b7d2091916
commit 1a3008e2f0
2 changed files with 26 additions and 24 deletions

10
package-lock.json generated
View File

@ -13,6 +13,9 @@
} }
], ],
"license": "MIT", "license": "MIT",
"dependencies": {
"lodash": "^4.17.21"
},
"devDependencies": { "devDependencies": {
"@commitlint/cli": "12.0.1", "@commitlint/cli": "12.0.1",
"@commitlint/config-angular": "12.0.1", "@commitlint/config-angular": "12.0.1",
@ -26,7 +29,6 @@
"eslint-plugin-prettier": "3.3.1", "eslint-plugin-prettier": "3.3.1",
"husky": "5.1.3", "husky": "5.1.3",
"lint-staged": "10.5.4", "lint-staged": "10.5.4",
"lodash": "4.17.21",
"prettier": "2.2.1", "prettier": "2.2.1",
"reflect-metadata": "0.1.13", "reflect-metadata": "0.1.13",
"rxjs": "6.6.6", "rxjs": "6.6.6",
@ -2789,8 +2791,7 @@
"node_modules/lodash": { "node_modules/lodash": {
"version": "4.17.21", "version": "4.17.21",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
"integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="
"dev": true
}, },
"node_modules/log-symbols": { "node_modules/log-symbols": {
"version": "4.0.0", "version": "4.0.0",
@ -6635,8 +6636,7 @@
"lodash": { "lodash": {
"version": "4.17.21", "version": "4.17.21",
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz",
"integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg=="
"dev": true
}, },
"log-symbols": { "log-symbols": {
"version": "4.0.0", "version": "4.0.0",

View File

@ -18,6 +18,13 @@
"bugs": { "bugs": {
"url": "https://github.com/bukhalo/nestjs-telegraf/issues" "url": "https://github.com/bukhalo/nestjs-telegraf/issues"
}, },
"repository": "git@github.com:bukhalo/nestjs-telegraf.git",
"funding": [
{
"type": "individual",
"url": "https://www.tinkoff.ru/sl/95M2htqoxux"
}
],
"license": "MIT", "license": "MIT",
"author": "Alexander Bukhalo <a@bukhalo.com>", "author": "Alexander Bukhalo <a@bukhalo.com>",
"contributors": [ "contributors": [
@ -26,15 +33,8 @@
"email": "arthur.asimov.z0@gmail.com" "email": "arthur.asimov.z0@gmail.com"
} }
], ],
"funding": [
{
"type": "individual",
"url": "https://www.tinkoff.ru/sl/95M2htqoxux"
}
],
"main": "./dist/index.js", "main": "./dist/index.js",
"types": "./dist/index.d.ts", "types": "./dist/index.d.ts",
"repository": "git@github.com:bukhalo/nestjs-telegraf.git",
"scripts": { "scripts": {
"build": "rm -rf dist && tsc -p tsconfig.json", "build": "rm -rf dist && tsc -p tsconfig.json",
"precommit": "lint-staged", "precommit": "lint-staged",
@ -43,6 +43,20 @@
"test": "", "test": "",
"typedoc:build": "typedoc --tsconfig ./tsconfig.typedoc.json" "typedoc:build": "typedoc --tsconfig ./tsconfig.typedoc.json"
}, },
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"commit-msg": "commitlint -c .commitlintrc.json -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"*.ts": [
"prettier --write"
]
},
"dependencies": {
"lodash": "^4.17.21"
},
"devDependencies": { "devDependencies": {
"@commitlint/cli": "12.0.1", "@commitlint/cli": "12.0.1",
"@commitlint/config-angular": "12.0.1", "@commitlint/config-angular": "12.0.1",
@ -56,7 +70,6 @@
"eslint-plugin-prettier": "3.3.1", "eslint-plugin-prettier": "3.3.1",
"husky": "5.1.3", "husky": "5.1.3",
"lint-staged": "10.5.4", "lint-staged": "10.5.4",
"lodash": "4.17.21",
"prettier": "2.2.1", "prettier": "2.2.1",
"reflect-metadata": "0.1.13", "reflect-metadata": "0.1.13",
"rxjs": "6.6.6", "rxjs": "6.6.6",
@ -69,16 +82,5 @@
"@nestjs/core": "^6.7.0 || ^7.0.0", "@nestjs/core": "^6.7.0 || ^7.0.0",
"reflect-metadata": "^0.1.13", "reflect-metadata": "^0.1.13",
"telegraf": "^4.0.0" "telegraf": "^4.0.0"
},
"husky": {
"hooks": {
"commit-msg": "commitlint -c .commitlintrc.json -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.ts": [
"prettier --write"
]
} }
} }