-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
65 lines (65 loc) · 1.58 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
{
"name": "encrypted-cookie-session",
"version": "dev",
"description": "Encrypted cookie based session middleware",
"type": "module",
"repository": {
"url": "git+https://github.com/guyeise5/encrypted-cookie-session.git"
},
"main": "build/cjs/index.js",
"scripts": {
"prepack": "npmignore --auto",
"build": "npm run build:cjs && npm run build:esm && npm run build:dec",
"build:cjs": "npm run babel",
"build:esm": "tsc -p tsconfig.esm.json",
"build:dec": "tsc -p tsconfig.dec.json",
"clean": "rm -rf ./build",
"babel": "babel src/index.ts --out-file ./build/cjs/index.js"
},
"exports": {
"types": "./build/types/index.d.ts",
"import": "./build/esm/index.js",
"require": "./build/cjs/index.js",
"default": "./build/cjs/index.js"
},
"publishConfig": {
"ignore": [
"!build/",
"src/",
"test/",
".github/",
".gitignore",
"tsconfig*.json",
"examples/",
".babelrc"
]
},
"engines": {
"node": ">= 0.10.0"
},
"keywords": [
"express",
"router",
"session",
"middleware"
],
"author": "",
"license": "MIT",
"dependencies": {
"cookie-parser": "^1.4.6",
"express": "^4.21.0",
"on-headers": "^1.0.2"
},
"devDependencies": {
"@babel/cli": "^7.25.6",
"@babel/core": "^7.25.2",
"@babel/preset-env": "^7.25.4",
"@babel/preset-typescript": "^7.24.7",
"@types/cookie-parser": "^1.4.7",
"@types/express": "^5.0.0",
"babel-plugin-add-module-exports": "^1.0.4",
"nodemon": "^3.1.7",
"npmignore": "^0.3.1",
"tsx": "^4.19.1"
}
}