diff --git a/.gitignore b/.gitignore index 30bc16279..df2302468 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,8 @@ -/node_modules \ No newline at end of file +.DS_Store +node_modules +#/build +/.svelte-kit +/package +.env +.env.* +!.env.example diff --git a/.npmrc b/.npmrc new file mode 100644 index 000000000..b6f27f135 --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +engine-strict=true diff --git a/README.md b/README.md new file mode 100644 index 000000000..94a48f5ff --- /dev/null +++ b/README.md @@ -0,0 +1,40 @@ +# create-svelte + +Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/master/packages/create-svelte). + +## Creating a project + +If you're seeing this, you've probably already done this step. Congrats! + +```bash +# create a new project in the current directory +npm init svelte@next + +# create a new project in my-app +npm init svelte@next my-app +``` + +> Note: the `@next` is temporary + +## Developing + +Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server: + +```bash +npm run dev + +# or start the server and open the app in a new browser tab +npm run dev -- --open +``` + +## Building + +To create a production version of your app: + +```bash +npm run build +``` + +You can preview the production build with `npm run preview`. + +> To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment. diff --git a/app.js b/app.js deleted file mode 100644 index f3c32758d..000000000 --- a/app.js +++ /dev/null @@ -1,177 +0,0 @@ -const ChannelItem = { - props: ['channel'], - template: ` -
- - | Name | -TVG-ID | -EPG | -
---|
{channel.name}
+{channel.id}
+
+ {guide.url}
+
+ | Name | +TVG-ID | +EPG | +
---|