webcoreui 0.0.2 → 0.0.3

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/astro.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ declare module 'webcoreui/astro' {
2
+ import type { AccordionProps } from './components/Accordion/accordion'
3
+
4
+ export function Accordion(_props: AccordionProps): any
5
+ }
package/astro.js ADDED
@@ -0,0 +1,3 @@
1
+ import Accordion from './components/Accordion/Accordion.astro'
2
+
3
+ export const Accordion = Accordion
@@ -0,0 +1,40 @@
1
+ ---
2
+ import type { AccordionProps } from './accordion'
3
+
4
+ interface Props extends AccordionProps {}
5
+
6
+ const {
7
+ items
8
+ } = Astro.props
9
+ ---
10
+
11
+ <ul data-id="accordion">
12
+ {items.map(item => (
13
+ <li>
14
+ <div class="accordion-title">{item.title}</div>
15
+ <div class="accordion-wrapper">
16
+ <div class="accordion-content">
17
+ <Fragment set:html={item.content} />
18
+ </div>
19
+ </div>
20
+ </li>
21
+ ))}
22
+ </ul>
23
+
24
+ <script>
25
+ const accordions = document.querySelectorAll('[data-id="accordion"]')
26
+
27
+ Array.from(accordions).forEach(element => {
28
+ element.addEventListener('click', event => {
29
+ const target = event.target as HTMLDivElement
30
+
31
+ if (target.classList.contains('accordion-title')) {
32
+ target.classList.toggle('open')
33
+ }
34
+ })
35
+ })
36
+ </script>
37
+
38
+ <style lang="scss">
39
+ @import './accordion.scss';
40
+ </style>
@@ -0,0 +1,37 @@
1
+ <script lang="ts">
2
+ import type { AccordionProps } from './accordion'
3
+
4
+ export let items: AccordionProps['items']
5
+
6
+ let state = Array(items.length).fill(false)
7
+
8
+ const toggle = (index: number) => {
9
+ state = state.map((_, i) => index === i
10
+ ? !state[i]
11
+ : state[i]
12
+ )
13
+ }
14
+ </script>
15
+
16
+ <ul>
17
+ {#each items as item, index}
18
+ <li>
19
+ <div
20
+ class="accordion-title"
21
+ class:open={state[index]}
22
+ on:click={() => toggle(index)}
23
+ >
24
+ {item.title}
25
+ </div>
26
+ <div class="accordion-wrapper">
27
+ <div class="accordion-content">
28
+ {@html item.content}
29
+ </div>
30
+ </div>
31
+ </li>
32
+ {/each}
33
+ </ul>
34
+
35
+ <style lang="scss">
36
+ @import './accordion.scss';
37
+ </style>
@@ -0,0 +1,34 @@
1
+ import React, { useState } from 'react'
2
+ import type { AccordionProps } from './accordion'
3
+ import './accordion.scss'
4
+
5
+ export const Accordion = ({ items }: AccordionProps) => {
6
+ const [state, setState] = useState(Array(items.length).fill(false))
7
+
8
+ const toggle = (index: number) => {
9
+ setState(state.map((_, i) => index === i
10
+ ? !state[i]
11
+ : state[i]
12
+ ))
13
+ }
14
+
15
+ return (
16
+ <ul data-id="accordion">
17
+ {items.map((item, index) => (
18
+ <li key={index}>
19
+ <div
20
+ className={state[index] ? 'accordion-title open' : 'accordion-title'}
21
+ onClick={() => toggle(index)}
22
+ >
23
+ {item.title}
24
+ </div>
25
+ <div className="accordion-wrapper">
26
+ <div className="accordion-content">
27
+ <div dangerouslySetInnerHTML={{ __html: item.content }} />
28
+ </div>
29
+ </div>
30
+ </li>
31
+ ))}
32
+ </ul>
33
+ )
34
+ }
@@ -0,0 +1,46 @@
1
+ @import '../../scss/config.scss';
2
+
3
+ ul {
4
+ margin: 0;
5
+ padding: 0;
6
+ list-style-type: none;
7
+
8
+ li {
9
+ border-bottom: 1px solid #252525;
10
+ padding: 10px 0;
11
+ font-size: 16px;
12
+
13
+ &:first-child {
14
+ padding-top: 0;
15
+ }
16
+
17
+ &:last-child {
18
+ border-bottom: 0;
19
+ padding-bottom: 0;
20
+ }
21
+
22
+ .accordion-title {
23
+ cursor: pointer;
24
+
25
+ &.open + .accordion-wrapper {
26
+ grid-template-rows: 1fr;
27
+
28
+ .accordion-content {
29
+ padding: 10px 0;
30
+ }
31
+ }
32
+ }
33
+
34
+ .accordion-wrapper {
35
+ @include Transition(grid-template-rows);
36
+ display: grid;
37
+ grid-template-rows: 0fr;
38
+ }
39
+
40
+ .accordion-content {
41
+ @include Transition();
42
+ overflow: hidden;
43
+ color: #DDD;
44
+ }
45
+ }
46
+ }
@@ -0,0 +1,6 @@
1
+ export type AccordionProps = {
2
+ items: {
3
+ title: string
4
+ content: string
5
+ }[]
6
+ }
@@ -0,0 +1,26 @@
1
+ ---
2
+ interface Props {
3
+ theme?: 'secondary' | 'tertiary'
4
+ [key: string]: any
5
+ }
6
+
7
+ const {
8
+ theme,
9
+ href,
10
+ ...rest
11
+ } = Astro.props
12
+ ---
13
+
14
+ {href ? (
15
+ <a {...rest} href={href} class={theme || null}>
16
+ <slot />
17
+ </a>
18
+ ) : (
19
+ <button {...rest}>
20
+ <slot />
21
+ </button>
22
+ )}
23
+
24
+ <style lang="scss">
25
+ @import './button.scss';
26
+ </style>
File without changes
File without changes
@@ -0,0 +1,21 @@
1
+ @import '../../scss/config.scss';
2
+
3
+ a {
4
+ padding: 10px 15px;
5
+ border-radius: 5px;
6
+ color: #FFF;
7
+ text-decoration: none;
8
+ display: inline-flex;
9
+ align-items: center;
10
+ gap: 5px;
11
+ font-size: 16px;
12
+
13
+ &.secondary {
14
+ @include Transition(background);
15
+ background: #252525;
16
+
17
+ &:hover {
18
+ background: #333;
19
+ }
20
+ }
21
+ }
@@ -0,0 +1,40 @@
1
+ ---
2
+ interface Props {
3
+ element?: string
4
+ title?: string
5
+ compact?: boolean
6
+ [key: string]: any
7
+ }
8
+
9
+ const {
10
+ element = 'section',
11
+ title,
12
+ titleTag = 'span',
13
+ compact = true,
14
+ ...rest
15
+ } = Astro.props
16
+
17
+ const props = {
18
+ class: 'card'
19
+ }
20
+
21
+ const Component = element
22
+ const Title = titleTag
23
+ ---
24
+
25
+ <Component {...props} {...rest}>
26
+ {title && (
27
+ <Title class="card-title">{title}</Title>
28
+ )}
29
+ <div class="card-body" class:list={[compact && 'compact']}>
30
+ {compact ? (
31
+ <div class="card-wrapper"><slot /></div>
32
+ ) : (
33
+ <slot />
34
+ )}
35
+ </div>
36
+ </Component>
37
+
38
+ <style lang="scss">
39
+ @import './card.scss';
40
+ </style>
File without changes
File without changes
@@ -0,0 +1,24 @@
1
+ .card {
2
+ border: 1px solid #252525;
3
+ border-radius: 5px;
4
+
5
+ .card-title {
6
+ padding: 20px;
7
+ display: block;
8
+ border-bottom: 1px solid #252525;
9
+ font-size: 16px;
10
+ }
11
+
12
+ .card-body {
13
+ padding: 20px;
14
+
15
+ &.compact {
16
+ background: #111;
17
+ }
18
+ }
19
+
20
+ .card-wrapper {
21
+ background: #000;
22
+ padding: 40px;
23
+ }
24
+ }
package/package.json CHANGED
@@ -1,27 +1,64 @@
1
- {
2
- "name": "webcoreui",
3
- "type": "module",
4
- "version": "0.0.2",
5
- "scripts": {
6
- "dev": "astro dev",
7
- "build": "astro check && astro build",
8
- "build:package": "node scripts/build.js",
9
- "test": "echo \"Error: no test specified\""
10
- },
11
- "dependencies": {
12
- "@astrojs/check": "0.7.0",
13
- "@astrojs/svelte": "5.5.0",
14
- "astro": "4.10.2",
15
- "sass": "1.77.5",
16
- "svelte": "4.2.18",
17
- "typescript": "5.4.5"
18
- },
19
- "exports": {
20
- "./astro": "./astro.js",
21
- "./styles": "./scss/index.scss",
22
- "./config": "./scss/config.scss"
23
- },
24
- "files": [
25
- "dist"
26
- ]
27
- }
1
+ {
2
+ "name": "webcoreui",
3
+ "type": "module",
4
+ "version": "0.0.3",
5
+ "scripts": {
6
+ "dev": "astro dev",
7
+ "build": "astro check && astro build",
8
+ "build:package": "node scripts/build.js",
9
+ "publish": "cd dist && np",
10
+ "test": "echo \"Error: no test specified\""
11
+ },
12
+ "dependencies": {
13
+ "@astrojs/check": "0.7.0",
14
+ "@astrojs/react": "3.5.0",
15
+ "@astrojs/svelte": "5.5.0",
16
+ "astro": "4.10.2",
17
+ "react": "18.3.1",
18
+ "react-dom": "18.3.1",
19
+ "sass": "1.77.5",
20
+ "svelte": "4.2.18",
21
+ "typescript": "5.4.5"
22
+ },
23
+ "exports": {
24
+ "./astro": "./astro.js",
25
+ "./svelte": "./svelte.js",
26
+ "./react": "./react.js",
27
+ "./styles": "./scss/index.scss",
28
+ "./config": "./scss/config.scss"
29
+ },
30
+ "files": [
31
+ "public",
32
+ "components",
33
+ "scss",
34
+ "astro.d.ts",
35
+ "astro.js",
36
+ "svelte.d.ts",
37
+ "svelte.js",
38
+ "react.d.ts",
39
+ "react.js"
40
+ ],
41
+ "license": "MIT",
42
+ "description": "UI component and template library for Astro, Svelte, and React apps styled with Sass.",
43
+ "keywords": [
44
+ "webcore",
45
+ "component",
46
+ "components",
47
+ "ui components",
48
+ "component library",
49
+ "astro components",
50
+ "svelte components",
51
+ "react components",
52
+ "frontend",
53
+ "library",
54
+ "sass"
55
+ ],
56
+ "homepage": "https://webcoreui.dev",
57
+ "repository": {
58
+ "type": "git",
59
+ "url": "https://github.com/Frontendland/webcoreui"
60
+ },
61
+ "bugs": {
62
+ "url": "https://github.com/Frontendland/webcoreui/issues"
63
+ }
64
+ }
Binary file
Binary file
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M22.3903 6.12641C21.3172 4.24172 19.8617 2.74961 18.0232 1.64975C16.1845 0.549822 14.1772 0 11.9999 0C9.82282 0 7.81486 0.54999 5.97655 1.64975C4.13797 2.74956 2.68246 4.24172 1.60939 6.12641C0.536482 8.01104 0 10.0691 0 12.3005C0 14.9808 0.762885 17.3911 2.28904 19.5319C3.81503 21.6728 5.78638 23.1543 8.20293 23.9764C8.48422 24.0299 8.69245 23.9923 8.82785 23.8644C8.96329 23.7364 9.03093 23.5761 9.03093 23.3841C9.03093 23.3521 9.02825 23.0639 9.02305 22.5193C9.01812 22.0442 9.01549 21.5691 9.01517 21.094L8.65579 21.1577C8.42665 21.2008 8.13758 21.219 7.78859 21.2138C7.43977 21.2088 7.07764 21.1714 6.70271 21.1017C6.32762 21.0326 5.97874 20.8725 5.6558 20.6215C5.33302 20.3706 5.10388 20.0422 4.96844 19.6367L4.81219 19.2681C4.70805 19.0227 4.54409 18.7502 4.32009 18.4514C4.0961 18.1523 3.86959 17.9496 3.64045 17.8428L3.53105 17.7625C3.45816 17.7092 3.39051 17.6448 3.32796 17.5702C3.26546 17.4955 3.21867 17.4208 3.18742 17.346C3.15612 17.2711 3.18206 17.2096 3.26552 17.1614C3.34898 17.1133 3.4998 17.0899 3.71865 17.0899L4.03103 17.1377C4.23937 17.1805 4.49708 17.3084 4.80448 17.522C5.11171 17.7356 5.36427 18.0131 5.56222 18.3547C5.80192 18.7926 6.09071 19.1262 6.42941 19.3559C6.76784 19.5855 7.10906 19.7001 7.45274 19.7001C7.79642 19.7001 8.09325 19.6734 8.34335 19.6202C8.59318 19.5668 8.82757 19.4866 9.04642 19.3799C9.14017 18.6642 9.39541 18.1143 9.81193 17.73C9.21826 17.6661 8.68452 17.5697 8.21042 17.4417C7.7366 17.3134 7.24697 17.1053 6.74184 16.8167C6.23645 16.5285 5.81719 16.1707 5.48396 15.7438C5.15068 15.3166 4.87715 14.7559 4.66378 14.062C4.45029 13.3678 4.34352 12.5671 4.34352 11.6595C4.34352 10.3673 4.75506 9.26765 5.57798 8.35997C5.19249 7.38846 5.22888 6.29936 5.68727 5.0928C5.98936 4.99659 6.43735 5.06879 7.03102 5.30894C7.6248 5.54921 8.05954 5.75504 8.33569 5.92569C8.61184 6.09629 8.8331 6.24085 8.99979 6.3581C9.96872 6.08058 10.9686 5.94179 11.9998 5.94179C13.0309 5.94179 14.0311 6.08058 15 6.3581L15.5938 5.97388C15.9998 5.71751 16.4792 5.48257 17.031 5.269C17.5831 5.05555 18.0052 4.99675 18.297 5.09296C18.7656 6.29959 18.8074 7.38863 18.4217 8.36014C19.2446 9.26782 19.6563 10.3677 19.6563 11.6597C19.6563 12.5673 19.5492 13.3705 19.336 14.07C19.1226 14.7696 18.8467 15.3298 18.5083 15.7518C18.1695 16.1737 17.7475 16.5288 17.2424 16.8169C16.7372 17.1052 16.2474 17.3134 15.7735 17.4416C15.2995 17.5698 14.7658 17.6662 14.1721 17.7303C14.7136 18.2106 14.9843 18.9688 14.9843 20.0045V23.3837C14.9843 23.5756 15.0495 23.7359 15.1798 23.864C15.31 23.9918 15.5156 24.0295 15.7969 23.9759C18.2138 23.1539 20.1851 21.6724 21.7111 19.5314C23.2368 17.3907 24 14.9804 24 12.3C23.9995 10.0689 23.4627 8.01104 22.3903 6.12641Z" fill="white"/>
3
+ </svg>
Binary file
@@ -0,0 +1,9 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 128 128">
2
+ <path d="M50.4 78.5a75.1 75.1 0 0 0-28.5 6.9l24.2-65.7c.7-2 1.9-3.2 3.4-3.2h29c1.5 0 2.7 1.2 3.4 3.2l24.2 65.7s-11.6-7-28.5-7L67 45.5c-.4-1.7-1.6-2.8-2.9-2.8-1.3 0-2.5 1.1-2.9 2.7L50.4 78.5Zm-1.1 28.2Zm-4.2-20.2c-2 6.6-.6 15.8 4.2 20.2a17.5 17.5 0 0 1 .2-.7 5.5 5.5 0 0 1 5.7-4.5c2.8.1 4.3 1.5 4.7 4.7.2 1.1.2 2.3.2 3.5v.4c0 2.7.7 5.2 2.2 7.4a13 13 0 0 0 5.7 4.9v-.3l-.2-.3c-1.8-5.6-.5-9.5 4.4-12.8l1.5-1a73 73 0 0 0 3.2-2.2 16 16 0 0 0 6.8-11.4c.3-2 .1-4-.6-6l-.8.6-1.6 1a37 37 0 0 1-22.4 2.7c-5-.7-9.7-2-13.2-6.2Z" />
3
+ <style>
4
+ path { fill: #000; }
5
+ @media (prefers-color-scheme: dark) {
6
+ path { fill: #FFF; }
7
+ }
8
+ </style>
9
+ </svg>
Binary file
package/react.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ declare module 'webcoreui/react' {
2
+ import type { AccordionProps } from './components/Accordion/accordion'
3
+
4
+ export function Accordion(_props: AccordionProps): any
5
+ }
package/react.js ADDED
@@ -0,0 +1,3 @@
1
+ import { Accordion } from './components/Accordion/Accordion.tsx'
2
+
3
+ export const Accordion = Accordion
@@ -0,0 +1,16 @@
1
+ @mixin Transition($property: all, $speed: .3s) {
2
+ transition: $property $speed cubic-bezier(0.4, 0.0, 0.2, 1);
3
+ }
4
+
5
+ @mixin Media($size: 'xs') {
6
+ $sizes: (
7
+ 'xs': 600px,
8
+ 'sm': 800px,
9
+ 'md': 1024px,
10
+ 'lg': 1200px
11
+ );
12
+
13
+ @media (min-width: #{map-get($sizes, $size)}) {
14
+ @content;
15
+ }
16
+ }
@@ -0,0 +1 @@
1
+ @import './config/mixins.scss';
@@ -0,0 +1,42 @@
1
+ @import '../config';
2
+
3
+ @mixin Utility() {
4
+ .container {
5
+ margin: 0 auto;
6
+ max-width: 1200px;
7
+ padding: 0 20px;
8
+ }
9
+
10
+ .grid {
11
+ display: grid;
12
+ gap: 20px;
13
+ }
14
+
15
+ @include Media('md') {
16
+ .grid.md-2 {
17
+ grid-template-columns: repeat(2, minmax(0, 1fr));
18
+ }
19
+
20
+ .grid.md-3 {
21
+ grid-template-columns: repeat(3, minmax(0, 1fr));
22
+ }
23
+
24
+ .grid.md-4 {
25
+ grid-template-columns: repeat(4, minmax(0, 1fr));
26
+ }
27
+ }
28
+
29
+ @include Media('lg') {
30
+ .grid.lg-2 {
31
+ grid-template-columns: repeat(2, minmax(0, 1fr));
32
+ }
33
+
34
+ .grid.lg-3 {
35
+ grid-template-columns: repeat(3, minmax(0, 1fr));
36
+ }
37
+
38
+ .grid.lg-4 {
39
+ grid-template-columns: repeat(4, minmax(0, 1fr));
40
+ }
41
+ }
42
+ }
@@ -0,0 +1 @@
1
+ @import './global/utility.scss';
@@ -0,0 +1,3 @@
1
+ @import './setup';
2
+ @import './resets';
3
+ @import './global';
@@ -0,0 +1,44 @@
1
+ @mixin Resets() {
2
+ @if (config('fontRegular')) {
3
+ @font-face {
4
+ font-family: Regular;
5
+ font-display: swap;
6
+ src: url(#{config('fontRegular')}) format('woff2');
7
+ }
8
+ }
9
+
10
+ @if (config('fontBold')) {
11
+ @font-face {
12
+ font-family: Bold;
13
+ font-display: swap;
14
+ src: url(#{config('fontBold')}) format('woff2');
15
+ }
16
+ }
17
+
18
+ * {
19
+ box-sizing: border-box;
20
+ }
21
+
22
+ body {
23
+ background: #000;
24
+ color: #FFF;
25
+ margin: 0;
26
+ font-size: 18px;
27
+ font-family: Regular, sans-serif;
28
+ }
29
+
30
+ h1,
31
+ h2,
32
+ h3,
33
+ h4,
34
+ h5,
35
+ h6,
36
+ strong {
37
+ font-family: Bold, sans-serif;
38
+ }
39
+
40
+ a {
41
+ color: #FFF;
42
+ text-decoration: none;
43
+ }
44
+ }
@@ -0,0 +1,22 @@
1
+ @use 'sass:map';
2
+
3
+ $config: (
4
+ includeResets: true,
5
+ includeHelperClasses: true
6
+ );
7
+
8
+ @function config($key) {
9
+ @return map.get($config, $key);
10
+ }
11
+
12
+ @mixin Setup($customConfig: ()) {
13
+ $config: map.merge($config, $customConfig) !global;
14
+
15
+ @if (config('includeResets')) {
16
+ @include Resets();
17
+ }
18
+
19
+ @if (config('includeHelperClasses')) {
20
+ @include Utility();
21
+ }
22
+ }
package/svelte.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ declare module 'webcoreui/svelte' {
2
+ import type { AccordionProps } from './components/Accordion/accordion'
3
+
4
+ export function Accordion(_props: AccordionProps): any
5
+ }
package/svelte.js ADDED
@@ -0,0 +1,3 @@
1
+ import Accordion from './components/Accordion/Accordion.svelte'
2
+
3
+ export const Accordion = Accordion
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2024 Frontendland
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/README.md DELETED
@@ -1,47 +0,0 @@
1
- # Astro Starter Kit: Minimal
2
-
3
- ```sh
4
- npm create astro@latest -- --template minimal
5
- ```
6
-
7
- [![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/astro/tree/latest/examples/minimal)
8
- [![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/p/sandbox/github/withastro/astro/tree/latest/examples/minimal)
9
- [![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/withastro/astro?devcontainer_path=.devcontainer/minimal/devcontainer.json)
10
-
11
- > 🧑‍🚀 **Seasoned astronaut?** Delete this file. Have fun!
12
-
13
- ## 🚀 Project Structure
14
-
15
- Inside of your Astro project, you'll see the following folders and files:
16
-
17
- ```text
18
- /
19
- ├── public/
20
- ├── src/
21
- │ └── pages/
22
- │ └── index.astro
23
- └── package.json
24
- ```
25
-
26
- Astro looks for `.astro` or `.md` files in the `src/pages/` directory. Each page is exposed as a route based on its file name.
27
-
28
- There's nothing special about `src/components/`, but that's where we like to put any Astro/React/Vue/Svelte/Preact components.
29
-
30
- Any static assets, like images, can be placed in the `public/` directory.
31
-
32
- ## 🧞 Commands
33
-
34
- All commands are run from the root of the project, from a terminal:
35
-
36
- | Command | Action |
37
- | :------------------------ | :----------------------------------------------- |
38
- | `npm install` | Installs dependencies |
39
- | `npm run dev` | Starts local dev server at `localhost:4321` |
40
- | `npm run build` | Build your production site to `./dist/` |
41
- | `npm run preview` | Preview your build locally, before deploying |
42
- | `npm run astro ...` | Run CLI commands like `astro add`, `astro check` |
43
- | `npm run astro -- --help` | Get help using the Astro CLI |
44
-
45
- ## 👀 Want to learn more?
46
-
47
- Feel free to check [our documentation](https://docs.astro.build) or jump into our [Discord server](https://astro.build/chat).
package/dist/env.d.ts DELETED
@@ -1 +0,0 @@
1
- /// <reference types="astro/client" />