-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
99 lines (99 loc) · 2.68 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
{
"name": "@ahmeducf/s-jwt",
"version": "1.0.0",
"description": "A TypeScript library that implements the JSON Web Token (JWT) standard defined in RFC 7519. It provides a simple and easy-to-use API for generating and verifying JWTs, with support for various algorithms and options. This library is fully written in TypeScript and is designed to work with both Node.js and browser environments.",
"main": "./lib/cjs/index.js",
"types": "./lib/cjs/types/index.d.ts",
"exports": {
".": {
"import": {
"types": "./lib/esm/types/index.d.ts",
"default": "./lib/esm/index.js"
},
"require": {
"types": "./lib/cjs/types/index.d.ts",
"default": "./lib/cjs/index.js"
}
}
},
"files": [
"lib"
],
"scripts": {
"clean": "rm -rf ./lib",
"fixup": "./scripts/fixup_package_type.sh",
"build:esm": "tsc -p ./configs/tsconfig.esm.json",
"build:cjs": "tsc -p ./configs/tsconfig.cjs.json",
"build": "npm run clean && (npm run build:esm ; npm run build:cjs) && npm run fixup",
"test": "jest",
"test:watch": "jest --watchAll",
"test:coverage": "jest --coverage",
"prepack": "npm run build",
"semantic-release": "semantic-release",
"prepare": "husky install"
},
"keywords": [
"jwt",
"typescript",
"node",
"browser"
],
"author": {
"name": "Ahmed Salah",
"email": "ahmeducf10@gmail.com"
},
"license": "MIT",
"devDependencies": {
"@commitlint/cli": "^17.7.2",
"@commitlint/config-conventional": "^17.7.0",
"@types/jest": "^29.5.5",
"@types/ms": "^0.7.32",
"@types/node": "^20.8.0",
"@typescript-eslint/eslint-plugin": "6.7.3",
"@typescript-eslint/parser": "6.7.3",
"eslint": "8.50.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^17.1.0",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-import": "^2.28.1",
"husky": "^8.0.3",
"jest": "^29.7.0",
"lint-staged": "^14.0.1",
"prettier": "3.0.3",
"semantic-release": "^22.0.5",
"ts-jest": "^29.1.1",
"typescript": "^5.2.2"
},
"repository": {
"type": "git",
"url": "https://github.com/ahmeducf/s-jwt.git"
},
"release": {
"branches": [
"main",
{
"name": "develop",
"prerelease": "rc"
},
{
"name": "beta",
"prerelease": "beta"
}
]
},
"publishConfig": {
"access": "public"
},
"dependencies": {
"buffer-equal-constant-time": "^1.0.1",
"ecdsa-sig-formatter": "^1.0.11",
"ms": "^2.1.3"
},
"lint-staged": {
"*.{js,jsx, ts, tsx}": [
"eslint --fix",
"npx prettier --write"
],
"*.{html,css,md}": "prettier --write"
}
}