-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
71 lines (71 loc) · 1.98 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
{
"name": "@mgcrea/fastify-session",
"version": "2.4.1",
"description": "Session plugin for fastify written in TypeScript supporting both stateless and stateful sessions",
"author": "Olivier Louvignes <olivier@mgcrea.io>",
"repository": "github:mgcrea/fastify-session",
"license": "MIT",
"access": "public",
"type": "module",
"exports": {
".": {
"require": "./dist/index.cjs",
"import": "./dist/index.js"
}
},
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"start": "vitest --run",
"dev": "vitest --watch",
"build": "tsup src/index.ts --format cjs,esm --sourcemap --dts --clean",
"lint": "eslint src/ test/",
"prettycheck": "prettier --check src/ test/",
"prettify": "prettier --write src/ test/",
"typecheck": "tsc --noEmit",
"spec": "vitest --run",
"test": "npm run lint && npm run prettycheck && npm run typecheck && npm run spec",
"prepublishOnly": "npm run build"
},
"dependencies": {
"fastify-plugin": "^5.0.1",
"nanoid": "~4.0.2"
},
"devDependencies": {
"@fastify/cookie": "^11.0.1",
"@mgcrea/eslint-config-node": "^0.12.12",
"@mgcrea/fastify-session-redis-store": "^1.0.0",
"@mgcrea/fastify-session-sodium-crypto": "^1.2.0",
"@mgcrea/pino-pretty-compact": "^1.3.0",
"@tsconfig/node-lts": "^20.1.3",
"@tsconfig/strictest": "^2.0.5",
"@types/benchmark": "^2.1.5",
"@types/node": "^20.16.12",
"@types/sodium-native": "^2.3.9",
"benchmark": "^2.1.4",
"eslint": "^9.12.0",
"fastify": "^5.0.0",
"ioredis": "^5.4.1",
"pino-pretty": "^11.3.0",
"prettier": "^3.3.3",
"prettier-plugin-organize-imports": "^4.1.0",
"rimraf": "^6.0.1",
"tsup": "^8.3.0",
"typescript": "^5.6.3",
"vite-tsconfig-paths": "^5.0.1",
"vitest": "^2.1.3"
},
"engines": {
"node": ">=14"
},
"keywords": [
"fastify",
"secure",
"session",
"sodium"
]
}