@ -0,0 +1,13 @@
|
||||
.DS_Store |
||||
node_modules |
||||
/build |
||||
/.svelte-kit |
||||
/package |
||||
.env |
||||
.env.* |
||||
!.env.example |
||||
|
||||
# Ignore files for PNPM, NPM and YARN |
||||
pnpm-lock.yaml |
||||
package-lock.json |
||||
yarn.lock |
@ -0,0 +1,24 @@
|
||||
module.exports = { |
||||
root: true, |
||||
parser: '@typescript-eslint/parser', |
||||
extends: [ |
||||
'eslint:recommended', |
||||
'plugin:@typescript-eslint/recommended', |
||||
'prettier', |
||||
], |
||||
plugins: ['svelte3', '@typescript-eslint'], |
||||
ignorePatterns: ['*.cjs'], |
||||
overrides: [{ files: ['*.svelte'], processor: 'svelte3/svelte3' }], |
||||
settings: { |
||||
'svelte3/typescript': () => require('typescript'), |
||||
}, |
||||
parserOptions: { |
||||
sourceType: 'module', |
||||
ecmaVersion: 2020, |
||||
}, |
||||
env: { |
||||
browser: true, |
||||
es2017: true, |
||||
node: true, |
||||
}, |
||||
} |
@ -0,0 +1,8 @@
|
||||
.DS_Store |
||||
node_modules |
||||
/build |
||||
/.svelte-kit |
||||
/package |
||||
.env |
||||
.env.* |
||||
!.env.example |
@ -0,0 +1,15 @@
|
||||
.DS_Store |
||||
node_modules |
||||
/build |
||||
/dist |
||||
/production |
||||
/.svelte-kit |
||||
/package |
||||
.env |
||||
.env.* |
||||
!.env.example |
||||
|
||||
# Ignore files for PNPM, NPM and YARN |
||||
pnpm-lock.yaml |
||||
package-lock.json |
||||
yarn.lock |
@ -0,0 +1,12 @@
|
||||
{ |
||||
"useTabs": false, |
||||
"printWidth": 80, |
||||
"tabWidth": 2, |
||||
"jsxBracketSameLine": true, |
||||
"arrowParens": "avoid", |
||||
"htmlWhitespaceSensitivity": "strict", |
||||
"vueIndentScriptAndStyle": true, |
||||
"semi": false, |
||||
"singleQuote": true, |
||||
"bracketSpacing": true |
||||
} |
@ -0,0 +1,38 @@
|
||||
# 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 |
||||
|
||||
# create a new project in my-app |
||||
npm init svelte my-app |
||||
``` |
||||
|
||||
## 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. |
@ -0,0 +1,63 @@
|
||||
{ |
||||
"name": "ao-svelte", |
||||
"version": "0.0.1", |
||||
"scripts": { |
||||
"dev": "svelte-kit dev", |
||||
"build": "svelte-kit build", |
||||
"package": "svelte-kit package", |
||||
"preview": "svelte-kit preview", |
||||
"prepare": "svelte-kit sync", |
||||
"check": "svelte-check --tsconfig ./tsconfig.json", |
||||
"check:watch": "svelte-check --tsconfig ./tsconfig.json --watch", |
||||
"lint": "prettier --check --plugin-search-dir=. . && eslint .", |
||||
"format": "prettier --write --plugin-search-dir=. ." |
||||
}, |
||||
"devDependencies": { |
||||
"@sveltejs/adapter-auto": "next", |
||||
"@sveltejs/adapter-node": "^1.0.0-next.78", |
||||
"@sveltejs/kit": "next", |
||||
"@types/debug": "^4.1.7", |
||||
"@types/socket.io": "^3.0.2", |
||||
"@typescript-eslint/eslint-plugin": "^5.10.1", |
||||
"@typescript-eslint/parser": "^5.10.1", |
||||
"better-sqlite3": "^7.5.3", |
||||
"bitcoin-core": "^3.0.0", |
||||
"chalk": "^5.0.1", |
||||
"cookie-parser": "^1.4.6", |
||||
"date-fns": "^2.28.0", |
||||
"eslint": "^8.12.0", |
||||
"eslint-config-prettier": "^8.3.0", |
||||
"eslint-plugin-svelte3": "^4.0.0", |
||||
"lodash.samplesize": "^4.2.0", |
||||
"multer": "^1.4.5-lts.1", |
||||
"prettier": "^2.5.1", |
||||
"prettier-plugin-svelte": "^2.5.0", |
||||
"superagent": "^7.1.6", |
||||
"svelte": "^3.44.0", |
||||
"svelte-check": "^2.2.6", |
||||
"svelte-preprocess": "^4.10.1", |
||||
"tslib": "^2.3.1", |
||||
"typescript": "~4.6.2", |
||||
"typescript-transform-paths": "^3.3.1", |
||||
"yaml-head-loader": "^1.0.2" |
||||
}, |
||||
"type": "module", |
||||
"dependencies": { |
||||
"buffer": "^6.0.3", |
||||
"cron": "^2.0.0", |
||||
"crypto-browserify": "^3.12.0", |
||||
"debug": "^4.3.4", |
||||
"dotenv": "^16.0.1", |
||||
"express": "^4.18.1", |
||||
"hash.js": "^1.1.7", |
||||
"kefir": "^3.8.8", |
||||
"rsync": "^0.6.1", |
||||
"sha.js": "^2.4.11", |
||||
"socket.io": "^4.5.1", |
||||
"socket.io-client": "^4.5.1", |
||||
"socketio-auth": "^0.1.1", |
||||
"tor-request": "^3.1.0", |
||||
"uuid": "^8.3.2", |
||||
"youtube-dl-wrap": "^2.1.1" |
||||
} |
||||
} |
@ -0,0 +1,10 @@
|
||||
/// <reference types="@sveltejs/kit" />
|
||||
|
||||
// See https://kit.svelte.dev/docs/types#app
|
||||
// for information about these interfaces
|
||||
declare namespace App { |
||||
// interface Locals {}
|
||||
// interface Platform {}
|
||||
// interface Session {}
|
||||
// interface Stuff {}
|
||||
} |
@ -0,0 +1,12 @@
|
||||
<!DOCTYPE html> |
||||
<html lang="en"> |
||||
<head> |
||||
<meta charset="utf-8" /> |
||||
<link rel="icon" href="%sveltekit.assets%/favicon.png" /> |
||||
<meta name="viewport" content="width=device-width, initial-scale=1" /> |
||||
%sveltekit.head% |
||||
</head> |
||||
<body> |
||||
<div>%sveltekit.body%</div> |
||||
</body> |
||||
</html> |
After Width: | Height: | Size: 31 KiB |
After Width: | Height: | Size: 7.9 KiB |
After Width: | Height: | Size: 7.9 KiB |
After Width: | Height: | Size: 339 KiB |
After Width: | Height: | Size: 39 KiB |
After Width: | Height: | Size: 9.0 KiB |
After Width: | Height: | Size: 4.0 KiB |
After Width: | Height: | Size: 80 KiB |
After Width: | Height: | Size: 8.9 KiB |
After Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 8.5 KiB |
After Width: | Height: | Size: 238 KiB |