-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
81 lines (81 loc) · 1.92 KB
/
Copy pathpackage.json
File metadata and controls
81 lines (81 loc) · 1.92 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
{
"name": "@aswincloud/auth",
"version": "0.5.0",
"description": "Shared, framework-agnostic auth primitives for Cloudflare Workers sites (Web Crypto sessions, signed tokens, password hashing, OAuth) plus an optional React login UI. Each consuming site brings its own D1 database and secrets; nothing links sites together.",
"license": "MIT",
"author": "Aswin",
"type": "module",
"sideEffects": false,
"files": [
"dist",
"schema.sql",
"bin"
],
"bin": {
"aswincloud-auth-setup-db": "bin/setup-db.mjs"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./d1": {
"types": "./dist/d1/index.d.ts",
"import": "./dist/d1/index.js"
},
"./react": {
"types": "./dist/react/index.d.ts",
"import": "./dist/react/index.js"
}
},
"scripts": {
"build": "npm run clean && tsc -p tsconfig.json",
"typecheck": "tsc -p tsconfig.json --noEmit",
"test": "npm run build && node --test",
"clean": "rm -rf dist",
"prepublishOnly": "npm run clean && npm run build"
},
"peerDependencies": {
"react": ">=18",
"react-dom": ">=18"
},
"peerDependenciesMeta": {
"react": {
"optional": true
},
"react-dom": {
"optional": true
}
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20260623.1",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"typescript": "^5.7.0"
},
"engines": {
"node": ">=18"
},
"publishConfig": {
"access": "public"
},
"keywords": [
"cloudflare",
"workers",
"auth",
"session",
"d1",
"web-crypto",
"login"
],
"repository": {
"type": "git",
"url": "git+https://github.com/Aswincloud/auth.git"
},
"homepage": "https://github.com/Aswincloud/auth#readme",
"bugs": {
"url": "https://github.com/Aswincloud/auth/issues"
}
}