-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
152 lines (152 loc) · 3.73 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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
{
"name": "@adonisjs/hash",
"version": "9.0.5",
"description": "Framework agnostic Password hashing package with support for PHC string format",
"main": "build/index.js",
"type": "module",
"files": [
"build",
"!build/bin",
"!build/coverage",
"!build/tests"
],
"exports": {
".": "./build/index.js",
"./types": "./build/src/types.js",
"./drivers/argon": "./build/src/drivers/argon.js",
"./drivers/bcrypt": "./build/src/drivers/bcrypt.js",
"./drivers/scrypt": "./build/src/drivers/scrypt.js",
"./phc_formatter": "./build/src/phc_formatter.js",
"./factories": "./build/factories/main.js"
},
"engines": {
"node": ">=20.6.0"
},
"scripts": {
"pretest": "npm run lint",
"test": "cross-env NODE_DEBUG=adonisjs:hash c8 npm run quick:test",
"clean": "del-cli build",
"typecheck": "tsc --noEmit",
"precompile": "npm run lint && npm run clean",
"compile": "tsup-node && tsc --emitDeclarationOnly --declaration",
"build": "npm run compile",
"release": "release-it",
"version": "npm run build",
"format": "prettier --write .",
"prepublishOnly": "npm run build",
"lint": "eslint .",
"sync-labels": "github-label-sync --labels .github/labels.json adonisjs/hash",
"quick:test": "node --import=ts-node-maintained/register/esm bin/test.ts"
},
"keywords": [
"hash",
"bcrypt",
"argon2"
],
"author": "adonisjs,virk",
"license": "MIT",
"devDependencies": {
"@adonisjs/eslint-config": "^2.0.0-beta.6",
"@adonisjs/prettier-config": "^1.4.0",
"@adonisjs/tsconfig": "^1.4.0",
"@japa/assert": "^3.0.0",
"@japa/expect-type": "^2.0.2",
"@japa/runner": "^3.1.4",
"@release-it/conventional-changelog": "^8.0.2",
"@swc/core": "^1.7.26",
"@types/bcrypt": "^5.0.2",
"@types/node": "^22.5.5",
"argon2": "^0.41.1",
"bcrypt": "^5.1.1",
"c8": "^10.1.2",
"cross-env": "^7.0.3",
"del-cli": "^5.1.0",
"eslint": "^9.11.0",
"github-label-sync": "^2.3.1",
"husky": "^9.1.6",
"prettier": "^3.3.3",
"release-it": "^17.6.0",
"ts-node-maintained": "^10.9.4",
"tsup": "^8.3.0",
"typescript": "^5.6.2"
},
"dependencies": {
"@phc/format": "^1.0.0",
"@poppinss/utils": "^6.8.3"
},
"peerDependencies": {
"argon2": "^0.31.2 || ^0.41.0",
"bcrypt": "^5.1.1"
},
"peerDependenciesMeta": {
"argon2": {
"optional": true
},
"bcrypt": {
"optional": true
}
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/adonisjs/hash.git"
},
"bugs": {
"url": "https://github.com/adonisjs/hash/issues"
},
"homepage": "https://github.com/adonisjs/hash#readme",
"publishConfig": {
"provenance": true
},
"release-it": {
"git": {
"requireCleanWorkingDir": true,
"requireUpstream": true,
"commitMessage": "chore(release): ${version}",
"tagAnnotation": "v${version}",
"push": true,
"tagName": "v${version}"
},
"github": {
"release": true
},
"npm": {
"publish": true,
"skipChecks": true
},
"plugins": {
"@release-it/conventional-changelog": {
"preset": {
"name": "angular"
}
}
}
},
"c8": {
"reporter": [
"text",
"html"
],
"exclude": [
"tests/**",
"src/legacy/**"
]
},
"prettier": "@adonisjs/prettier-config",
"tsup": {
"entry": [
"./index.ts",
"./src/drivers/argon.ts",
"./src/drivers/bcrypt.ts",
"./src/drivers/scrypt.ts",
"./src/phc_formatter.ts",
"./src/types.ts",
"./factories/main.ts"
],
"outDir": "./build",
"clean": true,
"format": "esm",
"dts": false,
"sourcemap": true,
"target": "esnext"
}
}