-
-
Notifications
You must be signed in to change notification settings - Fork 57
/
package.json
147 lines (147 loc) · 5.52 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
{
"name": "otpauth",
"version": "9.3.5",
"description": "One Time Password (HOTP/TOTP) library for Node.js, Deno, Bun and browsers",
"keywords": [
"otp",
"hotp",
"totp",
"one time password",
"2fa",
"2 factor",
"two factor",
"two-factor",
"2step",
"2 step",
"two step",
"two-step",
"auth",
"authenticator",
"google authenticator"
],
"author": "Héctor Molinero Fernández <hector@molinero.dev>",
"license": "MIT",
"homepage": "https://github.com/hectorm/otpauth",
"repository": {
"type": "git",
"url": "https://github.com/hectorm/otpauth.git"
},
"bugs": {
"url": "https://github.com/hectorm/otpauth/issues"
},
"funding": "https://github.com/hectorm/otpauth?sponsor=1",
"type": "module",
"types": "./dist/otpauth.d.ts",
"main": "./dist/otpauth.node.cjs",
"browser": "./dist/otpauth.esm.js",
"exports": {
".": {
"types": {
"import": "./dist/otpauth.d.ts",
"require": "./dist/otpauth.d.cts"
},
"bun": "./dist/otpauth.esm.js",
"deno": "./dist/otpauth.esm.js",
"node": {
"import": "./dist/otpauth.node.mjs",
"require": "./dist/otpauth.node.cjs"
},
"default": "./dist/otpauth.esm.js"
},
"./dist/*": {
"types": {
"import": "./dist/otpauth.d.ts",
"require": "./dist/otpauth.d.cts"
},
"default": "./dist/*"
}
},
"files": [
"dist/"
],
"scripts": {
"all": "run-s build docs lint test",
"build": "run-s build:clean build:types build:compile",
"build:clean": "rimraf ./dist/",
"build:compile": "rollup -c",
"build:types": "run-s build:types:clean build:types:compile",
"build:types:clean": "rimraf ./types/",
"build:types:compile": "tsc -p ./src/",
"docs": "run-s docs:clean docs:compile",
"docs:clean": "rimraf ./docs/",
"docs:compile": "typedoc ./src/index.js --readme none --out ./docs/",
"lint": "run-s lint:eslint lint:prettier lint:tsc",
"lint:eslint": "eslint --max-warnings 0 ./",
"lint:prettier": "prettier --list-different ./",
"lint:tsc": "tsc --noEmit",
"format": "run-s format:eslint format:prettier",
"format:eslint": "eslint --fix ./",
"format:prettier": "prettier --write ./",
"test": "run-s test:node test:deno test:bun test:browser",
"test:node": "run-s test:node:esm test:node:cjs",
"test:node:esm": "run-s test:node:esm:unmin test:node:esm:min",
"test:node:esm:unmin": "node ./test/node.test.mjs",
"test:node:esm:min": "node ./test/node.test.min.mjs",
"test:node:cjs": "run-s test:node:cjs:unmin test:node:cjs:min",
"test:node:cjs:unmin": "node ./test/node.test.cjs",
"test:node:cjs:min": "node ./test/node.test.min.cjs",
"test:deno": "run-s test:deno:esm",
"test:deno:esm": "run-s test:deno:esm:unmin test:deno:esm:min",
"test:deno:esm:unmin": "deno test --no-npm --allow-read=./test/,./dist/ ./test/deno.test.mjs",
"test:deno:esm:min": "deno test --no-npm --allow-read=./test/,./dist/ ./test/deno.test.min.mjs",
"test:bun": "run-s test:bun:esm",
"test:bun:esm": "run-s test:bun:esm:unmin test:bun:esm:min",
"test:bun:esm:unmin": "bun test ./test/bun.test.mjs",
"test:bun:esm:min": "bun test ./test/bun.test.min.mjs ",
"test:quickjs": "run-s test:quickjs:esm",
"test:quickjs:esm": "run-s test:quickjs:esm:unmin test:quickjs:esm:min",
"test:quickjs:esm:unmin": "qjs ./test/quickjs.test.mjs",
"test:quickjs:esm:min": "qjs ./test/quickjs.test.min.mjs ",
"test:browser": "run-s test:browser:chromium test:browser:firefox test:browser:webkit",
"test:browser:chromium": "run-s test:browser:chromium:umd",
"test:browser:chromium:umd": "run-s test:browser:chromium:umd:unmin test:browser:chromium:umd:min",
"test:browser:chromium:umd:unmin": "node ./test/browser.test.mjs chromium",
"test:browser:chromium:umd:min": "node ./test/browser.test.min.mjs chromium",
"test:browser:firefox": "run-s test:browser:firefox:umd",
"test:browser:firefox:umd": "run-s test:browser:firefox:umd:unmin test:browser:firefox:umd:min",
"test:browser:firefox:umd:unmin": "node ./test/browser.test.mjs firefox",
"test:browser:firefox:umd:min": "node ./test/browser.test.min.mjs firefox",
"test:browser:webkit": "run-s test:browser:webkit:umd",
"test:browser:webkit:umd": "run-s test:browser:webkit:umd:unmin test:browser:webkit:umd:min",
"test:browser:webkit:umd:unmin": "node ./test/browser.test.mjs webkit",
"test:browser:webkit:umd:min": "node ./test/browser.test.min.mjs webkit",
"version": "run-s all version:jsr version:git",
"version:jsr": "node ./scripts/jsr.mjs",
"version:git": "git add -A ./jsr.json ./types/ ./dist/ ./docs/"
},
"dependencies": {
"@noble/hashes": "1.5.0"
},
"devDependencies": {
"@eslint/core": "~0.9.0",
"@eslint/js": "~9.14.0",
"@rollup/plugin-node-resolve": "~15.3.0",
"@rollup/plugin-replace": "~6.0.1",
"@rollup/plugin-swc": "~0.4.0",
"@rollup/plugin-terser": "~0.4.4",
"@rollup/plugin-virtual": "~3.0.2",
"@swc/core": "~1.9.2",
"@types/eslint": "~9.6.1",
"@types/eslint-config-prettier": "~6.11.3",
"@types/eslint__js": "~8.42.3",
"@types/node": "~22.9.0",
"chai": "~5.1.2",
"eslint": "~9.14.0",
"eslint-config-prettier": "~9.1.0",
"globals": "~15.12.0",
"mocha": "~10.8.2",
"npm-run-all2": "~7.0.1",
"playwright": "~1.48.2",
"prettier": "~3.3.3",
"rimraf": "~6.0.1",
"rollup": "~4.26.0",
"rollup-plugin-dts": "~6.1.1",
"typedoc": "~0.26.11",
"typescript": "~5.6.3"
}
}