cdfd46f191
Closes #33277 Signed-off-by: Jon Koops <jonkoops@gmail.com>
76 lines
1.8 KiB
JSON
76 lines
1.8 KiB
JSON
{
|
|
"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",
|
|
"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"
|
|
}
|
|
}
|
|
},
|
|
"files": [
|
|
"dist"
|
|
],
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"scripts": {
|
|
"build": "wireit",
|
|
"duplicate-types": "shx cp dist/keycloak.d.ts dist/keycloak.d.mts && shx cp dist/keycloak-authz.d.ts dist/keycloak-authz.d.mts",
|
|
"prepublishOnly": "pnpm build"
|
|
},
|
|
"wireit": {
|
|
"build": {
|
|
"command": "rollup --config --configPlugin typescript && pnpm duplicate-types",
|
|
"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": {
|
|
"@rollup/plugin-terser": "^0.4.4",
|
|
"@rollup/plugin-typescript": "^12.1.0",
|
|
"rollup": "^4.22.4",
|
|
"shx": "^0.3.4"
|
|
}
|
|
}
|