-
Notifications
You must be signed in to change notification settings - Fork 39
/
package.json
79 lines (79 loc) · 1.9 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
{
"name": "totp-generator",
"version": "1.0.0",
"description": "Generate TOTP tokens from key",
"license": "MIT",
"author": "Magnus Bellstrand",
"homepage": "https://github.com/bellstrand/totp-generator",
"bugs": {
"url": "https://github.com/bellstrand/totp-generator/issues"
},
"keywords": [
"totp",
"time-based one-time password",
"generator",
"password",
"auth",
"authentication",
"google authenticator",
"oath",
"2-factor",
"two-factor"
],
"main": "./lib/cjs/index.js",
"module": "./lib/esm/index.js",
"exports": {
".": {
"import": {
"types": "./lib/esm/index.d.ts",
"default": "./lib/esm/index.js"
},
"require": {
"types": "./lib/cjs/index.d.ts",
"default": "./lib/cjs/index.js"
}
}
},
"repository": {
"type": "git",
"url": "[email protected]:bellstrand/totp-generator.git"
},
"scripts": {
"test": "jest --silent=false",
"test:coverage": "jest --silent=false --coverage",
"test:prettier": "prettier --check '**/*.js'",
"build": "rm -rf lib/* && yarn build:cjs && yarn build:esm && ./build-after.sh",
"build:cjs": "tsc -p tsconfig-cjs.json && terser --source-map -cmo lib/cjs/index.js lib/cjs/index.js",
"build:esm": "tsc -p tsconfig-esm.json && terser --source-map -cmo lib/esm/index.js lib/esm/index.js"
},
"devDependencies": {
"@types/jest": "^29.5.11",
"jest": "^29.7.0",
"prettier": "^3.2.4",
"terser": "^5.31.0",
"ts-jest": "^29.1.2",
"typescript": "^5.3.3"
},
"files": [
"package.json",
"lib",
"LICENSE",
"README.md"
],
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"moduleFileExtensions": [
"js",
"ts"
],
"coverageThreshold": {
"global": {
"branches": 100,
"functions": 100,
"lines": 100,
"statements": 100
}
}
}
}