-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
67 lines (67 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
63
64
65
66
67
{
"name": "@mgcrea/fastify-session-sodium-crypto",
"version": "1.2.0",
"description": "Fast sodium-based crypto for fastify-session",
"author": "Olivier Louvignes <[email protected]>",
"repository": "github:mgcrea/fastify-session-sodium-crypto",
"license": "MIT",
"type": "module",
"exports": {
".": {
"require": "./dist/index.cjs",
"import": "./dist/index.js"
}
},
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"bin": {
"fastify-session-sodium-crypto": "./dist/bin/cli.cjs"
},
"files": [
"dist"
],
"scripts": {
"start": "npm run spec -- --watch",
"build": "tsup --entry src/index.ts --format cjs,esm --sourcemap --dts --clean --entry src/bin/cli.ts",
"postbuild": "shebang-trim dist/bin/cli.js dist/bin/cli.cjs",
"lint": "eslint src/ test/",
"prettycheck": "prettier --check src/ test/",
"prettify": "prettier --write src/ test/",
"typecheck": "tsc --noEmit",
"spec": "DEBUG=fastify-session* vitest --run",
"test": "npm run lint && npm run prettycheck && npm run typecheck && npm run spec",
"prepublishOnly": "npm run build",
"benchmark": "tsx test/benchmark/cryptoSeal.ts; tsx test/benchmark/cryptoUnseal.ts"
},
"keywords": [
"fastify",
"session",
"sodium",
"crypto"
],
"peerDependencies": {
"@mgcrea/fastify-session": ">=1",
"sodium-native": ">=4"
},
"devDependencies": {
"@mgcrea/eslint-config-node": "^0.10.0",
"@mgcrea/fastify-session": "^2.3.0",
"@tsconfig/node-lts": "^20.1.1",
"@tsconfig/strictest": "^2.0.3",
"@types/benchmark": "^2.1.5",
"@types/node": "^20.11.25",
"@types/sodium-native": "^2.3.9",
"benchmark": "^2.1.4",
"eslint": "^8.57.0",
"prettier": "^3.2.5",
"prettier-plugin-organize-imports": "^3.2.4",
"shebang-trim": "^1.2.0",
"sodium-native": "^4.0.10",
"tsup": "^8.0.2",
"tsx": "^4.7.1",
"typescript": "^5.4.2",
"vite-tsconfig-paths": "^4.3.1",
"vitest": "^1.3.1"
}
}