-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
120 lines (120 loc) · 3.11 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
{
"name": "jwt-js-decode",
"version": "1.9.0",
"description": "Decode, sign/resign or verify JSON Web Tokens (JWT). Works in majority of modern browsers, Node.js and other JavaScript runtimes.",
"keywords": [
"jwt",
"browser",
"token",
"jsonwebtoken",
"hmac",
"rsa",
"node",
"typescript",
"ts",
"jwtDecode",
"jwtSign",
"jwtVerify",
"jwtResign",
"jwtSplit",
"decode",
"sign",
"verify",
"resign",
"split",
"decodeJwt",
"signJwt",
"verifyJwt",
"resignJwt",
"splitJwt"
],
"repository": {
"type": "git",
"url": "https://github.com/tomitribe/jwt-js-decode.git"
},
"license": "Apache-2.0",
"main": "./dist/jwt-js-decode.umd.js",
"module": "./dist/jwt-js-decode.esm.js",
"browser": "./dist/jwt-js-decode.min.js",
"typings": "./dist/types/index.d.ts",
"files": [
"dist"
],
"scripts": {
"prebuild": "rimraf dist && rimraf compiled",
"build": "rollup -c --bundleConfigAsCjs",
"postbuild": "npm run docs",
"dev": "rollup -c -w",
"predocs": "rimraf docs",
"docs": "typedoc --plugin typedoc-plugin-markdown",
"jest": "jest --verbose --no-cache",
"lint": "eslint -c .eslintrc.js --ext .ts 'src/**/*.ts' 'test/**/*.ts'",
"precommit": "lint-staged",
"pretest": "npm run build && rimraf coverage",
"test": "npm run jest --",
"test:prod": "npm run lint && npm run test -- --coverage --no-cache",
"test:watch": "jest --watch --no-cache"
},
"lint-staged": {
"*.{json,md}": [
"prettier --write",
"git add"
],
"*.js": [
"prettier --parser flow --write",
"git add"
],
"*.ts": [
"prettier --parser typescript --write",
"git add"
]
},
"dependencies": {
"pako": "2.1.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-terser": "^0.4.4",
"@types/jest": "^29.5.12",
"@types/node": "^20.12.7",
"@types/pako": "^2.0.3",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"babel-jest": "^29.7.0",
"browserify-sign": "^4.2.3",
"create-hash": "^1.2.0",
"create-hmac": "^1.1.7",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-standard-with-typescript": "^39.1.1",
"eslint-plugin-prettier": "^5.1.3",
"jest": "^29.7.0",
"jest-environment-jsdom": "29.7.0",
"lint-staged": "^15.2.2",
"lodash.camelcase": "^4.3.0",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"rollup": "^4.17.2",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-typescript2": "^0.36.0",
"ts-jest": "29.1.2",
"ts-node": "^10.9.2",
"tslib": "^2.6.2",
"typedoc": "^0.25.13",
"typedoc-plugin-markdown": "^3.17.1",
"typescript": "^5.4.5"
},
"engines": {
"node": ">=15.0.0"
},
"common": "./dist/jwt-js-decode.cjs.js",
"es6": "./dist/jwt-js-decode.es6.js",
"overrides": {
"@rollup/pluginutils": {
"rollup": "$rollup"
}
},
"packed": "./dist/jwt-js-decode.pkg.min.js"
}