Keycloak
81 строка · 2.0 Кб
1{
2"name": "keycloak-js",
3"version": "999.0.0-SNAPSHOT",
4"description": "A client-side JavaScript OpenID Connect library that can be used to secure web applications",
5"main": "./dist/keycloak.js",
6"module": "./dist/keycloak.mjs",
7"types": "./dist/keycloak.d.ts",
8"exports": {
9".": {
10"import": {
11"types": "./dist/keycloak.d.mts",
12"default": "./dist/keycloak.mjs"
13},
14"require": {
15"types": "./dist/keycloak.d.ts",
16"default": "./dist/keycloak.js"
17}
18},
19"./authz": {
20"import": {
21"types": "./dist/keycloak-authz.d.mts",
22"default": "./dist/keycloak-authz.mjs"
23},
24"require": {
25"types": "./dist/keycloak-authz.d.ts",
26"default": "./dist/keycloak-authz.js"
27}
28}
29},
30"files": [
31"dist"
32],
33"scripts": {
34"build": "wireit",
35"duplicate-types": "shx cp dist/keycloak.d.ts dist/keycloak.d.mts && shx cp dist/keycloak-authz.d.ts dist/keycloak-authz.d.mts",
36"prepublishOnly": "pnpm run build"
37},
38"wireit": {
39"build": {
40"command": "rollup --config --configPlugin typescript && pnpm run duplicate-types",
41"files": [
42"src/**",
43"package.json",
44"rollup.config.ts",
45"tsconfig.json"
46],
47"output": [
48"dist/**",
49"!dist/*.d.ts"
50]
51}
52},
53"repository": {
54"type": "git",
55"url": "https://github.com/keycloak/keycloak"
56},
57"author": "Keycloak",
58"license": "Apache-2.0",
59"homepage": "https://www.keycloak.org",
60"keywords": [
61"keycloak",
62"sso",
63"oauth",
64"oauth2",
65"authentication"
66],
67"devDependencies": {
68"@rollup/plugin-commonjs": "^25.0.7",
69"@rollup/plugin-inject": "^5.0.5",
70"@rollup/plugin-node-resolve": "^15.2.3",
71"@rollup/plugin-terser": "^0.4.4",
72"@rollup/plugin-typescript": "^11.1.6",
73"es6-promise": "^4.2.8",
74"rollup": "^4.12.0",
75"shx": "^0.3.4"
76},
77"dependencies": {
78"js-sha256": "^0.11.0",
79"jwt-decode": "^4.0.0"
80}
81}
82