-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
2,361 additions
and
5,186 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,39 @@ | ||
{ | ||
"type": "module", | ||
"name": "mallsoft", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"scripts": { | ||
"start": "node build/index.js", | ||
"dev": "vite dev", | ||
"build": "vite build", | ||
"package": "vite package", | ||
"preview": "vite preview", | ||
"test": "playwright test", | ||
"check": "svelte-check --tsconfig ./tsconfig.json", | ||
"check:watch": "svelte-check --tsconfig ./tsconfig.json --watch", | ||
"lint": "prettier --ignore-path .gitignore --check --plugin-search-dir=. . && eslint --ignore-path .gitignore .", | ||
"format": "prettier --ignore-path .gitignore --write --plugin-search-dir=. ." | ||
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", | ||
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch", | ||
"lint": "prettier --plugin-search-dir . --check . && eslint .", | ||
"format": "prettier --plugin-search-dir . --write ." | ||
}, | ||
"devDependencies": { | ||
"@playwright/test": "^1.19.1", | ||
"@sveltejs/adapter-node": "^1.0.0-next.96", | ||
"@sveltejs/kit": "^1.0.0-next.324", | ||
"@typescript-eslint/eslint-plugin": "^5.10.1", | ||
"@typescript-eslint/parser": "^5.10.1", | ||
"eslint": "^7.32.0", | ||
"eslint-config-prettier": "^8.3.0", | ||
"eslint-plugin-svelte3": "^3.2.1", | ||
"matter-js": "^0.18.0", | ||
"prettier": "^2.5.1", | ||
"prettier-plugin-svelte": "^2.5.0", | ||
"svelte": "^3.46.0", | ||
"svelte-check": "^2.2.6", | ||
"svelte-preprocess": "^4.10.1", | ||
"tslib": "^2.3.1", | ||
"typescript": "~4.5.4", | ||
"vite": "^3.1.0" | ||
}, | ||
"dependencies": { | ||
"@fontsource/space-grotesk": "^4.5.5", | ||
"@neoconfetti/svelte": "^1.0.0", | ||
"@notionhq/client": "^2.2.3", | ||
"@sveltejs/adapter-node": "^1.2.2", | ||
"@sveltejs/kit": "^1.5.0", | ||
"@types/cookie": "^0.5.1", | ||
"@typescript-eslint/eslint-plugin": "^5.45.0", | ||
"@typescript-eslint/parser": "^5.45.0", | ||
"aksel": "^1.1.0", | ||
"bowser": "^2.11.0", | ||
"browser": "^0.2.6" | ||
"eslint": "^8.28.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
"eslint-plugin-svelte3": "^4.0.0", | ||
"matter-js": "^0.19.0", | ||
"prettier": "^2.8.0", | ||
"prettier-plugin-svelte": "^2.8.1", | ||
"svelte": "^3.54.0", | ||
"svelte-check": "^3.0.1", | ||
"tslib": "^2.4.1", | ||
"typescript": "^4.9.3", | ||
"vite": "^4.0.0" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<script context="module"> | ||
import { writable } from 'svelte/store'; | ||
import { tick } from 'svelte'; | ||
const confetting = writable(false); | ||
export async function confett() { | ||
confetting.set(false); | ||
await tick(); | ||
confetting.set(true); | ||
} | ||
</script> | ||
|
||
<script> | ||
import { confetti } from '@neoconfetti/svelte'; | ||
</script> | ||
|
||
{#if $confetting} | ||
<div use:confetti={{ stageHeight: window.innerHeight, stageWidth: window.innerWidth }} /> | ||
{/if} | ||
|
||
<style> | ||
div { | ||
position: fixed; | ||
top: 0; | ||
left: 0; | ||
z-index: 9999; | ||
display: flex; | ||
justify-content: center; | ||
height: 100vh; | ||
width: 100vw; | ||
overflow: hidden; | ||
pointer-events: none; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,17 @@ | ||
{ | ||
"extends": "./.svelte-kit/tsconfig.json", | ||
"compilerOptions": { | ||
"moduleResolution": "node", | ||
"module": "es2020", | ||
"lib": ["es2020", "DOM", "DOM.Iterable"], | ||
"target": "es2020", | ||
/** | ||
svelte-preprocess cannot figure out whether you have a value or a type, so tell TypeScript | ||
to enforce using \`import type\` instead of \`import\` for Types. | ||
*/ | ||
"importsNotUsedAsValues": "error", | ||
/** | ||
TypeScript doesn't know about import usages in the template because it only sees the | ||
script of a Svelte file. Therefore preserve all value imports. Requires TS 4.5 or higher. | ||
*/ | ||
"preserveValueImports": true, | ||
"isolatedModules": true, | ||
"resolveJsonModule": true, | ||
/** | ||
To have warnings/errors of the Svelte compiler at the correct position, | ||
enable source maps by default. | ||
*/ | ||
"sourceMap": true, | ||
"esModuleInterop": true, | ||
"skipLibCheck": true, | ||
"forceConsistentCasingInFileNames": true, | ||
"baseUrl": ".", | ||
"allowJs": true, | ||
"checkJs": true, | ||
"paths": { | ||
"$lib": ["src/lib"], | ||
"$lib/*": ["src/lib/*"] | ||
} | ||
}, | ||
"include": ["src/**/*.d.ts", "src/**/*.js", "src/**/*.ts", "src/**/*.svelte"], | ||
"extends": "./.svelte-kit/tsconfig.json" | ||
"esModuleInterop": true, | ||
"forceConsistentCasingInFileNames": true, | ||
"resolveJsonModule": true, | ||
"skipLibCheck": true, | ||
"sourceMap": true, | ||
"strict": true | ||
} | ||
// Path aliases are handled by https://kit.svelte.dev/docs/configuration#alias | ||
// | ||
// If you want to overwrite includes/excludes, make sure to copy over the relevant includes/excludes | ||
// from the referenced tsconfig.json - TypeScript does not merge them in | ||
} |
Oops, something went wrong.