Skip to content

Commit 1683d22

Browse files
committed
initial
0 parents  commit 1683d22

35 files changed

+4104
-0
lines changed

.gitignore

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
node_modules
2+
3+
# Output
4+
.output
5+
.vercel
6+
.netlify
7+
.wrangler
8+
/.svelte-kit
9+
/build
10+
11+
# OS
12+
.DS_Store
13+
Thumbs.db
14+
15+
# Env
16+
.env
17+
.env.*
18+
!.env.example
19+
!.env.test
20+
21+
# Vite
22+
vite.config.js.timestamp-*
23+
vite.config.ts.timestamp-*

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
engine-strict=true

.prettierignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Package Managers
2+
package-lock.json
3+
pnpm-lock.yaml
4+
yarn.lock
5+
bun.lock
6+
bun.lockb

.prettierrc

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"useTabs": true,
3+
"singleQuote": true,
4+
"trailingComma": "none",
5+
"printWidth": 100,
6+
"plugins": ["prettier-plugin-svelte", "prettier-plugin-tailwindcss"],
7+
"overrides": [
8+
{
9+
"files": "*.svelte",
10+
"options": {
11+
"parser": "svelte"
12+
}
13+
}
14+
]
15+
}

README.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# sv
2+
3+
Everything you need to build a Svelte project, powered by [`sv`](https://github.com/sveltejs/cli).
4+
5+
## Creating a project
6+
7+
If you're seeing this, you've probably already done this step. Congrats!
8+
9+
```bash
10+
# create a new project in the current directory
11+
npx sv create
12+
13+
# create a new project in my-app
14+
npx sv create my-app
15+
```
16+
17+
## Developing
18+
19+
Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
20+
21+
```bash
22+
npm run dev
23+
24+
# or start the server and open the app in a new browser tab
25+
npm run dev -- --open
26+
```
27+
28+
## Building
29+
30+
To create a production version of your app:
31+
32+
```bash
33+
npm run build
34+
```
35+
36+
You can preview the production build with `npm run preview`.
37+
38+
> To deploy your app, you may need to install an [adapter](https://svelte.dev/docs/kit/adapters) for your target environment.

eslint.config.js

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
import prettier from 'eslint-config-prettier';
2+
import js from '@eslint/js';
3+
import { includeIgnoreFile } from '@eslint/compat';
4+
import svelte from 'eslint-plugin-svelte';
5+
import globals from 'globals';
6+
import { fileURLToPath } from 'node:url';
7+
import svelteConfig from './svelte.config.js';
8+
9+
const gitignorePath = fileURLToPath(new URL('./.gitignore', import.meta.url));
10+
11+
export default [
12+
includeIgnoreFile(gitignorePath),
13+
js.configs.recommended,
14+
...svelte.configs.recommended,
15+
prettier,
16+
...svelte.configs.prettier,
17+
{
18+
languageOptions: {
19+
globals: { ...globals.browser, ...globals.node }
20+
}
21+
},
22+
{
23+
files: ['**/*.svelte', '**/*.svelte.js'],
24+
languageOptions: { parserOptions: { svelteConfig } }
25+
}
26+
];

jsconfig.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"extends": "./.svelte-kit/tsconfig.json",
3+
"compilerOptions": {
4+
"allowJs": true,
5+
"checkJs": true,
6+
"esModuleInterop": true,
7+
"forceConsistentCasingInFileNames": true,
8+
"resolveJsonModule": true,
9+
"skipLibCheck": true,
10+
"sourceMap": true,
11+
"strict": true,
12+
"moduleResolution": "bundler"
13+
}
14+
// Path aliases are handled by https://svelte.dev/docs/kit/configuration#alias
15+
// except $lib which is handled by https://svelte.dev/docs/kit/configuration#files
16+
//
17+
// If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes
18+
// from the referenced tsconfig.json - TypeScript does not merge them in
19+
}

package.json

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
{
2+
"name": "svelte-crm",
3+
"private": true,
4+
"version": "0.0.1",
5+
"type": "module",
6+
"scripts": {
7+
"dev": "vite dev",
8+
"build": "vite build",
9+
"preview": "vite preview",
10+
"prepare": "svelte-kit sync || echo ''",
11+
"check": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json",
12+
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json --watch",
13+
"format": "prettier --write .",
14+
"lint": "prettier --check . && eslint ."
15+
},
16+
"devDependencies": {
17+
"@eslint/compat": "^1.2.5",
18+
"@eslint/js": "^9.18.0",
19+
"@sveltejs/adapter-node": "^5.2.12",
20+
"@sveltejs/kit": "^2.20.4",
21+
"@sveltejs/vite-plugin-svelte": "^5.0.3",
22+
"@tailwindcss/typography": "^0.5.16",
23+
"@tailwindcss/vite": "^4.1.2",
24+
"eslint": "^9.18.0",
25+
"eslint-config-prettier": "^10.0.1",
26+
"eslint-plugin-svelte": "^3.0.0",
27+
"flowbite": "^3.1.2",
28+
"flowbite-svelte": "^0.48.4",
29+
"globals": "^16.0.0",
30+
"prettier": "^3.4.2",
31+
"prettier-plugin-svelte": "^3.3.3",
32+
"prettier-plugin-tailwindcss": "^0.6.11",
33+
"svelte": "^5.25.6",
34+
"svelte-check": "^4.1.2",
35+
"tailwindcss": "^4.1.2",
36+
"typescript": "^5.0.0",
37+
"vite": "^6.2.5"
38+
},
39+
"pnpm": {
40+
"onlyBuiltDependencies": [
41+
"esbuild"
42+
]
43+
},
44+
"dependencies": {
45+
"@fortawesome/free-brands-svg-icons": "^6.7.2",
46+
"@fortawesome/free-solid-svg-icons": "^6.7.2",
47+
"axios": "^1.8.4",
48+
"flowbite-svelte-blocks": "^1.1.4",
49+
"flowbite-svelte-icons": "^2.1.0",
50+
"svelte-fa": "^4.0.3"
51+
}
52+
}

0 commit comments

Comments
 (0)