-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
105 lines (105 loc) · 2.86 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"name": "@sinuos/nestjs-hasher",
"version": "1.1.3",
"description": "NestJS hash package to hash any string with bcrypt or argon",
"license": "MIT",
"keywords": [
"nest",
"nestjs",
"hasher",
"bcrypt",
"argon"
],
"scripts": {
"build": "rimraf -rf dist && tsc -p tsconfig.json",
"format": "prettier --write \"{lib,test}/**/*.ts\"",
"lint": "eslint 'lib/**/*.ts' --fix",
"test": "jest --force-exit --runInBand",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
"prepublish:npm": "npm run build",
"publish:npm": "npm publish --access public",
"prepublish:next": "npm run build",
"publish:next": "npm publish --access public --tag next",
"test:e2e": "jest --config ./tests/jest-e2e.json --runInBand",
"prerelease": "npm run build",
"release": "release-it"
},
"files": [
"dist/**/*",
"*.md",
"index.js",
"index.d.ts"
],
"peerDependencies": {
"@nestjs/common": "^7.0.0 || ^8.0.0 || ^9.0.8 || ^10.2.7",
"reflect-metadata": "^0.1.12",
"rxjs": "^6.0.0 || ^7.0.0"
},
"dependencies": {
"argon2": "0.31.1",
"bcrypt": "5.1.1"
},
"devDependencies": {
"@commitlint/cli": "19.6.1",
"@commitlint/config-angular": "19.7.0",
"@nestjs/common": "10.4.15",
"@nestjs/core": "10.4.15",
"@nestjs/platform-express": "10.4.15",
"@nestjs/testing": "10.4.15",
"@semantic-release/git": "10.0.1",
"@types/jest": "29.5.14",
"@types/node": "22.10.5",
"@typescript-eslint/eslint-plugin": "8.19.0",
"@typescript-eslint/parser": "8.19.0",
"eslint": "9.17.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-prettier": "5.2.1",
"husky": "9.1.7",
"jest": "29.7.0",
"lint-staged": "15.3.0",
"prettier": "3.4.2",
"pretty-quick": "4.0.0",
"reflect-metadata": "0.2.2",
"rimraf": "6.0.1",
"rxjs": "7.8.1",
"semantic-release": "24.2.1",
"ts-jest": "29.2.5",
"typescript": "5.7.2"
},
"lint-staged": {
"**/*": "pretty-quick --staged"
},
"author": {
"name": "Houssene Dao",
"email": "[email protected]",
"url": "https://twitter.com/houssenedao"
},
"homepage": "https://github.com/sinuoslabs/nestjs-hasher#readme",
"bugs": {
"url": "https://github.com/sinuoslabs/nestjs-hasher/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/sinuoslabs/nestjs-hasher"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "lib",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node"
}
}