-
Notifications
You must be signed in to change notification settings - Fork 129
Expand file tree
/
Copy pathpackage.json
More file actions
63 lines (63 loc) · 1.62 KB
/
package.json
File metadata and controls
63 lines (63 loc) · 1.62 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
{
"name": "2fa",
"version": "1.3.0",
"type": "module",
"private": true,
"description": "2FA - OTP Generator using Cloudflare Workers",
"scripts": {
"deploy": "node scripts/deploy.js",
"deploy:git": "node scripts/deploy.js --git",
"deploy:package": "node scripts/deploy.js --package",
"deploy:dev": "node scripts/deploy.js --env development",
"deploy:direct": "wrangler deploy",
"dev": "wrangler dev",
"start": "wrangler dev",
"build": "node scripts/build-release.js",
"build:minify": "node scripts/build-release.js --minify",
"test": "vitest",
"test:watch": "vitest --watch",
"test:ui": "vitest --ui",
"test:coverage": "vitest --coverage",
"lint": "eslint src/",
"lint:fix": "eslint src/ --fix",
"format": "prettier --write \"src/**/*.js\"",
"format:check": "prettier --check \"src/**/*.js\"",
"prepare": "husky"
},
"lint-staged": {
"src/**/*.js": [
"eslint --fix",
"prettier --write"
],
"*.md": [
"prettier --write"
]
},
"dependencies": {
"@sentry/cloudflare": "^10.22.0",
"aws4fetch": "^1.0.20",
"qrcode": "^1.5.3"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20251014.0",
"@eslint/js": "^9.18.0",
"@vitest/coverage-v8": "^4.0.5",
"@vitest/ui": "^4.0.5",
"esbuild": "^0.25.0",
"eslint": "^9.18.0",
"husky": "^9.1.7",
"lint-staged": "^15.3.0",
"prettier": "^3.4.2",
"vitest": "^4.0.5",
"wrangler": "^4.78.0"
},
"keywords": [
"2fa",
"otp",
"totp",
"cloudflare-workers",
"authentication"
],
"author": "wuzf",
"license": "MIT"
}