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"
|
|
|
|
],
|
|
|
|
"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-05-23 01:08:06 +00:00
|
|
|
"@rollup/plugin-commonjs": "^25.0.8",
|
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-05-08 13:02:45 +00:00
|
|
|
"rollup": "^4.17.2",
|
2023-11-24 09:50:02 +00:00
|
|
|
"shx": "^0.3.4"
|
2023-03-03 12:56:53 +00:00
|
|
|
},
|
|
|
|
"dependencies": {
|
2024-01-25 17:08:41 +00:00
|
|
|
"js-sha256": "^0.11.0",
|
2023-10-27 12:20:43 +00:00
|
|
|
"jwt-decode": "^4.0.0"
|
2023-03-03 12:56:53 +00:00
|
|
|
}
|
|
|
|
}
|