-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
79 lines (79 loc) · 2.13 KB
/
package.json
File metadata and controls
79 lines (79 loc) · 2.13 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
{
"name": "astro-tokenkit",
"version": "1.0.26",
"description": "A powerful API client for Astro with automatic token rotation, session management, and seamless context integration.",
"main": "dist/index.js",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
},
"./middleware": {
"types": "./dist/middleware.d.ts",
"import": "./dist/middleware.js",
"require": "./dist/middleware.cjs"
},
"./client-init": {
"types": "./dist/client/tk-client.d.ts",
"import": "./dist/client/tk-client.js",
"require": "./dist/client/tk-client.cjs"
}
},
"files": [
"dist"
],
"keywords": [
"astro",
"astro-integration",
"auth",
"token",
"jwt",
"api-client",
"refresh-token",
"middleware"
],
"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/",
"playground": "cd playground && npm install && npm run dev",
"prepublishOnly": "npm run clean && npm run build && npm run types:bundle",
"prepare": "npm run prepublishOnly"
},
"peerDependencies": {
"astro": "^4.0.0 || ^5.0.0"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^16.0.3",
"@rollup/plugin-typescript": "^12.3.0",
"@types/node": "^20.19.37",
"astro": "^6.0.2",
"rimraf": "^6.1.3",
"rollup": "^4.59.0",
"rollup-plugin-dts": "^6.3.0",
"tslib": "^2.8.1",
"typescript": "^5.3.3",
"vitest": "^1.2.1"
},
"private": false,
"license": "MIT",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"repository": {
"type": "git",
"url": "git+https://github.com/oamm/astro-tokenkit.git"
},
"bugs": {
"url": "https://github.com/oamm/astro-tokenkit/issues"
},
"homepage": "https://github.com/oamm/astro-tokenkit#readme"
}