@raybase/emdash 0.0.0 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/dist/auth.d.ts +3 -0
- package/dist/auth.d.ts.map +1 -0
- package/dist/auth.js +31 -0
- package/dist/auth.js.map +1 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -0
- package/dist/roles.d.ts +12 -0
- package/dist/roles.d.ts.map +1 -0
- package/dist/roles.js +37 -0
- package/dist/roles.js.map +1 -0
- package/dist/setup-guard.d.ts +11 -0
- package/dist/setup-guard.d.ts.map +1 -0
- package/dist/setup-guard.js +20 -0
- package/dist/setup-guard.js.map +1 -0
- package/package.json +40 -8
- package/README.md +0 -3
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Itself & Co
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/dist/auth.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../src/auth.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAKzC,wBAAsB,YAAY,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,GAAG,OAAO,CAAC,UAAU,CAAC,CAwBzF"}
|
package/dist/auth.js
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { verifyHandoff } from "@raybase/core/handoff-consumer";
|
|
2
|
+
import { resolveRaybaseEmDashRole } from "./roles.js";
|
|
3
|
+
export async function authenticate(request, config) {
|
|
4
|
+
const authConfig = config;
|
|
5
|
+
const principal = await verifyHandoff(request, authConfig);
|
|
6
|
+
if (!principal)
|
|
7
|
+
throw new Error("No Raybase handoff token present");
|
|
8
|
+
// A pass shows someone a thing; it never makes them an editor of it. Only an
|
|
9
|
+
// SSO handoff for a verified person carries the app roles the CMS grades by,
|
|
10
|
+
// so anything else — a link pass, a machine pass, a roleless identity — is
|
|
11
|
+
// refused here rather than mapped onto a default level.
|
|
12
|
+
if (principal.kind !== "identity")
|
|
13
|
+
throw new Error("Raybase handoff principal is not an identity");
|
|
14
|
+
if (!principal.roles?.length)
|
|
15
|
+
throw new Error("Raybase handoff principal carries no app roles");
|
|
16
|
+
const email = principal.email || `${principal.sub}@raybase.local`;
|
|
17
|
+
return {
|
|
18
|
+
email,
|
|
19
|
+
name: principal.name || email.split("@")[0] || "Raybase user",
|
|
20
|
+
role: resolveRaybaseEmDashRole(principal, authConfig),
|
|
21
|
+
subject: principal.sub,
|
|
22
|
+
metadata: {
|
|
23
|
+
appId: principal.appId,
|
|
24
|
+
resource: principal.resource,
|
|
25
|
+
issuer: principal.issuer,
|
|
26
|
+
roles: principal.roles,
|
|
27
|
+
jti: principal.jti
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=auth.js.map
|
package/dist/auth.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth.js","sourceRoot":"","sources":["../src/auth.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAE/D,OAAO,EAAE,wBAAwB,EAAE,MAAM,YAAY,CAAC;AAEtD,MAAM,CAAC,KAAK,UAAU,YAAY,CAAC,OAAgB,EAAE,MAAe;IAClE,MAAM,UAAU,GAAG,MAAiC,CAAC;IACrD,MAAM,SAAS,GAAG,MAAM,aAAa,CAAC,OAAO,EAAE,UAAU,CAAC,CAAC;IAC3D,IAAI,CAAC,SAAS;QAAE,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;IACpE,6EAA6E;IAC7E,6EAA6E;IAC7E,2EAA2E;IAC3E,wDAAwD;IACxD,IAAI,SAAS,CAAC,IAAI,KAAK,UAAU;QAAE,MAAM,IAAI,KAAK,CAAC,8CAA8C,CAAC,CAAC;IACnG,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,MAAM;QAAE,MAAM,IAAI,KAAK,CAAC,gDAAgD,CAAC,CAAC;IAChG,MAAM,KAAK,GAAG,SAAS,CAAC,KAAK,IAAI,GAAG,SAAS,CAAC,GAAG,gBAAgB,CAAC;IAClE,OAAO;QACL,KAAK;QACL,IAAI,EAAE,SAAS,CAAC,IAAI,IAAI,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,cAAc;QAC7D,IAAI,EAAE,wBAAwB,CAAC,SAAS,EAAE,UAAU,CAAC;QACrD,OAAO,EAAE,SAAS,CAAC,GAAG;QACtB,QAAQ,EAAE;YACR,KAAK,EAAE,SAAS,CAAC,KAAK;YACtB,QAAQ,EAAE,SAAS,CAAC,QAAQ;YAC5B,MAAM,EAAE,SAAS,CAAC,MAAM;YACxB,KAAK,EAAE,SAAS,CAAC,KAAK;YACtB,GAAG,EAAE,SAAS,CAAC,GAAG;SACnB;KACF,CAAC;AACJ,CAAC"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { AuthDescriptor } from "emdash";
|
|
2
|
+
import type { RaybaseHandoffConsumerConfig } from "@raybase/core/handoff-consumer";
|
|
3
|
+
import type { RaybaseEmDashRoleConfig } from "./roles.js";
|
|
4
|
+
export type { RaybaseEmDashRoleConfig, RaybaseEmDashRoleName } from "./roles.js";
|
|
5
|
+
export { resolveRaybaseEmDashRole } from "./roles.js";
|
|
6
|
+
/**
|
|
7
|
+
* The CMS is an SSO resource: an editor signs into a thing they belong to, so
|
|
8
|
+
* the handoff consumer config carries the role mapping the CMS grades them by.
|
|
9
|
+
*/
|
|
10
|
+
export type RaybaseEmDashAuthConfig = RaybaseHandoffConsumerConfig & RaybaseEmDashRoleConfig;
|
|
11
|
+
export declare function raybaseAuth(config: RaybaseEmDashAuthConfig): AuthDescriptor;
|
|
12
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,QAAQ,CAAC;AAC7C,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,gCAAgC,CAAC;AACnF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAE1D,YAAY,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AACjF,OAAO,EAAE,wBAAwB,EAAE,MAAM,YAAY,CAAC;AAEtD;;;GAGG;AACH,MAAM,MAAM,uBAAuB,GAAG,4BAA4B,GAAG,uBAAuB,CAAC;AAE7F,wBAAgB,WAAW,CAAC,MAAM,EAAE,uBAAuB,GAAG,cAAc,CAM3E"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,wBAAwB,EAAE,MAAM,YAAY,CAAC;AAQtD,MAAM,UAAU,WAAW,CAAC,MAA+B;IACzD,OAAO;QACL,IAAI,EAAE,SAAS;QACf,UAAU,EAAE,sBAAsB;QAClC,MAAM;KACP,CAAC;AACJ,CAAC"}
|
package/dist/roles.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { RaybaseHandoffPrincipal } from "@raybase/core/handoff-consumer";
|
|
2
|
+
export type RaybaseEmDashRoleName = "subscriber" | "contributor" | "author" | "editor" | "admin";
|
|
3
|
+
export type RaybaseEmDashRoleConfig = {
|
|
4
|
+
roleMapping?: Record<string, number | RaybaseEmDashRoleName>;
|
|
5
|
+
defaultRole?: number | RaybaseEmDashRoleName;
|
|
6
|
+
};
|
|
7
|
+
/**
|
|
8
|
+
* Map an SSO handoff principal's app roles onto an EmDash level. A person with
|
|
9
|
+
* several mapped roles gets the highest one they hold.
|
|
10
|
+
*/
|
|
11
|
+
export declare function resolveRaybaseEmDashRole(principal: RaybaseHandoffPrincipal, config: RaybaseEmDashRoleConfig): number;
|
|
12
|
+
//# sourceMappingURL=roles.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"roles.d.ts","sourceRoot":"","sources":["../src/roles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AAE9E,MAAM,MAAM,qBAAqB,GAAG,YAAY,GAAG,aAAa,GAAG,QAAQ,GAAG,QAAQ,GAAG,OAAO,CAAC;AAEjG,MAAM,MAAM,uBAAuB,GAAG;IACpC,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,qBAAqB,CAAC,CAAC;IAC7D,WAAW,CAAC,EAAE,MAAM,GAAG,qBAAqB,CAAC;CAC9C,CAAC;AAoBF;;;GAGG;AACH,wBAAgB,wBAAwB,CAAC,SAAS,EAAE,uBAAuB,EAAE,MAAM,EAAE,uBAAuB,GAAG,MAAM,CAWpH"}
|
package/dist/roles.js
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
// EmDash grades its users by level, not by name; these are the levels the CMS
|
|
2
|
+
// itself ships. Apps map Raybase app roles onto them in `roleMapping`.
|
|
3
|
+
const roleLevels = {
|
|
4
|
+
subscriber: 10,
|
|
5
|
+
contributor: 20,
|
|
6
|
+
author: 30,
|
|
7
|
+
editor: 40,
|
|
8
|
+
admin: 50
|
|
9
|
+
};
|
|
10
|
+
const validRoleLevels = new Set(Object.values(roleLevels));
|
|
11
|
+
function roleLevel(value) {
|
|
12
|
+
if (typeof value === "string")
|
|
13
|
+
return roleLevels[value] ?? null;
|
|
14
|
+
if (typeof value === "number" && validRoleLevels.has(value))
|
|
15
|
+
return value;
|
|
16
|
+
return null;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Map an SSO handoff principal's app roles onto an EmDash level. A person with
|
|
20
|
+
* several mapped roles gets the highest one they hold.
|
|
21
|
+
*/
|
|
22
|
+
export function resolveRaybaseEmDashRole(principal, config) {
|
|
23
|
+
const mapping = config.roleMapping ?? {};
|
|
24
|
+
let role = null;
|
|
25
|
+
for (const claim of principal.roles ?? []) {
|
|
26
|
+
const mapped = roleLevel(mapping[claim]);
|
|
27
|
+
if (mapped)
|
|
28
|
+
role = role ? Math.max(role, mapped) : mapped;
|
|
29
|
+
}
|
|
30
|
+
if (role)
|
|
31
|
+
return role;
|
|
32
|
+
const fallback = roleLevel(config.defaultRole);
|
|
33
|
+
if (fallback)
|
|
34
|
+
return fallback;
|
|
35
|
+
throw new Error("Raybase handoff principal does not map to an EmDash role");
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=roles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"roles.js","sourceRoot":"","sources":["../src/roles.ts"],"names":[],"mappings":"AASA,8EAA8E;AAC9E,uEAAuE;AACvE,MAAM,UAAU,GAA0C;IACxD,UAAU,EAAE,EAAE;IACd,WAAW,EAAE,EAAE;IACf,MAAM,EAAE,EAAE;IACV,MAAM,EAAE,EAAE;IACV,KAAK,EAAE,EAAE;CACV,CAAC;AAEF,MAAM,eAAe,GAAG,IAAI,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,CAAC;AAE3D,SAAS,SAAS,CAAC,KAAiD;IAClE,IAAI,OAAO,KAAK,KAAK,QAAQ;QAAE,OAAO,UAAU,CAAC,KAAK,CAAC,IAAI,IAAI,CAAC;IAChE,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,eAAe,CAAC,GAAG,CAAC,KAAK,CAAC;QAAE,OAAO,KAAK,CAAC;IAC1E,OAAO,IAAI,CAAC;AACd,CAAC;AAED;;;GAGG;AACH,MAAM,UAAU,wBAAwB,CAAC,SAAkC,EAAE,MAA+B;IAC1G,MAAM,OAAO,GAAG,MAAM,CAAC,WAAW,IAAI,EAAE,CAAC;IACzC,IAAI,IAAI,GAAkB,IAAI,CAAC;IAC/B,KAAK,MAAM,KAAK,IAAI,SAAS,CAAC,KAAK,IAAI,EAAE,EAAE,CAAC;QAC1C,MAAM,MAAM,GAAG,SAAS,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC;QACzC,IAAI,MAAM;YAAE,IAAI,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC;IAC5D,CAAC;IACD,IAAI,IAAI;QAAE,OAAO,IAAI,CAAC;IACtB,MAAM,QAAQ,GAAG,SAAS,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;IAC/C,IAAI,QAAQ;QAAE,OAAO,QAAQ,CAAC;IAC9B,MAAM,IAAI,KAAK,CAAC,0DAA0D,CAAC,CAAC;AAC9E,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { RaybaseEmDashAuthConfig } from "./index.js";
|
|
2
|
+
export type RaybaseEmDashSetupGuardOptions = {
|
|
3
|
+
allowDevBypass?: boolean;
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* EmDash's first-run setup would otherwise mint a CMS owner for whoever finds
|
|
7
|
+
* it first. Guard it with the same handoff the rest of the CMS uses: a
|
|
8
|
+
* navigation bounces to the hub, anything else gets a 401.
|
|
9
|
+
*/
|
|
10
|
+
export declare function guardRaybaseEmDashSetup(request: Request, config: RaybaseEmDashAuthConfig, options?: RaybaseEmDashSetupGuardOptions): Promise<Response | null>;
|
|
11
|
+
//# sourceMappingURL=setup-guard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"setup-guard.d.ts","sourceRoot":"","sources":["../src/setup-guard.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAC;AAE1D,MAAM,MAAM,8BAA8B,GAAG;IAC3C,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,CAAC;AAQF;;;;GAIG;AACH,wBAAsB,uBAAuB,CAC3C,OAAO,EAAE,OAAO,EAChB,MAAM,EAAE,uBAAuB,EAC/B,OAAO,GAAE,8BAAmC,GAC3C,OAAO,CAAC,QAAQ,GAAG,IAAI,CAAC,CAI1B"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { requireHandoff } from "@raybase/core/handoff-consumer";
|
|
2
|
+
function isEmDashSetupPath(pathname, allowDevBypass) {
|
|
3
|
+
if (pathname === "/_emdash/admin/setup" || pathname.startsWith("/_emdash/admin/setup/"))
|
|
4
|
+
return true;
|
|
5
|
+
if (allowDevBypass && pathname === "/_emdash/api/setup/dev-bypass")
|
|
6
|
+
return false;
|
|
7
|
+
return pathname === "/_emdash/api/setup" || pathname.startsWith("/_emdash/api/setup/");
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* EmDash's first-run setup would otherwise mint a CMS owner for whoever finds
|
|
11
|
+
* it first. Guard it with the same handoff the rest of the CMS uses: a
|
|
12
|
+
* navigation bounces to the hub, anything else gets a 401.
|
|
13
|
+
*/
|
|
14
|
+
export async function guardRaybaseEmDashSetup(request, config, options = {}) {
|
|
15
|
+
const url = new URL(request.url);
|
|
16
|
+
if (!isEmDashSetupPath(url.pathname, options.allowDevBypass ?? false))
|
|
17
|
+
return null;
|
|
18
|
+
return requireHandoff(request, config);
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=setup-guard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"setup-guard.js","sourceRoot":"","sources":["../src/setup-guard.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAOhE,SAAS,iBAAiB,CAAC,QAAgB,EAAE,cAAuB;IAClE,IAAI,QAAQ,KAAK,sBAAsB,IAAI,QAAQ,CAAC,UAAU,CAAC,uBAAuB,CAAC;QAAE,OAAO,IAAI,CAAC;IACrG,IAAI,cAAc,IAAI,QAAQ,KAAK,+BAA+B;QAAE,OAAO,KAAK,CAAC;IACjF,OAAO,QAAQ,KAAK,oBAAoB,IAAI,QAAQ,CAAC,UAAU,CAAC,qBAAqB,CAAC,CAAC;AACzF,CAAC;AAED;;;;GAIG;AACH,MAAM,CAAC,KAAK,UAAU,uBAAuB,CAC3C,OAAgB,EAChB,MAA+B,EAC/B,UAA0C,EAAE;IAE5C,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IACjC,IAAI,CAAC,iBAAiB,CAAC,GAAG,CAAC,QAAQ,EAAE,OAAO,CAAC,cAAc,IAAI,KAAK,CAAC;QAAE,OAAO,IAAI,CAAC;IACnF,OAAO,cAAc,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC;AACzC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,16 +1,48 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@raybase/emdash",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "
|
|
5
|
-
"license": "
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Raybase SSO adapter for EmDash sites: verifies a Raybase handoff and hands EmDash the editor.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "./dist/index.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"default": "./dist/index.js"
|
|
13
|
+
},
|
|
14
|
+
"./auth": {
|
|
15
|
+
"types": "./dist/auth.d.ts",
|
|
16
|
+
"default": "./dist/auth.js"
|
|
17
|
+
},
|
|
18
|
+
"./setup-guard": {
|
|
19
|
+
"types": "./dist/setup-guard.d.ts",
|
|
20
|
+
"default": "./dist/setup-guard.js"
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"files": [
|
|
24
|
+
"dist"
|
|
25
|
+
],
|
|
26
|
+
"dependencies": {
|
|
27
|
+
"@raybase/core": "0.3.3"
|
|
28
|
+
},
|
|
29
|
+
"peerDependencies": {
|
|
30
|
+
"emdash": "^0.23.0"
|
|
31
|
+
},
|
|
32
|
+
"devDependencies": {
|
|
33
|
+
"emdash": "0.23.0",
|
|
34
|
+
"typescript": "^5.8.3"
|
|
35
|
+
},
|
|
6
36
|
"repository": {
|
|
7
37
|
"type": "git",
|
|
8
|
-
"url": "git+https://github.com/raybasedev/raybase.git"
|
|
38
|
+
"url": "git+https://github.com/raybasedev/raybase.git",
|
|
39
|
+
"directory": "packages/emdash"
|
|
9
40
|
},
|
|
10
41
|
"publishConfig": {
|
|
11
42
|
"access": "public"
|
|
12
43
|
},
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
|
|
16
|
-
}
|
|
44
|
+
"scripts": {
|
|
45
|
+
"build": "tsc -p tsconfig.json",
|
|
46
|
+
"check": "tsc -p tsconfig.json --noEmit"
|
|
47
|
+
}
|
|
48
|
+
}
|
package/README.md
DELETED