-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
94 lines (94 loc) · 2.26 KB
/
package.json
File metadata and controls
94 lines (94 loc) · 2.26 KB
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"name": "astro-sessionkit",
"version": "0.1.23",
"description": "Simple session access and route protection for Astro applications",
"type": "module",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./server": {
"import": "./dist/server.js",
"types": "./dist/server.d.ts"
},
"./middleware": {
"import": "./dist/middleware.js",
"types": "./dist/middleware.d.ts"
},
"./guard": {
"import": "./dist/guard.js",
"types": "./dist/guard.d.ts"
}
},
"files": [
"dist",
"src",
"SECURITY.md",
"README.md"
],
"scripts": {
"build": "tsc --project tsconfig.json",
"types:bundle": "rollup -c rollup.config.mjs",
"clean": "rimraf dist",
"dev": "tsc --watch --project tsconfig.json",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"bench": "vitest bench run bench/",
"prepublishOnly": "npm run clean && npm run build && npm run types:bundle",
"prepare": "npm run prepublishOnly",
"playground:install": "cd playground && npm install",
"playground:dev": "cd playground && npm run dev"
},
"keywords": [
"astro",
"astrojs",
"session",
"authentication",
"authorization",
"rbac",
"permissions",
"route-protection",
"middleware",
"typescript",
"esm",
"withastro"
],
"author": "Alex Mora",
"license": "MIT",
"peerDependencies": {
"astro": "^4.0.0 || ^5.0.0"
},
"devDependencies": {
"@rollup/plugin-typescript": "^12.3.0",
"@vitest/ui": "^4.0.14",
"rimraf": "^6.0.1",
"rollup": "^4.46.2",
"rollup-plugin-dts": "^6.2.1",
"tslib": "^2.8.1",
"typescript": "^5.3.3",
"vite": "^6.4.1",
"vitest": "^3.2.4"
},
"engines": {
"node": ">=18"
},
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"repository": {
"type": "git",
"url": "git+https://github.com/oamm/astro-sessionkit.git"
},
"bugs": {
"url": "https://github.com/oamm/astro-sessionkit/issues"
},
"homepage": "https://github.com/oamm/astro-sessionkit#readme",
"dependencies": {
"@types/node": "^25.0.9",
"undici": "^7.18.2"
}
}