forked from romanzy313/otp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
69 lines (69 loc) · 2.03 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
{
"name": "@romanzy/otp",
"description": "Simple and powerful way to implement your own OTP workflows",
"version": "0.7.1",
"exports": {
".": "./dist/index.js",
"./helpers": "./dist/helpers.js",
"./storage/*": "./dist/storage/*.js",
"./serializer": "./dist/serializer/index.js",
"./serializer/*": "./dist/serializer/*.js"
},
"files": [
"dist",
"src"
],
"scripts": {
"dev": "vitest",
"build": "pnpm build:tsc",
"build:tsc": "tsc",
"build:vite": "vite build && tsc --declaration --emitDeclarationOnly",
"build:watch": "pnpm clean && tsc --watch",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest --coverage.enabled --coverage.include=src",
"test:publish": "pnpm prepublishOnly && pnpm pack",
"prepublishOnly": "pnpm clean && pnpm prettier && pnpm lint && pnpm test && pnpm build",
"clean": "rimraf -rf ./dist && rimraf -rf ./types && rimraf -rf ./*-*.tgz",
"format": "pnpm prettier && pnpm lint",
"lint": "eslint . --ext .ts --fix",
"lint:dry": "eslint . --ext .ts",
"prettier": "prettier --config .prettierrc 'src/**/*.ts' --write",
"prettier:dry": "prettier --config .prettierrc 'src/**/*.ts'"
},
"license": "MIT",
"keywords": [
"otp",
"one-time-password",
"auth",
"authenitcation",
"authorization",
"passwordless",
"magic-link",
"sms-auth",
"phone-auth",
"email-auth"
],
"repository": {
"type": "git",
"url": "https://github.com/romanzy313/otp.git"
},
"author": "Roman Volovoy",
"devDependencies": {
"@types/node": "^18.17.17",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"@vitest/coverage-v8": "^1.0.1",
"eslint": "^8.49.0",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-jest": "^26.9.0",
"eslint-plugin-prettier": "^4.2.1",
"prettier": "^2.8.8",
"rimraf": "^3.0.2",
"typedoc": "^0.25.3",
"typescript": "5.1.6",
"unstorage": "^1.9.0",
"vite": "^4.4.9",
"vitest": "^1.0.1"
}
}