2023-03-03 12:56:53 +00:00
|
|
|
{
|
|
|
|
"name": "keycloak-js",
|
|
|
|
"version": "999.0.0-SNAPSHOT",
|
|
|
|
"description": "A client-side JavaScript OpenID Connect library that can be used to secure web applications",
|
|
|
|
"main": "./dist/keycloak.js",
|
|
|
|
"module": "./dist/keycloak.mjs",
|
|
|
|
"types": "./dist/keycloak.d.ts",
|
2023-11-24 09:50:02 +00:00
|
|
|
"exports": {
|
|
|
|
".": {
|
|
|
|
"import": {
|
|
|
|
"types": "./dist/keycloak.d.mts",
|
|
|
|
"default": "./dist/keycloak.mjs"
|
|
|
|
},
|
|
|
|
"require": {
|
|
|
|
"types": "./dist/keycloak.d.ts",
|
|
|
|
"default": "./dist/keycloak.js"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"./authz": {
|
|
|
|
"import": {
|
|
|
|
"types": "./dist/keycloak-authz.d.mts",
|
|
|
|
"default": "./dist/keycloak-authz.mjs"
|
|
|
|
},
|
|
|
|
"require": {
|
|
|
|
"types": "./dist/keycloak-authz.d.ts",
|
|
|
|
"default": "./dist/keycloak-authz.js"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2023-03-03 12:56:53 +00:00
|
|
|
"files": [
|
|
|
|
"dist"
|
|
|
|
],
|
2024-06-21 12:15:53 +00:00
|
|
|
"publishConfig": {
|
|
|
|
"access": "public"
|
|
|
|
},
|
2023-03-03 12:56:53 +00:00
|
|
|
"scripts": {
|
|
|
|
"build": "wireit",
|
2023-11-24 09:50:02 +00:00
|
|
|
"duplicate-types": "shx cp dist/keycloak.d.ts dist/keycloak.d.mts && shx cp dist/keycloak-authz.d.ts dist/keycloak-authz.d.mts",
|
2024-04-02 14:14:58 +00:00
|
|
|
"prepublishOnly": "pnpm build"
|
2023-03-03 12:56:53 +00:00
|
|
|
},
|
|
|
|
"wireit": {
|
|
|
|
"build": {
|
2024-04-02 14:14:58 +00:00
|
|
|
"command": "rollup --config --configPlugin typescript && pnpm duplicate-types",
|
2023-03-03 12:56:53 +00:00
|
|
|
"files": [
|
|
|
|
"src/**",
|
|
|
|
"package.json",
|
|
|
|
"rollup.config.ts",
|
|
|
|
"tsconfig.json"
|
|
|
|
],
|
|
|
|
"output": [
|
|
|
|
"dist/**",
|
|
|
|
"!dist/*.d.ts"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/keycloak/keycloak"
|
|
|
|
},
|
|
|
|
"author": "Keycloak",
|
|
|
|
"license": "Apache-2.0",
|
|
|
|
"homepage": "https://www.keycloak.org",
|
|
|
|
"keywords": [
|
|
|
|
"keycloak",
|
|
|
|
"sso",
|
|
|
|
"oauth",
|
|
|
|
"oauth2",
|
|
|
|
"authentication"
|
|
|
|
],
|
|
|
|
"devDependencies": {
|
2024-06-06 01:00:22 +00:00
|
|
|
"@rollup/plugin-commonjs": "^26.0.1",
|
2023-10-17 10:01:28 +00:00
|
|
|
"@rollup/plugin-inject": "^5.0.5",
|
2023-10-09 12:30:32 +00:00
|
|
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
2023-10-08 12:39:20 +00:00
|
|
|
"@rollup/plugin-terser": "^0.4.4",
|
2024-01-10 08:51:57 +00:00
|
|
|
"@rollup/plugin-typescript": "^11.1.6",
|
2023-03-03 12:56:53 +00:00
|
|
|
"es6-promise": "^4.2.8",
|
2024-09-02 07:33:39 +00:00
|
|
|
"rollup": "^4.21.2",
|
2023-11-24 09:50:02 +00:00
|
|
|
"shx": "^0.3.4"
|
2023-03-03 12:56:53 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2024-09-02 07:34:06 +00:00
|
|
|
"@noble/hashes": "^1.5.0",
|
2023-10-27 12:20:43 +00:00
|
|
|
"jwt-decode": "^4.0.0"
|
2023-03-03 12:56:53 +00:00
|
|
|
}
|
|
|
|
}
|