Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
84 lines (84 loc) · 2.14 KB
/
Copy pathpackage.json
File metadata and controls
84 lines (84 loc) · 2.14 KB
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
{
"name": "authcore-ts",
"version": "0.1.0",
"main": "./dist/index.cjs",
"scripts": {
"build": "tsup",
"typecheck": "tsc --noEmit",
"lint": "eslint .",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"check:package": "publint && attw --pack . --profile node16",
"build:example": "tsup --config tsup.example.config.ts",
"demo:timing": "tsx scripts/demo-timing.ts",
"demo:truncation": "tsx scripts/demo-truncation.ts",
"demo:sessions": "tsx scripts/demo-sessions.ts",
"prepare": "npm run build",
"demo:race": "tsx scripts/demo-race.ts"
},
"keywords": [
"auth",
"authentication",
"rbac",
"session",
"jwt",
"bcrypt",
"typescript",
"password-reset"
],
"author": "Raphael Gab-Momoh",
"license": "MIT",
"description": "Framework-agnostic TypeScript auth core: bcrypt password hashing, revocable signed sessions, typed RBAC, rate limiting and single-use reset tokens. Extracted from AssetOps.",
"dependencies": {
"bcryptjs": "^3.0.3",
"jose": "^6.2.13"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.18.5",
"@types/node": "^20.19.43",
"@types/pg": "^8.23.1",
"@vitest/coverage-v8": "^2.1.9",
"eslint": "^9.39.5",
"pg": "^8.23.1",
"publint": "^0.3.25",
"tsup": "^8.5.1",
"tsx": "^4.23.15",
"typescript": "^5.9.3",
"typescript-eslint": "^8.72.0",
"vitest": "^2.1.9"
},
"type": "module",
"sideEffects": false,
"repository": {
"type": "git",
"url": "git+https://github.com/raphgm/authcore-ts.git"
},
"homepage": "https://github.com/raphgm/authcore-ts#readme",
"bugs": {
"url": "https://github.com/raphgm/authcore-ts/issues"
},
"engines": {
"node": ">=20"
},
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
}
},
"./package.json": "./package.json"
},
"files": [
"dist",
"README.md",
"LICENSE",
"SECURITY.md"
]
}