forked from Psifi-Solutions/csrf-csrf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
63 lines (63 loc) · 1.8 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
{
"name": "@otterhttp/csrf-csrf",
"description": "Double-Submit Cookie Pattern CSRF Protection middleware for modern Node.js",
"type": "module",
"main": "./dist/index.js",
"exports": {
".": {
"require": {
"types": "./dist/index.d.cts",
"default": "./dist/index.cjs"
},
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
}
},
"types": "./dist/index.d.ts",
"files": ["dist/**"],
"scripts": {
"test": "vitest run --silent",
"test:coverage": "vitest run --silent --coverage --coverage.reporter=lcov",
"clean": "rm -rf ./dist",
"check": "biome check .",
"check:fix": "biome check --write .",
"build": "tsup",
"build:clean": "npm run clean && npm run build",
"prepublishOnly": "npm run build:clean",
"pack": "npm pack",
"pack:clean": "rm -rf *.tgz && npm run pack",
"prebuild": "npm run type-check",
"type-check": "tsc --noEmit"
},
"license": "LGPL-3.0-or-later",
"homepage": "https://github.com/otterjs/csrf-csrf",
"repository": "https://github.com/otterjs/csrf-csrf",
"keywords": ["csrf", "middleware", "tokens"],
"devDependencies": {
"@biomejs/biome": "^1.8.3",
"@otterhttp/app": "^3.4.3",
"@otterhttp/cookie": "^3.0.1",
"@otterhttp/cookie-signature": "^3.0.0",
"@otterhttp/request": "^3.4.1",
"@types/node": "^22.5.0",
"@types/tough-cookie": "^4.0.5",
"@vitest/coverage-istanbul": "^2.0.3",
"http-cookie-agent": "^6.0.5",
"standard-version": "^9.5.0",
"tough-cookie": "^4.1.4",
"ts-node": "^10.9.2",
"tsup": "^8.1.0",
"typescript": "^5.3.3",
"undici": "^6.19.8",
"vitest": "^2.0.3"
},
"dependencies": {
"@otterhttp/errors": "^0.2.0"
},
"engines": {
"node": ">= 20"
},
"packageManager": "[email protected]"
}