-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
62 lines (62 loc) · 2 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
{
"name": "jwtrust",
"version": "1.0.2",
"description": "A tiny library to sign and verify JWT tokens using **Rust** bindings for pure performance.",
"main": "dist/index.js",
"scripts": {
"build:ts": "tsup",
"build": "yarn build:rust && yarn build:ts",
"build:rust": "cargo-cp-artifact -nc index.node -- cargo build --message-format=json-render-diagnostics",
"build:debug": "yarn build:rust && yarn move-native",
"build:release": "yarn build:rust --release && yarn move-native",
"benchmark": "yarn build:release && BENCHMARK=true yarn build:ts && node dist/benchmark.js",
"release-native": "yarn build:release",
"move-native": "rm -rf native && mkdir native && mv ./index.node ./native/jwtrust.node",
"lint": "eslint src/**/*.ts",
"prettier": "prettier -c src/**/*.ts"
},
"binary": {
"module_name": "jwtrust",
"module_path": "./native",
"host": "https://github.com/dan-online/jwtrust/releases/download/",
"package_name": "{module_name}-v{version}-{node_abi}-{platform}-{arch}-{libc}.tar.gz",
"remote_path": "v{version}"
},
"author": "DanCodes <[email protected]>",
"repository": {
"type": "git",
"url": "https://github.com/dan-online/jwtrust.git"
},
"keywords": [
"jwt",
"jsonwebtoken",
"rust",
"speed",
"performance",
"sign",
"verify"
],
"license": "MIT",
"devDependencies": {
"@favware/colorette-spinner": "^1.0.1",
"@sapphire/eslint-config": "^5.0.0",
"@sapphire/ts-config": "^5.0.0",
"@swc/core": "^1.3.62",
"@types/jsonwebtoken": "^9.0.2",
"@types/node": "^22.8.6",
"@typescript-eslint/eslint-plugin": "^8.0.0",
"cargo-cp-artifact": "^0.1.8",
"eslint": "^9.0.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"fast-jwt": "^5.0.0",
"jsonwebtoken": "^9.0.0",
"prettier": "^2.8.8",
"tsup": "^8.0.1",
"typescript": "^5.1.3"
},
"dependencies": {
"@mapbox/node-pre-gyp": "^1.0.11"
},
"packageManager": "[email protected]"
}