@elixir-cloud/trs-filer 2.0.0-alpha.1

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.
Files changed (36) hide show
  1. package/LICENSE +133 -0
  2. package/README.md +48 -0
  3. package/dist/chunks/chunk.3WU6NPWM.js +1 -0
  4. package/dist/chunks/chunk.5A4EA5NE.js +1803 -0
  5. package/dist/chunks/chunk.C5TPOPDW.js +10 -0
  6. package/dist/chunks/chunk.Q5GOJN3Z.js +849 -0
  7. package/dist/chunks/chunk.ULOGEPYW.js +23 -0
  8. package/dist/components/index.d.ts +1 -0
  9. package/dist/components/index.js +4 -0
  10. package/dist/components/tool-create/index.d.ts +8 -0
  11. package/dist/components/tool-create/index.js +3 -0
  12. package/dist/components/tool-create/tool-create.d.ts +75 -0
  13. package/dist/components/tool-create/tool-create.js +2 -0
  14. package/dist/components/tool-create/tw-styles.d.ts +1 -0
  15. package/dist/components/tool-create/tw-styles.js +1 -0
  16. package/dist/custom-elements.json +832 -0
  17. package/dist/events/ecc-tool-create-error.d.ts +6 -0
  18. package/dist/events/ecc-tool-create-success.d.ts +6 -0
  19. package/dist/events/ecc-tool-create-validation-error.d.ts +6 -0
  20. package/dist/events/ecc-tool-created.d.ts +6 -0
  21. package/dist/events/ecc-tools-change.d.ts +6 -0
  22. package/dist/events/ecc-tools-click.d.ts +6 -0
  23. package/dist/events/index.d.ts +6 -0
  24. package/dist/global.d.ts +1 -0
  25. package/dist/index.d.ts +1 -0
  26. package/dist/index.js +4 -0
  27. package/dist/providers/index.d.ts +4 -0
  28. package/dist/providers/rest-trs-filer-provider.d.ts +25 -0
  29. package/dist/providers/trs-filer-provider.d.ts +136 -0
  30. package/dist/react/ecc-client-elixir-trs-tool-create/index.d.ts +29 -0
  31. package/dist/react/ecc-client-elixir-trs-tool-create/index.js +3 -0
  32. package/dist/react/index.d.ts +1 -0
  33. package/dist/react/index.js +3 -0
  34. package/dist/vscode.html-custom-data.json +17 -0
  35. package/dist/web-types.json +129 -0
  36. package/package.json +79 -0
@@ -0,0 +1,6 @@
1
+ export type EccToolCreateErrorEvent = CustomEvent<Record<string, any>>;
2
+ declare global {
3
+ interface GlobalEventHandlersEventMap {
4
+ "ecc-tool-create-error": EccToolCreateErrorEvent;
5
+ }
6
+ }
@@ -0,0 +1,6 @@
1
+ export type EccToolCreateSuccessEvent = CustomEvent<Record<string, any>>;
2
+ declare global {
3
+ interface GlobalEventHandlersEventMap {
4
+ "ecc-tool-create-success": EccToolCreateSuccessEvent;
5
+ }
6
+ }
@@ -0,0 +1,6 @@
1
+ export type EccToolCreateValidationErrorEvent = CustomEvent<Record<string, any>>;
2
+ declare global {
3
+ interface GlobalEventHandlersEventMap {
4
+ "ecc-tool-create-validation-error": EccToolCreateValidationErrorEvent;
5
+ }
6
+ }
@@ -0,0 +1,6 @@
1
+ export type EccToolCreatedEvent = CustomEvent<Record<string, any>>;
2
+ declare global {
3
+ interface GlobalEventHandlersEventMap {
4
+ "ecc-tool-created": EccToolCreatedEvent;
5
+ }
6
+ }
@@ -0,0 +1,6 @@
1
+ export type EccToolsChangeEvent = CustomEvent<Record<string, any>>;
2
+ declare global {
3
+ interface GlobalEventHandlersEventMap {
4
+ "ecc-tools-change": EccToolsChangeEvent;
5
+ }
6
+ }
@@ -0,0 +1,6 @@
1
+ export type EccToolsClickEvent = CustomEvent<Record<string, any>>;
2
+ declare global {
3
+ interface GlobalEventHandlersEventMap {
4
+ "ecc-tools-click": EccToolsClickEvent;
5
+ }
6
+ }
@@ -0,0 +1,6 @@
1
+ export type { EccToolsChangeEvent } from "./ecc-tools-change.js";
2
+ export type { EccToolsClickEvent } from "./ecc-tools-click.js";
3
+ export type { EccToolCreatedEvent } from "./ecc-tool-created.js";
4
+ export type { EccToolCreateErrorEvent } from "./ecc-tool-create-error.js";
5
+ export type { EccToolCreateSuccessEvent } from "./ecc-tool-create-success.js";
6
+ export type { EccToolCreateValidationErrorEvent } from "./ecc-tool-create-validation-error.js";
@@ -0,0 +1 @@
1
+ export declare const GlobalStyles: import("lit").CSSResult;
@@ -0,0 +1 @@
1
+ import "./components/index.js";
package/dist/index.js ADDED
@@ -0,0 +1,4 @@
1
+ import './chunks/chunk.3WU6NPWM.js';
2
+ import './chunks/chunk.C5TPOPDW.js';
3
+ import './chunks/chunk.5A4EA5NE.js';
4
+ import './chunks/chunk.Q5GOJN3Z.js';
@@ -0,0 +1,4 @@
1
+ export { TrsFilerProvider } from "./trs-filer-provider.js";
2
+ export { RestTrsFilerProvider } from "./rest-trs-filer-provider.js";
3
+ export type { DescriptorType, DescriptorTypeWithPlain, DescriptorTypeVersion, ImageType, Tool, ToolClass, ToolVersion, ToolFile, FileWrapper, Checksum, ImageData, Error, TrsProvider, } from "./trs-filer-provider.js";
4
+ export type { TypeRegister, ToolRegister, ToolClassRegister, ToolClassRegisterId, ToolVersionRegister, ToolVersionRegisterId, ToolFileRegister, FileWrapperRegister, FilesRegister, ChecksumRegister, ImageDataRegister, Service, ServiceRegister, ServiceType, ServiceTypeRegister, Organization, } from "./trs-filer-provider.js";
@@ -0,0 +1,25 @@
1
+ import { TrsFilerProvider, DescriptorType, Tool, ToolClass, ToolFile, ToolVersion, FileWrapper, ToolRegister, ToolClassRegister, ToolVersionRegister } from "./trs-filer-provider.js";
2
+ /**
3
+ * Implementation of the TrsFilerProvider interface using direct REST API calls
4
+ * This class combines the functionality of TrsAPI and RestTrsProvider for TRS-Filer
5
+ */
6
+ export declare class RestTrsFilerProvider implements TrsFilerProvider {
7
+ readonly baseUrl: string;
8
+ constructor(baseUrl: string);
9
+ getToolClasses(): Promise<ToolClass[]>;
10
+ getToolsList(limit: number, offset: number, filters: Record<string, string | undefined | boolean>, query: string): Promise<Tool[]>;
11
+ getTool(url: string, id: string): Promise<Tool>;
12
+ getToolVersions(url: string, id: string): Promise<ToolVersion[]>;
13
+ getToolVersion(url: string, id: string, versionId: string): Promise<ToolVersion>;
14
+ getToolFiles(url: string, id: string, version: string, descriptorType: DescriptorType, format?: "zip"): Promise<ToolFile[]>;
15
+ getToolDescriptor(url: string, id: string, version: string, descriptorType: DescriptorType): Promise<FileWrapper>;
16
+ getToolDescriptorByPath(url: string, id: string, version: string, descriptorType: DescriptorType, path: string): Promise<FileWrapper>;
17
+ getContainerfile(url: string, id: string, version: string): Promise<FileWrapper[]>;
18
+ getToolTests(url: string, id: string, version: string, descriptorType: DescriptorType): Promise<FileWrapper[]>;
19
+ createTool(tool: ToolRegister): Promise<string>;
20
+ createToolWithId(id: string, tool: ToolRegister): Promise<string>;
21
+ createToolVersion(toolId: string, version: ToolVersionRegister): Promise<string>;
22
+ createToolVersionWithId(toolId: string, versionId: string, version: ToolVersionRegister): Promise<string>;
23
+ createToolClass(toolClass: ToolClassRegister): Promise<string>;
24
+ createToolClassWithId(id: string, toolClass: ToolClassRegister): Promise<string>;
25
+ }
@@ -0,0 +1,136 @@
1
+ /**
2
+ * Types for the GA4GH TRS API based on OpenAPI specification v2.0.1
3
+ */
4
+ import { TrsProvider, DescriptorType, DescriptorTypeWithPlain, DescriptorTypeVersion, ImageType, Tool, ToolClass, ToolVersion, ToolFile, FileWrapper, Checksum, ImageData, Error } from "@elixir-cloud/trs/providers";
5
+ /**
6
+ * TRS-Filer specific types that extend the base GA4GH TRS types
7
+ */
8
+ export interface ChecksumRegister {
9
+ checksum: string;
10
+ type: string;
11
+ }
12
+ export interface ImageDataRegister {
13
+ registry_host?: string;
14
+ image_name?: string;
15
+ size?: number;
16
+ updated?: string;
17
+ checksum?: ChecksumRegister[];
18
+ image_type?: ImageType;
19
+ }
20
+ export interface ToolClassRegister {
21
+ name: string;
22
+ description?: string;
23
+ }
24
+ export interface ToolClassRegisterId {
25
+ id: string;
26
+ name: string;
27
+ description?: string;
28
+ }
29
+ export interface ToolFileRegister {
30
+ path: string;
31
+ file_type: "TEST_FILE" | "PRIMARY_DESCRIPTOR" | "SECONDARY_DESCRIPTOR" | "CONTAINERFILE" | "OTHER";
32
+ }
33
+ export interface FileWrapperRegister {
34
+ content?: string;
35
+ url?: string;
36
+ checksum?: ChecksumRegister[];
37
+ }
38
+ export interface FilesRegister {
39
+ tool_file: ToolFileRegister;
40
+ file_wrapper: FileWrapperRegister;
41
+ type: TypeRegister;
42
+ }
43
+ export type TypeRegister = DescriptorType | ImageType;
44
+ export interface ToolVersionRegister {
45
+ author?: string[];
46
+ descriptor_type?: DescriptorType[];
47
+ files?: FilesRegister[];
48
+ images?: ImageDataRegister[];
49
+ included_apps?: string[];
50
+ is_production?: boolean;
51
+ name?: string;
52
+ signed?: boolean;
53
+ verified?: boolean;
54
+ verified_source?: string[];
55
+ }
56
+ export interface ToolVersionRegisterId {
57
+ id: string;
58
+ author?: string[];
59
+ descriptor_type?: DescriptorType[];
60
+ files?: FilesRegister[];
61
+ images?: ImageDataRegister[];
62
+ included_apps?: string[];
63
+ is_production?: boolean;
64
+ name?: string;
65
+ signed?: boolean;
66
+ verified?: boolean;
67
+ verified_source?: string[];
68
+ }
69
+ export interface ToolRegister {
70
+ aliases?: string[];
71
+ checker_url?: string;
72
+ description?: string;
73
+ has_checker?: boolean;
74
+ name?: string;
75
+ organization: string;
76
+ toolclass: ToolClassRegisterId;
77
+ versions: (ToolVersionRegister | ToolVersionRegisterId)[];
78
+ }
79
+ export interface ServiceType {
80
+ group: string;
81
+ artifact: string;
82
+ version: string;
83
+ }
84
+ export interface ServiceTypeRegister {
85
+ group: string;
86
+ artifact: string;
87
+ version: string;
88
+ }
89
+ export interface Organization {
90
+ name: string;
91
+ url: string;
92
+ }
93
+ export interface Service {
94
+ id: string;
95
+ name: string;
96
+ type: ServiceType;
97
+ organization: Organization;
98
+ version: string;
99
+ description?: string;
100
+ contactUrl?: string;
101
+ documentationUrl?: string;
102
+ createdAt?: string;
103
+ updatedAt?: string;
104
+ environment?: string;
105
+ }
106
+ export interface ServiceRegister {
107
+ id: string;
108
+ name: string;
109
+ type: ServiceTypeRegister;
110
+ organization: Organization;
111
+ version: string;
112
+ description?: string;
113
+ contactUrl?: string;
114
+ documentationUrl?: string;
115
+ createdAt?: string;
116
+ updatedAt?: string;
117
+ environment?: string;
118
+ }
119
+ /**
120
+ * Interface defining the operations required for TRS-Filer data providers
121
+ * Extends the base TrsProvider with TRS-Filer specific creation and deletion operations
122
+ */
123
+ export interface TrsFilerProvider extends TrsProvider {
124
+ createTool(tool: ToolRegister): Promise<string>;
125
+ createToolWithId(id: string, tool: ToolRegister): Promise<string>;
126
+ createToolVersion(toolId: string, version: ToolVersionRegister): Promise<string>;
127
+ createToolVersionWithId(toolId: string, versionId: string, version: ToolVersionRegister): Promise<string>;
128
+ createToolClass(toolClass: ToolClassRegister): Promise<string>;
129
+ createToolClassWithId(id: string, toolClass: ToolClassRegister): Promise<string>;
130
+ deleteTool?(id: string): Promise<string>;
131
+ deleteToolVersion?(toolId: string, versionId: string): Promise<string>;
132
+ deleteToolClass?(id: string): Promise<string>;
133
+ getServiceInfo?(): Promise<Service>;
134
+ createOrUpdateServiceInfo?(service: ServiceRegister): Promise<void>;
135
+ }
136
+ export { TrsProvider, DescriptorType, DescriptorTypeWithPlain, DescriptorTypeVersion, ImageType, Tool, ToolClass, ToolVersion, ToolFile, FileWrapper, Checksum, ImageData, Error };
@@ -0,0 +1,29 @@
1
+ import { ECCClientElixirTrsToolCreate as Component } from "../../components/tool-create/tool-create.js";
2
+ import type { EventName } from "@lit/react";
3
+ import type { EccToolCreateValidationErrorEvent } from "../../events/index.js";
4
+ import type { EccToolCreateErrorEvent } from "../../events/index.js";
5
+ import type { EccToolCreateSuccessEvent } from "../../events/index.js";
6
+ import type { EccToolCreatedEvent } from "../../events/index.js";
7
+ export type { EccToolCreateValidationErrorEvent } from "../../events/index.js";
8
+ export type { EccToolCreateErrorEvent } from "../../events/index.js";
9
+ export type { EccToolCreateSuccessEvent } from "../../events/index.js";
10
+ export type { EccToolCreatedEvent } from "../../events/index.js";
11
+ /**
12
+ * @summary Component for creating new tools in TRS-Filer
13
+ * @since 2.0.0
14
+ *
15
+ * @property {string} baseUrl - Base URL of the TRS instance/gateway
16
+ * @property {TrsProvider} provider - Custom data provider (optional, overrides baseUrl)
17
+ *
18
+ * @fires ecc-tool-created - Fired when a tool is successfully created
19
+ * @fires ecc-tool-create-error - Fired when tool creation fails
20
+ * @fires ecc-tool-create-success - Fired when a tool is successfully created (includes success message)
21
+ * @fires ecc-tool-create-validation-error - Fired when there are validation errors during tool creation
22
+ */
23
+ declare const reactWrapper: import("@lit/react").ReactWebComponent<Component, {
24
+ onEccToolCreateValidationError: EventName<EccToolCreateValidationErrorEvent>;
25
+ onEccToolCreateError: EventName<EccToolCreateErrorEvent>;
26
+ onEccToolCreateSuccess: EventName<EccToolCreateSuccessEvent>;
27
+ onEccToolCreated: EventName<EccToolCreatedEvent>;
28
+ }>;
29
+ export default reactWrapper;
@@ -0,0 +1,3 @@
1
+ export { ecc_client_elixir_trs_tool_create_default as default } from '../../chunks/chunk.ULOGEPYW.js';
2
+ import '../../chunks/chunk.5A4EA5NE.js';
3
+ import '../../chunks/chunk.Q5GOJN3Z.js';
@@ -0,0 +1 @@
1
+ export { default as ECCClientElixirTrsToolCreate } from './ecc-client-elixir-trs-tool-create/index.js';
@@ -0,0 +1,3 @@
1
+ export { ecc_client_elixir_trs_tool_create_default as ECCClientElixirTrsToolCreate } from '../chunks/chunk.ULOGEPYW.js';
2
+ import '../chunks/chunk.5A4EA5NE.js';
3
+ import '../chunks/chunk.Q5GOJN3Z.js';
@@ -0,0 +1,17 @@
1
+ {
2
+ "$schema": "https://raw.githubusercontent.com/microsoft/vscode-html-languageservice/main/docs/customData.schema.json",
3
+ "version": 1.1,
4
+ "tags": [
5
+ {
6
+ "name": "ecc-client-elixir-trs-tool-create",
7
+ "description": "Component for creating new tools in TRS-Filer\n---\n\n\n### **Events:**\n - **ecc-tool-create-validation-error** - Fired when there are validation errors during tool creation\n- **ecc-tool-create-error** - Fired when tool creation fails\n- **ecc-tool-create-success** - Fired when a tool is successfully created (includes success message)\n- **ecc-tool-created** - Fired when a tool is successfully created",
8
+ "attributes": [],
9
+ "references": [
10
+ {
11
+ "name": "Documentation",
12
+ "url": "https://elixir-cloud-components.vercel.app/design/components/ecc-client-elixir-trs-tool-create.html"
13
+ }
14
+ ]
15
+ }
16
+ ]
17
+ }
@@ -0,0 +1,129 @@
1
+ {
2
+ "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
+ "name": "@elixir-cloud/trs-filer",
4
+ "version": "2.0.0-alpha.1",
5
+ "description-markup": "markdown",
6
+ "contributions": {
7
+ "html": {
8
+ "elements": [
9
+ {
10
+ "name": "ecc-client-elixir-trs-tool-create",
11
+ "description": "Component for creating new tools in TRS-Filer\n---\n\n\n### **Events:**\n - **ecc-tool-create-validation-error** - Fired when there are validation errors during tool creation\n- **ecc-tool-create-error** - Fired when tool creation fails\n- **ecc-tool-create-success** - Fired when a tool is successfully created (includes success message)\n- **ecc-tool-created** - Fired when a tool is successfully created",
12
+ "doc-url": "",
13
+ "attributes": [],
14
+ "events": [
15
+ {
16
+ "name": "ecc-tool-create-validation-error",
17
+ "description": "Fired when there are validation errors during tool creation"
18
+ },
19
+ {
20
+ "name": "ecc-tool-create-error",
21
+ "description": "Fired when tool creation fails"
22
+ },
23
+ {
24
+ "name": "ecc-tool-create-success",
25
+ "description": "Fired when a tool is successfully created (includes success message)"
26
+ },
27
+ {
28
+ "name": "ecc-tool-created",
29
+ "description": "Fired when a tool is successfully created"
30
+ }
31
+ ],
32
+ "js": {
33
+ "properties": [
34
+ {
35
+ "name": "baseUrl",
36
+ "description": "Base URL of the TRS instance/gateway",
37
+ "value": { "type": "string" }
38
+ },
39
+ {
40
+ "name": "provider",
41
+ "description": "Custom data provider (optional, overrides baseUrl)",
42
+ "value": { "type": "TrsProvider" }
43
+ },
44
+ { "name": "toolClasses", "value": { "type": "ToolClass[]" } },
45
+ { "name": "loading", "value": { "type": "boolean" } },
46
+ { "name": "error", "value": { "type": "string | null" } },
47
+ { "name": "success", "value": { "type": "string | null" } },
48
+ {
49
+ "name": "formData",
50
+ "value": {
51
+ "type": "{\n name: string;\n organization: string;\n description: string;\n toolClassId: string;\n aliases: string[];\n checkerUrl: string;\n hasChecker: boolean;\n customToolId: string;\n useCustomId: boolean;\n }"
52
+ }
53
+ },
54
+ {
55
+ "name": "versions",
56
+ "value": {
57
+ "type": "{\n name: string;\n author: string[];\n descriptorTypes: DescriptorType[];\n isProduction: boolean;\n signed: boolean;\n verified: boolean;\n verifiedSource: string[];\n includedApps: string[];\n files: {\n path: string;\n fileType: FileType;\n content?: string;\n file?: File;\n checksumType: string;\n checksumValue: string;\n descriptorType?: DescriptorType;\n }[];\n images: ImageDataRegister[];\n customVersionId: string;\n useCustomVersionId: boolean;\n }[]"
58
+ }
59
+ },
60
+ {
61
+ "name": "_provider",
62
+ "value": { "type": "TrsFilerProvider | null" }
63
+ },
64
+ {
65
+ "name": "activeFileIndex",
66
+ "value": { "type": "{ [versionIndex: number]: number }" }
67
+ },
68
+ {
69
+ "name": "activeDescriptorType",
70
+ "value": {
71
+ "type": "{\n [versionIndex: number]: DescriptorType | \"ALL\";\n }"
72
+ }
73
+ },
74
+ { "name": "loadToolClasses", "value": {} },
75
+ { "name": "handleInputChange", "value": {} },
76
+ { "name": "handleArrayInputChange", "value": {} },
77
+ { "name": "handleVersionChange", "value": {} },
78
+ { "name": "addVersion", "value": {} },
79
+ { "name": "removeVersion", "value": {} },
80
+ { "name": "addFileToVersion", "value": {} },
81
+ { "name": "removeFileFromVersion", "value": {} },
82
+ { "name": "handleFileUpload", "value": {} },
83
+ { "name": "handleBulkFileUpload", "value": {} },
84
+ { "name": "handleZipFileUpload", "value": {} },
85
+ { "name": "extractFileFromZip", "value": {} },
86
+ { "name": "isTextFile", "value": {} },
87
+ { "name": "getDefaultFileType", "value": {} },
88
+ { "name": "getDefaultDescriptorType", "value": {} },
89
+ { "name": "getContainerImageType", "value": {} },
90
+ { "name": "getFileExtension", "value": {} },
91
+ { "name": "handleFileFieldChange", "value": {} },
92
+ { "name": "addImageToVersion", "value": {} },
93
+ { "name": "removeImageFromVersion", "value": {} },
94
+ { "name": "handleSubmit", "value": {} },
95
+ { "name": "resetForm", "value": {} },
96
+ { "name": "renderBasicFields", "value": {} },
97
+ { "name": "renderAdvancedFields", "value": {} },
98
+ { "name": "renderVersions", "value": {} },
99
+ { "name": "renderVersionContent", "value": {} },
100
+ { "name": "renderFilesLayout", "value": {} },
101
+ { "name": "renderFileContentArea", "value": {} },
102
+ { "name": "renderFileInput", "value": {} },
103
+ { "name": "getVersionTags", "value": {} },
104
+ { "name": "handleVersionTagsChange", "value": {} }
105
+ ],
106
+ "events": [
107
+ {
108
+ "name": "ecc-tool-create-validation-error",
109
+ "description": "Fired when there are validation errors during tool creation"
110
+ },
111
+ {
112
+ "name": "ecc-tool-create-error",
113
+ "description": "Fired when tool creation fails"
114
+ },
115
+ {
116
+ "name": "ecc-tool-create-success",
117
+ "description": "Fired when a tool is successfully created (includes success message)"
118
+ },
119
+ {
120
+ "name": "ecc-tool-created",
121
+ "description": "Fired when a tool is successfully created"
122
+ }
123
+ ]
124
+ }
125
+ }
126
+ ]
127
+ }
128
+ }
129
+ }
package/package.json ADDED
@@ -0,0 +1,79 @@
1
+ {
2
+ "name": "@elixir-cloud/trs-filer",
3
+ "description": "Web Component for interacting with Elixir TRS Filer",
4
+ "license": "Apache-2.0",
5
+ "version": "2.0.0-alpha.1",
6
+ "type": "module",
7
+ "main": "./dist/index.js",
8
+ "module": "./dist/index.mjs",
9
+ "types": "./dist/index.d.ts",
10
+ "exports": {
11
+ ".": {
12
+ "types": "./dist/index.d.ts",
13
+ "import": "./dist/index.js"
14
+ },
15
+ "./custom-elements.json": "./dist/custom-elements.json",
16
+ "./components/*": "./dist/components/*",
17
+ "./react": "./dist/react/index.js",
18
+ "./react/*": "./dist/react/*",
19
+ "./events": "./dist/events/index.js",
20
+ "./events/*": "./dist/events/*",
21
+ "./providers": "./dist/providers/index.js",
22
+ "./providers/*": "./dist/providers/*"
23
+ },
24
+ "repository": {
25
+ "type": "git",
26
+ "url": "https://github.com/elixir-cloud-aai/cloud-components.git"
27
+ },
28
+ "customElements": "dist/custom-elements.json",
29
+ "files": [
30
+ "dist",
31
+ "README.md",
32
+ "package.json",
33
+ "LICENSE"
34
+ ],
35
+ "scripts": {
36
+ "analyze": "cem analyze --litelement",
37
+ "build:tailwind": "node ../../scripts/tailwind/index.js",
38
+ "build": "node ../../scripts/tailwind/index.js && node ../../scripts/build.js -p ecc-client-elixir-trs-filer-",
39
+ "dev": "concurrently -r \"node ../../scripts/tailwind/index.js --watch\" \"node ../../scripts/build.js -p ecc-client-elixir-trs-filer- --watch\" \"wds\"",
40
+ "clean": "rm -rf dist node_modules custom-elements-manifest.config.js src/output.css src/tailwind.ts",
41
+ "test": "wtr --coverage",
42
+ "test:watch": "wtr --watch",
43
+ "lint": "npx eslint .",
44
+ "lint:fix": "npm run lint -- --fix",
45
+ "prepublish": "npm run build"
46
+ },
47
+ "dependencies": {
48
+ "@elixir-cloud/design": "2.0.0-alpha.6",
49
+ "@elixir-cloud/trs": "2.0.0-alpha.9",
50
+ "@lit/react": "^1.0.2",
51
+ "@progress/jszip-esm": "^1.0.4",
52
+ "lit": "^2.8.0"
53
+ },
54
+ "devDependencies": {
55
+ "@custom-elements-manifest/analyzer": "^0.4.17",
56
+ "@elixir-cloud/eslint-config": "*",
57
+ "@open-wc/eslint-config": "^9.2.1",
58
+ "@open-wc/testing": "^3.1.6",
59
+ "@tailwindcss/cli": "^4.1.4",
60
+ "@types/jszip": "^3.4.0",
61
+ "@typescript-eslint/eslint-plugin": "^5.48.0",
62
+ "@typescript-eslint/parser": "^5.48.0",
63
+ "@web/dev-server": "^0.1.34",
64
+ "@web/dev-server-esbuild": "^0.3.0",
65
+ "@web/test-runner": "^0.19.0",
66
+ "commander": "*",
67
+ "concurrently": "^5.3.0",
68
+ "custom-element-jet-brains-integration": "*",
69
+ "custom-element-vs-code-integration": "*",
70
+ "eslint": "^8.31.0",
71
+ "eslint-config-prettier": "^8.3.0",
72
+ "react": "*",
73
+ "tailwindcss": "^4.1.4",
74
+ "tslib": "^2.3.1",
75
+ "tsup": "^7.2.0",
76
+ "tw-animate-css": "^1.2.6",
77
+ "typescript": "*"
78
+ }
79
+ }