forked from louie007/passport-keycloak-oauth2-oidc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
150 lines (150 loc) · 5.74 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
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
{
"name": "passport-keycloak-oauth2-oidc-portable",
"version": "2.6.1",
"description": "A Passport.js strategy for authenticating with Keycloak using the OAuth2/OIDC API (portable version)",
"main": "./cjs/index.js",
"module": "./lib/index.js",
"types": "./lib/index.d.ts",
"type": "module",
"files": [
"lib",
"cjs",
"README.md",
"LICENSE"
],
"exports": {
".": {
"require": "./cjs/index.js",
"import": "./lib/index.js",
"types": "./lib/index.d.ts"
}
},
"scripts": {
"prebuild": "yarn clean",
"pretest": "yarn install:puppeteer && yarn setup:test-env",
"pretest:e2e": "yarn install:puppeteer && yarn setup:test-env",
"pretest:integration": "yarn install:puppeteer && yarn setup:test-env",
"setup:test-env": "./test/scripts/setup-test-env.sh",
"setup:test-env:force": "FORCE_CLEANUP=true npm run setup:test-env",
"clean": "rimraf dist && rimraf lib && rimraf coverage && rimraf tsconfig.*.tsbuildinfo",
"clean:lib": "rimraf lib/dist lib/node_modules",
"install:puppeteer": "npx puppeteer browsers install chrome",
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js --config ./jest.config.mjs --passWithNoTests",
"test:unit": "node --experimental-vm-modules node_modules/jest/bin/jest.js --config ./jest.config.mjs test/unit",
"test:integration": "node --experimental-vm-modules node_modules/jest/bin/jest.js --config ./jest.config.mjs test/integration --detectOpenHandles --runInBand --verbose",
"test:e2e": "node --experimental-vm-modules --experimental-specifier-resolution=node node_modules/jest/bin/jest.js --config ./jest.config.mjs test/e2e --detectOpenHandles",
"test:package": "node --experimental-vm-modules node_modules/jest/bin/jest.js --config ./jest.config.mjs test/package",
"e2e:server": "tsx --tsconfig tsconfig.e2e.json test/e2e/server.ts",
"start:keycloak": "sudo docker compose -f test/bootstrap/keycloak/docker-compose.test.yml up -d --remove-orphans",
"stop:keycloak": "sudo docker compose -f test/bootstrap/keycloak/docker-compose.test.yml down",
"start:public-client": "tsx --tsconfig tsconfig.public-client.json ./samples/public-client-standalone.ts --auth http://localhost:3000",
"lint": "npx eslint .",
"lint:fix": "npx eslint . --fix",
"start:mock-server": "tsx test/mock-server.js",
"copy:assets": "cp -R samples/public dist/samples/public && cp -R samples/views dist/samples/views",
"copy:types": "cpx \"dist/**/*.d.ts*\" lib/",
"copy:cjs": "cpx dist/cjs/**/* lib/cjs/",
"build:src": "tsc --build tsconfig.src.json",
"build:samples": "tsc --build tsconfig.samples.json && yarn copy:assets",
"build:alias:src": "tsc-alias -p ./tsconfig.src.json",
"build:alias:samples": "tsc-alias -p ./tsconfig.samples.json",
"build:alias": "yarn build:alias:src && yarn build:alias:samples",
"build:esm": "tsc --build tsconfig.src.json",
"build:cjs": "tsc --build tsconfig.cjs.json",
"build:rollup": "rollup -c",
"build": "yarn clean && yarn build:esm && yarn build:cjs && yarn build:alias && yarn build:rollup && yarn copy:types && yarn copy:cjs && yarn clean:lib",
"prepare": "husky",
"commit": "cz",
"prepublishOnly": "yarn build",
"postpublish": "rimraf lib",
"release": "standard-version",
"publish:release": "yarn release && git push --follow-tags origin main && yarn publish",
"release:major": "standard-version --release-as major",
"release:minor": "standard-version --release-as minor",
"release:patch": "standard-version --release-as patch"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/brakmic/passport-keycloak-oauth2-oidc-portable.git"
},
"keywords": [
"passport",
"keycloak",
"oauth2",
"oidc",
"pkce"
],
"author": {
"name": "Harris Brakmic",
"url": "https://github.com/brakmic"
},
"contributors": [
{
"name": "Louis Bao",
"url": "https://github.com/louie007"
}
],
"license": "MIT",
"bugs": {
"url": "https://github.com/brakmic/passport-keycloak-oauth2-oidc-portable/issues"
},
"homepage": "https://github.com/brakmic/passport-keycloak-oauth2-oidc-portable#readme",
"engines": {
"node": ">=16.0.0"
},
"devDependencies": {
"@babel/cli": "^7.26.4",
"@babel/core": "^7.26.0",
"@babel/preset-env": "^7.26.0",
"@eslint/eslintrc": "^3.2.0",
"@jest/globals": "^29.7.0",
"@jest/transform": "^29.7.0",
"@rollup/plugin-commonjs": "^28.0.2",
"@rollup/plugin-node-resolve": "^16.0.0",
"@types/cors": "^2.8.17",
"@types/ejs": "^3.1.5",
"@types/express": "^5.0.0",
"@types/express-session": "^1.18.1",
"@types/jest": "^29.5.14",
"@types/jsonwebtoken": "^9.0.7",
"@types/node": "^22.13.1",
"@types/passport": "^1.0.17",
"@types/passport-oauth2": "^1.4.17",
"@types/yargs": "^17.0.33",
"@typescript-eslint/eslint-plugin": "^8.21.0",
"@typescript-eslint/parser": "^8.21.0",
"axios": "^1.7.9",
"commitizen": "^4.3.1",
"cors": "^2.8.5",
"cpx": "^1.5.0",
"cz-conventional-changelog": "^3.3.0",
"dotenv": "^16.4.7",
"ejs": "^3.1.10",
"eslint": "^9.18.0",
"eslint-plugin-jest": "^28.11.0",
"express": "^4.21.2",
"express-session": "^1.18.1",
"globals": "^15.14.0",
"husky": "^9.1.7",
"jest": "^29.7.0",
"jsonwebtoken": "^9.0.2",
"openid-client": "^5.7.1",
"passport": "^0.7.0",
"puppeteer": "^24.1.0",
"rimraf": "^6.0.1",
"rollup": "^4.34.2",
"standard-version": "^9.5.0",
"ts-jest": "^29.2.5",
"tsc-alias": "^1.8.10",
"typescript": "^5.7.3",
"yargs": "^17.7.2"
},
"dependencies": {
"passport-oauth2": "^1.8.0"
}
}