keycloak/js/apps/account-ui/package.json
Mikail 0f573d19bf
fix: add missing NPM metadata (#42553)
This adds the missing `license` metadata, as well as other fields that were
only present in [js/libs/keycloak-admin-client/package.json] (author and URLs).

This is problematic for license scanners as the projects were flagged as not
having a license (e.g., https://www.npmjs.com/package/@keycloak/keycloak-ui-shared/v/26.3.3,
we can see 'License' field having the value 'none' on the page).

Other fields were also added (author and URLs) for consistency with
https://www.npmjs.com/package/@keycloak/keycloak-admin-client, however they
aren't critical.

Packages that are private (`js/themes-vendor/package.json`, `js/package.json`
and `js/apps/keycloak-server/package.json`) were also updated for consistency.

[js/libs/keycloak-admin-client/package.json]: d98c474cdc/js/libs/keycloak-admin-client/package.json (L57-L67)

Closes: #42552

Signed-off-by: Mikail Kocak <mikail.kocak@saleor.io>
2025-10-15 08:41:59 -04:00

120 lines
2.9 KiB
JSON

{
"name": "@keycloak/keycloak-account-ui",
"version": "999.0.0-SNAPSHOT",
"type": "module",
"main": "lib/keycloak-account-ui.js",
"types": "./lib/keycloak-account-ui.d.ts",
"exports": {
".": {
"import": "./lib/keycloak-account-ui.js",
"types": "./lib/keycloak-account-ui.d.ts"
}
},
"files": [
"lib"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"dev": "wireit",
"build": "wireit",
"build-lib": "wireit",
"preview": "wireit",
"lint": "wireit",
"test": "wireit"
},
"dependencies": {
"@keycloak/keycloak-ui-shared": "workspace:*",
"@patternfly/patternfly": "^5.4.2",
"@patternfly/react-core": "^5.4.14",
"@patternfly/react-icons": "^5.4.2",
"@patternfly/react-table": "^5.4.16",
"i18next": "^25.5.3",
"i18next-fetch-backend": "^6.0.0",
"keycloak-js": "^26.2.0",
"lodash-es": "^4.17.21",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-hook-form": "^7.63.0",
"react-i18next": "^16.0.0",
"react-router-dom": "^6.30.1"
},
"devDependencies": {
"@keycloak/keycloak-admin-client": "workspace:*",
"@playwright/test": "^1.55.1",
"@types/lodash-es": "^4.17.12",
"@types/react": "^18.3.18",
"@types/react-dom": "^18.3.5",
"@vitejs/plugin-react-swc": "^4.1.0",
"cross-env": "^10.1.0",
"lightningcss": "^1.30.1",
"vite": "^7.1.7",
"vite-plugin-checker": "^0.10.3",
"vite-plugin-dts": "^4.5.4"
},
"wireit": {
"dev": {
"command": "vite --host",
"dependencies": [
"../../libs/ui-shared:build",
"../../libs/keycloak-admin-client:build"
]
},
"preview": {
"command": "vite preview",
"dependencies": [
"../../libs/ui-shared:build",
"../../libs/keycloak-admin-client:build"
]
},
"build": {
"command": "vite build",
"dependencies": [
"../../libs/ui-shared:build",
"../../libs/keycloak-admin-client:build"
],
"files": [
"public",
"src",
"tsconfig.json",
"vite.config.ts"
],
"output": [
"target/classes/theme/keycloak.v3/account/resources"
]
},
"build-lib": {
"command": "cross-env LIB=true vite build",
"dependencies": [
"../../libs/ui-shared:build",
"../../libs/keycloak-admin-client:build"
]
},
"lint": {
"command": "eslint .",
"dependencies": [
"../../libs/ui-shared:build",
"../../libs/keycloak-admin-client:build"
]
},
"test": {
"command": "playwright test",
"dependencies": [
"../../libs/keycloak-admin-client:build"
]
}
},
"author": {
"name": "Red Hat, Inc.",
"url": "https://www.keycloak.org/"
},
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/keycloak/keycloak.git",
"directory": "js/apps/account-ui"
},
"homepage": "https://www.keycloak.org/"
}