forked from jasonraimondi/ts-oauth2-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
109 lines (109 loc) · 2.63 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
{
"name": "@jmondi/oauth2-server",
"version": "3.0.2",
"packageManager": "[email protected]",
"type": "module",
"author": "Jason Raimondi <[email protected]>",
"funding": "https://github.com/sponsors/jasonraimondi",
"license": "MIT",
"scripts": {
"clean": "rimraf dist",
"prebuild": "run-s clean",
"bundle": "tsup",
"build": "run-s clean bundle",
"start": "tsc -p tsconfig.build.json --watch",
"test": "vitest run",
"test:watch": "vitest",
"test:cov": "vitest run --coverage",
"format": "prettier --write \"**/*.ts\"",
"prepublishOnly": "run-s build test",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:preview": "vitepress preview docs"
},
"exports": {
".": "./src/index.ts",
"./express": "./src/adapters/express.ts",
"./fastify": "./src/adapters/fastify.ts"
},
"publishConfig": {
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts"
},
"./express": {
"import": "./dist/express.js",
"require": "./dist/express.cjs",
"types": "./dist/express.d.ts"
},
"./fastify": {
"import": "./dist/fastify.js",
"require": "./dist/fastify.cjs",
"types": "./dist/fastify.d.ts"
}
},
"typesVersions": {
"*": {
"*": [
"./dist/*",
"./dist/index.d.ts"
]
}
}
},
"files": [
"dist",
"src"
],
"engines": {
"node": ">=16"
},
"devDependencies": {
"@types/body-parser": "^1.19.2",
"@types/express": "^4.17.17",
"@types/jsonwebtoken": "^9.0.2",
"@types/ms": "^0.7.31",
"@types/node": "^20.2.5",
"@types/supertest": "^2.0.12",
"@vitest/coverage-istanbul": "^0.31.4",
"body-parser": "^1.20.2",
"express": "^4.18.2",
"fastify": "^4.17.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.8",
"rimraf": "^5.0.1",
"supertest": "^6.3.3",
"tslib": "^2.5.2",
"tsup": "^6.7.0",
"typescript": "^5.1.3",
"vite": "^4.3.9",
"vitepress": "1.0.0-beta.1",
"vitest": "^0.31.4"
},
"dependencies": {
"jsonwebtoken": "^9.0.0",
"ms": "^2.1.3",
"uri-js": "^4.4.1"
},
"tsup": {
"entry": {
"index": "./src/index.ts",
"express": "./src/adapters/express.ts",
"fastify": "./src/adapters/fastify.ts"
},
"format": [
"cjs",
"esm"
],
"target": "node16",
"clean": true,
"dts": true,
"splitting": false,
"sourcemap": true
}
}