Repository: FractalHQ/sveltekit-electron
Branch: master
Commit: 032f059544f5
Files: 24
Total size: 12.8 KB
Directory structure:
gitextract_co7zjf_f/
├── .gitignore
├── .npmrc
├── .prettierrc
├── .vscode/
│ ├── extensions.json
│ └── settings.json
├── LICENSE
├── README.md
├── build.config.json
├── globals.d.ts
├── jsconfig.json
├── package.json
├── src/
│ ├── app.html
│ ├── electron.cjs
│ ├── global.d.ts
│ ├── lib/
│ │ ├── Counter.svelte
│ │ ├── Logo.svelte
│ │ └── utils/
│ │ └── hmr-stores.js
│ ├── preload.cjs
│ └── routes/
│ ├── +layout.js
│ ├── +layout.svelte
│ └── +page.svelte
├── svelte.config.js
├── tsconfig.json
└── vite.config.js
================================================
FILE CONTENTS
================================================
================================================
FILE: .gitignore
================================================
node_modules
.svelte-kit
dist
build
package
.env
.env.*
*.local
!.env.example
yarn-error.log
pnpm-lock.yaml
.DS_Store
================================================
FILE: .npmrc
================================================
engine-strict = true
================================================
FILE: .prettierrc
================================================
{
"svelteSortOrder": "scripts-markup-styles",
"htmlWhitespaceSensitivity": "ignore",
"trailingComma": "all",
"requirePragma": false,
"bracketSpacing": true,
"singleQuote": true,
"printWidth": 100,
"useTabs": true,
"tabWidth": 4,
"semi": true
}
================================================
FILE: .vscode/extensions.json
================================================
{
"recommendations": ["svelte.svelte-vscode"]
}
================================================
FILE: .vscode/settings.json
================================================
{
"[svelte]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "svelte.svelte-vscode"
}
}
================================================
FILE: LICENSE
================================================
MIT License
Copyright (c) 2022 Braden Wiggins and contributors: https://github.com/fractalhq/sveltekit-electron/graphs/contributors
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
================================================
FILE: README.md
================================================
# Sveltekit + Electron
Minimal [Sveltekit](https://github.com/sveltejs/kit#readme) + [Electron](https://www.electronjs.org/) starter template.
## Getting Started
Unfortunately you must use `npm` as there are issues that arise when using `pnpm` or `yarn`
| | |
| ------- | ------------------------------------------- |
| Clone | · `npx degit fractalhq/sveltekit-electron ` |
| Install | · `npm install` |
| Develop | · `npm run dev` |
| Build | · `npm run build` |
In order to eliminate vulnerabilities caused by electron itself, please run `npm update` and `npm audit fix`. This will apply overrides.