-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
121 lines (121 loc) · 2.97 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
110
111
112
113
114
115
116
117
118
119
120
121
{
"name": "@poppinss/oauth-client",
"version": "7.0.0",
"description": "A framework agnostic package to implement \"Login with\" flow using OAuth compliant authorization servers.",
"main": "build/index.js",
"type": "module",
"files": [
"build",
"!build/bin",
"!build/examples",
"!build/tests"
],
"exports": {
".": "./build/index.js",
"./oauth1": "./build/src/clients/oauth1/main.js",
"./oauth2": "./build/src/clients/oauth2/main.js",
"./types": "./build/src/types.js"
},
"engines": {
"node": ">=18.16.0"
},
"scripts": {
"pretest": "npm run lint",
"test": "c8 npm run quick:test",
"lint": "eslint .",
"format": "prettier --write .",
"typecheck": "tsc --noEmit",
"clean": "del-cli build",
"precompile": "npm run lint && npm run clean",
"compile": "tsup-node",
"build": "npm run compile && tsc --emitDeclarationOnly --declaration",
"version": "npm run build",
"prepublishOnly": "npm run build",
"release": "release-it",
"quick:test": "node --import=ts-node-maintained/register/esm --enable-source-maps bin/test.ts"
},
"devDependencies": {
"@adonisjs/eslint-config": "^2.0.0-beta.7",
"@adonisjs/prettier-config": "^1.4.0",
"@adonisjs/tsconfig": "^1.4.0",
"@japa/assert": "^4.0.0",
"@japa/runner": "^3.1.4",
"@release-it/conventional-changelog": "^9.0.4",
"@swc/core": "^1.10.2",
"@types/express": "^5.0.0",
"@types/node": "^22.10.2",
"c8": "^10.1.3",
"cookie-parser": "^1.4.7",
"del-cli": "^6.0.0",
"dotenv": "^16.4.7",
"eslint": "^9.17.0",
"express": "^4.21.2",
"nock": "^14.0.0-beta.19",
"prettier": "^3.4.2",
"release-it": "^17.11.0",
"ts-node-maintained": "^10.9.4",
"tsup": "^8.3.5",
"typescript": "^5.7.2"
},
"dependencies": {
"@poppinss/exception": "^1.2.0",
"ky": "^1.7.4"
},
"homepage": "https://github.com/poppinss/oauth-client#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/poppinss/oauth-client.git"
},
"bugs": {
"url": "https://github.com/poppinss/oauth-client/issues"
},
"keywords": [
"oauth",
"oauth1",
"oauth2"
],
"author": "virk,poppinss",
"license": "MIT",
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"publishConfig": {
"access": "public",
"tag": "latest"
},
"np": {
"message": "chore(release): %s",
"tag": "latest",
"branch": "main",
"anyBranch": false
},
"c8": {
"reporter": [
"text",
"html"
],
"exclude": [
"tests/**"
]
},
"eslintConfig": {
"extends": "@adonisjs/eslint-config/package"
},
"prettier": "@adonisjs/prettier-config",
"tsup": {
"entry": [
"./index.ts",
"./src/clients/oauth1/main.ts",
"./src/clients/oauth2/main.ts",
"./src/types.ts"
],
"outDir": "./build",
"clean": true,
"format": "esm",
"dts": false,
"sourcemap": true,
"target": "esnext"
}
}