Skip to content

Commit b6de0bd

Browse files
committed
initial commit
0 parents  commit b6de0bd

19 files changed

+2554
-0
lines changed

.eslintrc.cjs

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
module.exports = {
2+
root: true,
3+
extends: ['eslint:recommended', 'prettier'],
4+
plugins: ['svelte3'],
5+
overrides: [{ files: ['*.svelte'], processor: 'svelte3/svelte3' }],
6+
parserOptions: {
7+
sourceType: 'module',
8+
ecmaVersion: 2019
9+
},
10+
env: {
11+
browser: true,
12+
es2017: true,
13+
node: true
14+
}
15+
};

.gitignore

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.DS_Store
2+
node_modules
3+
/.svelte-kit
4+
/package
5+
/.vercel_build_output

.npmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
engine-strict=true

.prettierignore

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.svelte-kit/**
2+
static/**
3+
build/**
4+
node_modules/**
5+
.vercel_build_output/**

.prettierrc

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"useTabs": true,
3+
"singleQuote": true,
4+
"trailingComma": "none",
5+
"printWidth": 100
6+
}

README.md

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Modal Routing Example for SvelteKit
2+
3+
i spent more time parsing the API and styling the site lol

jsconfig.json

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"compilerOptions": {
3+
"baseUrl": ".",
4+
"checkJs": true,
5+
"paths": {
6+
"$lib": ["src/lib"],
7+
"$lib/*": ["src/lib/*"]
8+
}
9+
},
10+
"include": ["src/**/*.d.ts", "src/**/*.js", "src/**/*.svelte"]
11+
}

package.json

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"name": "modal-example",
3+
"private": true,
4+
"version": "0.0.1",
5+
"scripts": {
6+
"dev": "svelte-kit dev",
7+
"build": "svelte-kit build",
8+
"preview": "svelte-kit preview",
9+
"lint": "prettier --check --plugin-search-dir=. . && eslint --ignore-path .gitignore .",
10+
"format": "prettier --write --plugin-search-dir=. ."
11+
},
12+
"devDependencies": {
13+
"@sveltejs/adapter-vercel": "^1.0.0-next.24",
14+
"@sveltejs/kit": "next",
15+
"autoprefixer": "^10.2.6",
16+
"cssnano": "^5.0.6",
17+
"eslint": "^7.30.0",
18+
"eslint-config-prettier": "^8.3.0",
19+
"eslint-plugin-svelte3": "^3.2.0",
20+
"postcss": "^8.3.5",
21+
"postcss-load-config": "^3.1.0",
22+
"prettier": "~2.2.1",
23+
"prettier-plugin-svelte": "^2.3.1",
24+
"svelte": "^3.38.3",
25+
"svelte-preprocess": "^4.7.3",
26+
"tailwindcss": "^2.2.4"
27+
},
28+
"type": "module"
29+
}

0 commit comments

Comments
 (0)