This repository has been archived by the owner on Jul 18, 2022. It is now read-only.
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
1 parent
9a00cc5
commit f23432b
Showing
13 changed files
with
2,234 additions
and
2,111 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,32 +1,36 @@ | ||
{ | ||
"name": "svelte-app", | ||
"version": "1.0.0", | ||
"scripts": { | ||
"build": "rollup -c", | ||
"dev": "rollup -c -w", | ||
"start": "sirv public" | ||
"dependencies": { | ||
"axios": "^0.27.2", | ||
"bootstrap": "^5.1.3", | ||
"remarkable": "^2.0.1", | ||
"sirv-cli": "^2.0.2" | ||
}, | ||
"devDependencies": { | ||
"@popperjs/core": "^2.11.5", | ||
"@rollup/plugin-commonjs": "^22.0.0", | ||
"@rollup/plugin-node-resolve": "^13.2.1", | ||
"@rollup/plugin-typescript": "^8.3.2", | ||
"@tsconfig/svelte": "^3.0.0", | ||
"@tsconfig/svelte": "^2.0.0", | ||
"@types/bootstrap": "^5.1.10", | ||
"@types/remarkable": "^1.7.5", | ||
"@types/rollup-plugin-css-only": "^3.1.0", | ||
"rollup": "^2.71.0", | ||
"rollup-plugin-css-only": "^3.1.0", | ||
"rollup-plugin-livereload": "^2.0.5", | ||
"rollup-plugin-svelte": "^7.1.0", | ||
"rollup-plugin-terser": "^7.0.2", | ||
"svelte": "^3.47.0", | ||
"svelte-check": "^2.7.0", | ||
"svelte-preprocess": "^4.10.6", | ||
"tslib": "^2.4.0", | ||
"typescript": "^4.6.4" | ||
"svelte-check": "^2.0.0", | ||
"svelte-preprocess": "^4.0.0", | ||
"tslib": "^2.0.0", | ||
"typescript": "^4.0.0" | ||
}, | ||
"dependencies": { | ||
"axios": "^0.27.2", | ||
"bootstrap": "^5.1.3", | ||
"remarkable": "^2.0.1", | ||
"sirv-cli": "^2.0.2" | ||
} | ||
"name": "svelte-app", | ||
"scripts": { | ||
"build": "rollup --config rollup.config.ts --configPlugin @rollup/plugin-typescript", | ||
"check": "svelte-check --tsconfig ./tsconfig.json", | ||
"dev": "rollup -w --config rollup.config.ts --configPlugin @rollup/plugin-typescript", | ||
"start": "sirv public" | ||
}, | ||
"version": "1.0.0" | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
export default function media_path(path) { | ||
export default function media_path(path: string): string { | ||
return document.getElementById("media-prefix").innerText + path; | ||
} |
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,3 +1,3 @@ | ||
export default function static_path(path) { | ||
export default function static_path(path: string): string { | ||
return document.getElementById("static-prefix").innerText + path; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,18 @@ | ||
{ | ||
"compilerOptions": { | ||
"types": ["node", "svelte"] | ||
"types": [ | ||
"node", | ||
"svelte" | ||
] | ||
}, | ||
"exclude": ["node_modules/*", "__sapper__/*", "public/*"], | ||
"exclude": [ | ||
"node_modules/*", | ||
"__sapper__/*", | ||
"public/*" | ||
], | ||
"extends": "@tsconfig/svelte/tsconfig.json", | ||
"include": ["src/**/*"] | ||
"include": [ | ||
"src/**/*", | ||
"rollup.config.ts" | ||
] | ||
} |