@indobaseinc/auth-ui-svelte 1.0.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/README.md +24 -0
- package/dist/Auth/Auth.svelte +121 -0
- package/dist/Auth/Auth.svelte.d.ts +43 -0
- package/dist/Auth/Icons.svelte +322 -0
- package/dist/Auth/Icons.svelte.d.ts +17 -0
- package/dist/Auth/index.d.ts +2 -0
- package/dist/Auth/index.js +2 -0
- package/dist/Auth/interfaces/EmailAuth.svelte +165 -0
- package/dist/Auth/interfaces/EmailAuth.svelte.d.ts +33 -0
- package/dist/Auth/interfaces/ForgottenPassword.svelte +81 -0
- package/dist/Auth/interfaces/ForgottenPassword.svelte.d.ts +25 -0
- package/dist/Auth/interfaces/MagicLink.svelte +84 -0
- package/dist/Auth/interfaces/MagicLink.svelte.d.ts +25 -0
- package/dist/Auth/interfaces/SocialAuth.svelte +68 -0
- package/dist/Auth/interfaces/SocialAuth.svelte.d.ts +30 -0
- package/dist/Auth/interfaces/UpdatePassword.svelte +90 -0
- package/dist/Auth/interfaces/UpdatePassword.svelte.d.ts +24 -0
- package/dist/Auth/interfaces/VerifyOtp.svelte +117 -0
- package/dist/Auth/interfaces/VerifyOtp.svelte.d.ts +27 -0
- package/dist/Auth/interfaces/index.d.ts +6 -0
- package/dist/Auth/interfaces/index.js +6 -0
- package/dist/Auth/ui/ForgottenPassword.svelte +18 -0
- package/dist/Auth/ui/ForgottenPassword.svelte.d.ts +26 -0
- package/dist/Auth/ui/MagicLink.svelte +26 -0
- package/dist/Auth/ui/MagicLink.svelte.d.ts +32 -0
- package/dist/Auth/ui/SignIn.svelte +29 -0
- package/dist/Auth/ui/SignIn.svelte.d.ts +34 -0
- package/dist/Auth/ui/SignUp.svelte +35 -0
- package/dist/Auth/ui/SignUp.svelte.d.ts +40 -0
- package/dist/Auth/ui/SocialAuth.svelte +26 -0
- package/dist/Auth/ui/SocialAuth.svelte.d.ts +32 -0
- package/dist/Auth/ui/UpdatePassword.svelte +20 -0
- package/dist/Auth/ui/UpdatePassword.svelte.d.ts +27 -0
- package/dist/Auth/ui/VerifyOtp.svelte +18 -0
- package/dist/Auth/ui/VerifyOtp.svelte.d.ts +25 -0
- package/dist/Auth/ui/index.d.ts +7 -0
- package/dist/Auth/ui/index.js +7 -0
- package/dist/UI/Anchor.svelte +22 -0
- package/dist/UI/Anchor.svelte.d.ts +22 -0
- package/dist/UI/Button.svelte +47 -0
- package/dist/UI/Button.svelte.d.ts +23 -0
- package/dist/UI/Container.svelte +41 -0
- package/dist/UI/Container.svelte.d.ts +16 -0
- package/dist/UI/Divider.svelte +16 -0
- package/dist/UI/Divider.svelte.d.ts +16 -0
- package/dist/UI/Input.svelte +49 -0
- package/dist/UI/Input.svelte.d.ts +14 -0
- package/dist/UI/Label.svelte +16 -0
- package/dist/UI/Label.svelte.d.ts +16 -0
- package/dist/UI/Loader.svelte +30 -0
- package/dist/UI/Loader.svelte.d.ts +14 -0
- package/dist/UI/Message.svelte +34 -0
- package/dist/UI/Message.svelte.d.ts +16 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/types.d.ts +41 -0
- package/dist/types.js +1 -0
- package/package.json +79 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
import type { Appearance } from '../types';
|
|
3
|
+
declare const __propDef: {
|
|
4
|
+
props: Omit<svelte.JSX.HTMLAttributes<HTMLButtonElement>, "loading"> & {
|
|
5
|
+
loading?: boolean | undefined;
|
|
6
|
+
color?: "default" | "primary" | undefined;
|
|
7
|
+
appearance?: Appearance | undefined;
|
|
8
|
+
};
|
|
9
|
+
events: {
|
|
10
|
+
click: MouseEvent;
|
|
11
|
+
} & {
|
|
12
|
+
[evt: string]: CustomEvent<any>;
|
|
13
|
+
};
|
|
14
|
+
slots: {
|
|
15
|
+
default: {};
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
type ButtonProps_ = typeof __propDef.props;
|
|
19
|
+
export { ButtonProps_ as ButtonProps };
|
|
20
|
+
export type ButtonEvents = typeof __propDef.events;
|
|
21
|
+
export type ButtonSlots = typeof __propDef.slots;
|
|
22
|
+
export default class Button extends SvelteComponentTyped<ButtonProps_, ButtonEvents, ButtonSlots> {
|
|
23
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
<script>import { css } from '@stitches/core';
|
|
2
|
+
import { generateClassNames } from '@indobaseinc/auth-ui-shared';
|
|
3
|
+
const containerDefaultStyles = css({
|
|
4
|
+
display: 'flex',
|
|
5
|
+
gap: '4px',
|
|
6
|
+
variants: {
|
|
7
|
+
direction: {
|
|
8
|
+
horizontal: {
|
|
9
|
+
display: 'grid',
|
|
10
|
+
gridTemplateColumns: 'repeat(auto-fit, minmax(48px, 1fr))'
|
|
11
|
+
},
|
|
12
|
+
vertical: {
|
|
13
|
+
flexDirection: 'column',
|
|
14
|
+
margin: '8px 0'
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
gap: {
|
|
18
|
+
small: {
|
|
19
|
+
gap: '4px'
|
|
20
|
+
},
|
|
21
|
+
medium: {
|
|
22
|
+
gap: '8px'
|
|
23
|
+
},
|
|
24
|
+
large: {
|
|
25
|
+
gap: '16px'
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
export let direction = 'horizontal';
|
|
31
|
+
export let gap = 'small';
|
|
32
|
+
export let appearance = {};
|
|
33
|
+
$: classNames = generateClassNames('container', containerDefaultStyles({
|
|
34
|
+
direction,
|
|
35
|
+
gap
|
|
36
|
+
}), appearance);
|
|
37
|
+
</script>
|
|
38
|
+
|
|
39
|
+
<div {...$$restProps} style={appearance?.style?.container} class={classNames.join(' ')}>
|
|
40
|
+
<slot />
|
|
41
|
+
</div>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: any;
|
|
4
|
+
events: {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
};
|
|
7
|
+
slots: {
|
|
8
|
+
default: {};
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export type ContainerProps = typeof __propDef.props;
|
|
12
|
+
export type ContainerEvents = typeof __propDef.events;
|
|
13
|
+
export type ContainerSlots = typeof __propDef.slots;
|
|
14
|
+
export default class Container extends SvelteComponentTyped<ContainerProps, ContainerEvents, ContainerSlots> {
|
|
15
|
+
}
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<script>import { css } from '@stitches/core';
|
|
2
|
+
import { generateClassNames } from '@indobaseinc/auth-ui-shared';
|
|
3
|
+
const dividerDefaultStyles = css({
|
|
4
|
+
background: '$dividerBackground',
|
|
5
|
+
display: 'block',
|
|
6
|
+
margin: '16px 0',
|
|
7
|
+
height: '1px',
|
|
8
|
+
width: '100%'
|
|
9
|
+
});
|
|
10
|
+
export let appearance = {};
|
|
11
|
+
const classNames = generateClassNames('divider', dividerDefaultStyles(), appearance);
|
|
12
|
+
</script>
|
|
13
|
+
|
|
14
|
+
<div {...$$restProps} style={appearance?.style?.divider} class={classNames.join(' ')}>
|
|
15
|
+
<slot />
|
|
16
|
+
</div>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: any;
|
|
4
|
+
events: {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
};
|
|
7
|
+
slots: {
|
|
8
|
+
default: {};
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export type DividerProps = typeof __propDef.props;
|
|
12
|
+
export type DividerEvents = typeof __propDef.events;
|
|
13
|
+
export type DividerSlots = typeof __propDef.slots;
|
|
14
|
+
export default class Divider extends SvelteComponentTyped<DividerProps, DividerEvents, DividerSlots> {
|
|
15
|
+
}
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
<script>import { css } from '@stitches/core';
|
|
2
|
+
import { generateClassNames } from '@indobaseinc/auth-ui-shared';
|
|
3
|
+
const inputDefaultStyles = css({
|
|
4
|
+
fontFamily: '$inputFontFamily',
|
|
5
|
+
background: '$inputBackground',
|
|
6
|
+
borderRadius: '$inputBorderRadius',
|
|
7
|
+
padding: '$inputPadding',
|
|
8
|
+
cursor: 'text',
|
|
9
|
+
borderWidth: '$inputBorderWidth',
|
|
10
|
+
borderColor: '$inputBorder',
|
|
11
|
+
borderStyle: 'solid',
|
|
12
|
+
fontSize: '$baseInputSize',
|
|
13
|
+
width: '100%',
|
|
14
|
+
color: '$inputText',
|
|
15
|
+
boxSizing: 'border-box',
|
|
16
|
+
'&:hover': {
|
|
17
|
+
borderColor: '$inputBorderHover',
|
|
18
|
+
outline: 'none'
|
|
19
|
+
},
|
|
20
|
+
'&:focus': {
|
|
21
|
+
borderColor: '$inputBorderFocus',
|
|
22
|
+
outline: 'none'
|
|
23
|
+
},
|
|
24
|
+
'&::placeholder': {
|
|
25
|
+
color: '$inputPlaceholder',
|
|
26
|
+
letterSpacing: 'initial'
|
|
27
|
+
},
|
|
28
|
+
transitionProperty: 'background-color, border',
|
|
29
|
+
transitionTimingFunction: 'cubic-bezier(0.4, 0, 0.2, 1)',
|
|
30
|
+
transitionDuration: '100ms',
|
|
31
|
+
variants: {
|
|
32
|
+
type: {
|
|
33
|
+
default: {
|
|
34
|
+
letterSpacing: '0px'
|
|
35
|
+
},
|
|
36
|
+
password: {
|
|
37
|
+
letterSpacing: '0px'
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
export let value = undefined;
|
|
43
|
+
export let appearance = {};
|
|
44
|
+
$: classNames = generateClassNames('input', inputDefaultStyles({
|
|
45
|
+
type: 'default'
|
|
46
|
+
}), appearance);
|
|
47
|
+
</script>
|
|
48
|
+
|
|
49
|
+
<input {...$$restProps} style={appearance?.style?.input} class={classNames.join(' ')} bind:value />
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: any;
|
|
4
|
+
events: {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
};
|
|
7
|
+
slots: {};
|
|
8
|
+
};
|
|
9
|
+
type InputProps_ = typeof __propDef.props;
|
|
10
|
+
export { InputProps_ as InputProps };
|
|
11
|
+
export type InputEvents = typeof __propDef.events;
|
|
12
|
+
export type InputSlots = typeof __propDef.slots;
|
|
13
|
+
export default class Input extends SvelteComponentTyped<InputProps_, InputEvents, InputSlots> {
|
|
14
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<script>import { css } from '@stitches/core';
|
|
2
|
+
import { generateClassNames } from '@indobaseinc/auth-ui-shared';
|
|
3
|
+
const labelDefaultStyles = css({
|
|
4
|
+
fontFamily: '$labelFontFamily',
|
|
5
|
+
fontSize: '$baseLabelSize',
|
|
6
|
+
marginBottom: '$labelBottomMargin',
|
|
7
|
+
color: '$inputLabelText',
|
|
8
|
+
display: 'block'
|
|
9
|
+
});
|
|
10
|
+
export let appearance = {};
|
|
11
|
+
$: classNames = generateClassNames('label', labelDefaultStyles(), appearance);
|
|
12
|
+
</script>
|
|
13
|
+
|
|
14
|
+
<label {...$$restProps} style={appearance?.style?.label} class={classNames.join(' ')}>
|
|
15
|
+
<slot />
|
|
16
|
+
</label>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: any;
|
|
4
|
+
events: {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
};
|
|
7
|
+
slots: {
|
|
8
|
+
default: {};
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
type LabelProps_ = typeof __propDef.props;
|
|
12
|
+
export { LabelProps_ as LabelProps };
|
|
13
|
+
export type LabelEvents = typeof __propDef.events;
|
|
14
|
+
export type LabelSlots = typeof __propDef.slots;
|
|
15
|
+
export default class Label extends SvelteComponentTyped<LabelProps_, LabelEvents, LabelSlots> {
|
|
16
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
<script>import { css } from '@stitches/core';
|
|
2
|
+
import { generateClassNames } from '@indobaseinc/auth-ui-shared';
|
|
3
|
+
const loaderDefaultStyles = css({
|
|
4
|
+
borderRadius: '50%',
|
|
5
|
+
width: '10em',
|
|
6
|
+
height: '10em',
|
|
7
|
+
margin: '60px auto',
|
|
8
|
+
fontSize: '10px',
|
|
9
|
+
position: 'relative',
|
|
10
|
+
textIndent: '-9999em',
|
|
11
|
+
borderTop: '1.1em solid rgba(255, 255, 255, 0.2)',
|
|
12
|
+
borderRight: '1.1em solid rgba(255, 255, 255, 0.2)',
|
|
13
|
+
borderBottom: '1.1em solid rgba(255, 255, 255, 0.2)',
|
|
14
|
+
borderLeft: '1.1em solid #ffffff',
|
|
15
|
+
'-webkit-transform': 'translateZ(0)',
|
|
16
|
+
'-ms-transform': 'translateZ(0)',
|
|
17
|
+
transform: 'translateZ(0)',
|
|
18
|
+
'-webkit-animation': 'load8 1.1s infinite linear',
|
|
19
|
+
animation: 'load8 1.1s infinite linear',
|
|
20
|
+
'&:after': {
|
|
21
|
+
borderRadius: '50%',
|
|
22
|
+
width: '10em',
|
|
23
|
+
height: '10em'
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
export let appearance = {};
|
|
27
|
+
$: classNames = generateClassNames('loader', loaderDefaultStyles(), appearance);
|
|
28
|
+
</script>
|
|
29
|
+
|
|
30
|
+
<div {...$$restProps} style={appearance?.style?.loader} class={classNames.join(' ')} />
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: any;
|
|
4
|
+
events: {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
};
|
|
7
|
+
slots: {};
|
|
8
|
+
};
|
|
9
|
+
export type LoaderProps = typeof __propDef.props;
|
|
10
|
+
export type LoaderEvents = typeof __propDef.events;
|
|
11
|
+
export type LoaderSlots = typeof __propDef.slots;
|
|
12
|
+
export default class Loader extends SvelteComponentTyped<LoaderProps, LoaderEvents, LoaderSlots> {
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
<script>import { css } from '@stitches/core';
|
|
2
|
+
import { generateClassNames } from '@indobaseinc/auth-ui-shared';
|
|
3
|
+
const messageDefaultStyles = css({
|
|
4
|
+
fontFamily: '$bodyFontFamily',
|
|
5
|
+
fontSize: '$baseInputSize',
|
|
6
|
+
marginBottom: '$labelBottomMargin',
|
|
7
|
+
display: 'block',
|
|
8
|
+
textAlign: 'center',
|
|
9
|
+
borderRadius: '0.375rem',
|
|
10
|
+
padding: '1.5rem 1rem',
|
|
11
|
+
lineHeight: '1rem',
|
|
12
|
+
variants: {
|
|
13
|
+
color: {
|
|
14
|
+
default: {
|
|
15
|
+
color: '$messageText',
|
|
16
|
+
backgroundColor: '$messageBackground',
|
|
17
|
+
border: '1px solid $messageBorder'
|
|
18
|
+
},
|
|
19
|
+
danger: {
|
|
20
|
+
color: '$messageTextDanger',
|
|
21
|
+
backgroundColor: '$messageBackgroundDanger',
|
|
22
|
+
border: '1px solid $messageBorderDanger'
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
});
|
|
27
|
+
export let color = 'default';
|
|
28
|
+
export let appearance = {};
|
|
29
|
+
$: classNames = generateClassNames('message', messageDefaultStyles({ color }), appearance);
|
|
30
|
+
</script>
|
|
31
|
+
|
|
32
|
+
<span {...$$restProps} style={appearance?.style?.message} class={classNames.join(' ')}>
|
|
33
|
+
<slot />
|
|
34
|
+
</span>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { SvelteComponentTyped } from "svelte";
|
|
2
|
+
declare const __propDef: {
|
|
3
|
+
props: any;
|
|
4
|
+
events: {
|
|
5
|
+
[evt: string]: CustomEvent<any>;
|
|
6
|
+
};
|
|
7
|
+
slots: {
|
|
8
|
+
default: {};
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export type MessageProps = typeof __propDef.props;
|
|
12
|
+
export type MessageEvents = typeof __propDef.events;
|
|
13
|
+
export type MessageSlots = typeof __propDef.slots;
|
|
14
|
+
export default class Message extends SvelteComponentTyped<MessageProps, MessageEvents, MessageSlots> {
|
|
15
|
+
}
|
|
16
|
+
export {};
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Auth/index';
|
package/dist/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Auth/index.js';
|
package/dist/types.d.ts
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import type { BaseAppearance } from '@indobaseinc/auth-ui-shared';
|
|
2
|
+
export interface Appearance extends BaseAppearance {
|
|
3
|
+
style?: {
|
|
4
|
+
anchor?: string;
|
|
5
|
+
button?: string;
|
|
6
|
+
container?: string;
|
|
7
|
+
divider?: string;
|
|
8
|
+
input?: string;
|
|
9
|
+
label?: string;
|
|
10
|
+
loader?: string;
|
|
11
|
+
message?: string;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
export interface AuthSettings {
|
|
15
|
+
external?: {
|
|
16
|
+
apple?: boolean;
|
|
17
|
+
azure?: boolean;
|
|
18
|
+
bitbucket?: boolean;
|
|
19
|
+
discord?: boolean;
|
|
20
|
+
github?: boolean;
|
|
21
|
+
gitlab?: boolean;
|
|
22
|
+
keycloak?: boolean;
|
|
23
|
+
google?: boolean;
|
|
24
|
+
linkedin?: boolean;
|
|
25
|
+
facebook?: boolean;
|
|
26
|
+
notion?: boolean;
|
|
27
|
+
spotify?: boolean;
|
|
28
|
+
slack?: boolean;
|
|
29
|
+
workos?: boolean;
|
|
30
|
+
twitch?: boolean;
|
|
31
|
+
twitter?: boolean;
|
|
32
|
+
email?: boolean;
|
|
33
|
+
phone?: boolean;
|
|
34
|
+
saml?: boolean;
|
|
35
|
+
zoom?: boolean;
|
|
36
|
+
};
|
|
37
|
+
disable_signup?: boolean;
|
|
38
|
+
mailer_autoconfirm?: boolean;
|
|
39
|
+
phone_autoconfirm?: boolean;
|
|
40
|
+
sms_provider?: string;
|
|
41
|
+
}
|
package/dist/types.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/package.json
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@indobaseinc/auth-ui-svelte",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Pre-built Svelte auth UI components for Indobase",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"publishConfig": {
|
|
7
|
+
"access": "public"
|
|
8
|
+
},
|
|
9
|
+
"files": [
|
|
10
|
+
"dist"
|
|
11
|
+
],
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"exports": {
|
|
14
|
+
"./package.json": "./package.json",
|
|
15
|
+
".": {
|
|
16
|
+
"types": "./dist/index.d.ts",
|
|
17
|
+
"svelte": "./dist/index.js"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"typesVersions": {
|
|
21
|
+
">4.0": {
|
|
22
|
+
".": [
|
|
23
|
+
"./dist/index.d.ts"
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"repository": {
|
|
28
|
+
"type": "git",
|
|
29
|
+
"url": "git+https://github.com/Indobase/Indobase.git",
|
|
30
|
+
"directory": "packages/indobase-auth-ui/packages/svelte"
|
|
31
|
+
},
|
|
32
|
+
"keywords": [
|
|
33
|
+
"Indobase",
|
|
34
|
+
"Auth",
|
|
35
|
+
"Svelte"
|
|
36
|
+
],
|
|
37
|
+
"author": "Indobase",
|
|
38
|
+
"license": "MIT",
|
|
39
|
+
"homepage": "https://indobase.in",
|
|
40
|
+
"scripts": {
|
|
41
|
+
"build": "svelte-kit sync && svelte-package && pnpm fix:esm && find dist -name '._*' -delete && find dist -name '.\\!*' -delete",
|
|
42
|
+
"test": "playwright test",
|
|
43
|
+
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
|
44
|
+
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|
|
45
|
+
"lint": "prettier --plugin-search-dir . --check . && eslint .",
|
|
46
|
+
"format": "prettier --plugin-search-dir . --write .",
|
|
47
|
+
"fix:esm": "fix-esm-import-path dist/index.js"
|
|
48
|
+
},
|
|
49
|
+
"dependencies": {
|
|
50
|
+
"@stitches/core": "^1.2.8",
|
|
51
|
+
"@indobaseinc/auth-ui-shared": "workspace:*",
|
|
52
|
+
"svelte": "^3.55.1"
|
|
53
|
+
},
|
|
54
|
+
"devDependencies": {
|
|
55
|
+
"@playwright/test": "^1.25.0",
|
|
56
|
+
"@indobaseinc/indobase-js": "^1.0.8",
|
|
57
|
+
"@indobaseinc/auth-js": "^1.0.8",
|
|
58
|
+
"@sveltejs/adapter-auto": "^2.0.0",
|
|
59
|
+
"@sveltejs/kit": "^1.15.2",
|
|
60
|
+
"@sveltejs/package": "^2.0.2",
|
|
61
|
+
"@typescript-eslint/eslint-plugin": "^5.51.0",
|
|
62
|
+
"@typescript-eslint/parser": "^5.51.0",
|
|
63
|
+
"eslint": "^8.33.0",
|
|
64
|
+
"eslint-config-prettier": "^8.6.0",
|
|
65
|
+
"eslint-plugin-svelte3": "^4.0.0",
|
|
66
|
+
"fix-esm-import-path": "^1.3.1",
|
|
67
|
+
"prettier": "^2.8.4",
|
|
68
|
+
"prettier-plugin-svelte": "^2.9.0",
|
|
69
|
+
"svelte-check": "^3.0.3",
|
|
70
|
+
"svelte-preprocess": "^5.0.1",
|
|
71
|
+
"tslib": "^2.5.0",
|
|
72
|
+
"typescript": "^4.9.5",
|
|
73
|
+
"vite": "^4.5.2"
|
|
74
|
+
},
|
|
75
|
+
"peerDependencies": {
|
|
76
|
+
"@indobaseinc/indobase-js": "^1.0.8",
|
|
77
|
+
"@indobaseinc/auth-js": "^1.0.8"
|
|
78
|
+
}
|
|
79
|
+
}
|