-
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
0 parents
commit 57cf435
Showing
31 changed files
with
2,814 additions
and
0 deletions.
There are no files selected for viewing
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,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 |
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,30 @@ | ||
module.exports = { | ||
root: true, | ||
extends: [ | ||
'eslint:recommended', | ||
'plugin:@typescript-eslint/recommended', | ||
'plugin:svelte/recommended', | ||
'prettier' | ||
], | ||
parser: '@typescript-eslint/parser', | ||
plugins: ['@typescript-eslint'], | ||
parserOptions: { | ||
sourceType: 'module', | ||
ecmaVersion: 2020, | ||
extraFileExtensions: ['.svelte'] | ||
}, | ||
env: { | ||
browser: true, | ||
es2017: true, | ||
node: true | ||
}, | ||
overrides: [ | ||
{ | ||
files: ['*.svelte'], | ||
parser: 'svelte-eslint-parser', | ||
parserOptions: { | ||
parser: '@typescript-eslint/parser' | ||
} | ||
} | ||
] | ||
}; |
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,10 @@ | ||
.DS_Store | ||
node_modules | ||
/build | ||
/.svelte-kit | ||
/package | ||
.env | ||
.env.* | ||
!.env.example | ||
vite.config.js.timestamp-* | ||
vite.config.ts.timestamp-* |
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,2 @@ | ||
engine-strict=true | ||
resolution-mode=highest |
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,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 |
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,9 @@ | ||
{ | ||
"useTabs": true, | ||
"singleQuote": true, | ||
"trailingComma": "none", | ||
"printWidth": 100, | ||
"plugins": ["prettier-plugin-svelte"], | ||
"pluginSearchDirs": ["."], | ||
"overrides": [{ "files": "*.svelte", "options": { "parser": "svelte" } }] | ||
} |
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,111 @@ | ||
{ | ||
"prettier.documentSelectors": [ | ||
"**/*.svelte" | ||
], | ||
"tailwindCSS.classAttributes": [ | ||
"class", | ||
"accent", | ||
"active", | ||
"aspectRatio", | ||
"background", | ||
"badge", | ||
"bgBackdrop", | ||
"bgDark", | ||
"bgDrawer", | ||
"bgLight", | ||
"blur", | ||
"border", | ||
"button", | ||
"buttonAction", | ||
"buttonBack", | ||
"buttonClasses", | ||
"buttonComplete", | ||
"buttonDismiss", | ||
"buttonNeutral", | ||
"buttonNext", | ||
"buttonPositive", | ||
"buttonTextCancel", | ||
"buttonTextConfirm", | ||
"buttonTextFirst", | ||
"buttonTextLast", | ||
"buttonTextNext", | ||
"buttonTextPrevious", | ||
"buttonTextSubmit", | ||
"caretClosed", | ||
"caretOpen", | ||
"chips", | ||
"color", | ||
"controlSeparator", | ||
"controlVariant", | ||
"cursor", | ||
"display", | ||
"element", | ||
"fill", | ||
"fillDark", | ||
"fillLight", | ||
"flex", | ||
"gap", | ||
"gridColumns", | ||
"height", | ||
"hover", | ||
"indent", | ||
"justify", | ||
"meter", | ||
"padding", | ||
"position", | ||
"regionBackdrop", | ||
"regionBody", | ||
"regionCaption", | ||
"regionCaret", | ||
"regionCell", | ||
"regionChildren", | ||
"regionCone", | ||
"regionContent", | ||
"regionControl", | ||
"regionDefault", | ||
"regionDrawer", | ||
"regionFoot", | ||
"regionFootCell", | ||
"regionFooter", | ||
"regionHead", | ||
"regionHeadCell", | ||
"regionHeader", | ||
"regionIcon", | ||
"regionInterface", | ||
"regionInterfaceText", | ||
"regionLabel", | ||
"regionLead", | ||
"regionLegend", | ||
"regionList", | ||
"regionNavigation", | ||
"regionPage", | ||
"regionPanel", | ||
"regionRowHeadline", | ||
"regionRowMain", | ||
"regionSummary", | ||
"regionSymbol", | ||
"regionTab", | ||
"regionTrail", | ||
"ring", | ||
"rounded", | ||
"select", | ||
"shadow", | ||
"slotDefault", | ||
"slotFooter", | ||
"slotHeader", | ||
"slotLead", | ||
"slotMessage", | ||
"slotMeta", | ||
"slotPageContent", | ||
"slotPageFooter", | ||
"slotPageHeader", | ||
"slotSidebarLeft", | ||
"slotSidebarRight", | ||
"slotTrail", | ||
"spacing", | ||
"text", | ||
"track", | ||
"width", | ||
"zIndex" | ||
] | ||
} |
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,3 @@ | ||
# Kreolingo | ||
|
||
A Duolingo ripoff to help you learn Mauritian Creole. This is a project built with UI toolkit [Skeleton](https://www.skeleton.dev/) which uses [Svelte](https://svelte.dev/) and [Tailwind CSS](https://tailwindcss.com/). |
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,22 @@ | ||
{ | ||
"title": "Lesson 1", | ||
"description": "Use basic phrases, talk about food and drink", | ||
"content": [ | ||
{ | ||
"type": "MC", | ||
"question": "Select the correct option", | ||
"options": { | ||
"man": "misier", | ||
"woman": "madam", | ||
"bread": "dipain", | ||
"girl": "tifi" | ||
} | ||
}, | ||
{ | ||
"type": "Q", | ||
"question": "How do you say 'girl'?", | ||
"answer": "tifi", | ||
"options": ["tifi", "diri", "misier"] | ||
} | ||
] | ||
} |
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,18 @@ | ||
{ | ||
"title": "Lesson 2", | ||
"description": "Greet people, use affirmative phrases", | ||
"content": [ | ||
{ | ||
"type": "S", | ||
"question": "Mo ___ Jean", | ||
"answer": "Mo apel Jean", | ||
"options": ["dipain", "bwar", "apel"] | ||
}, | ||
{ | ||
"type": "Q", | ||
"question": "How do you say 'rice'?", | ||
"answer": "diri", | ||
"options": ["tifi", "diri", "misier"] | ||
} | ||
] | ||
} |
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,18 @@ | ||
{ | ||
"title": "Lesson 3", | ||
"description": "Say what you don't do, use articles", | ||
"content": [ | ||
{ | ||
"type": "MC", | ||
"question": "Mo ___ Jean", | ||
"answer": "Mo apel Jean", | ||
"options": ["dipain", "bwar", "apel"] | ||
}, | ||
{ | ||
"type": "Q", | ||
"question": "How do you say 'rice'?", | ||
"answer": "diri", | ||
"options": ["tifi", "diri", "misier"] | ||
} | ||
] | ||
} |
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,18 @@ | ||
{ | ||
"title": "Lesson 4", | ||
"description": "Discuss food and drink, talk about animals", | ||
"content": [ | ||
{ | ||
"type": "S", | ||
"question": "Mo ___ Jean", | ||
"answer": "Mo apel Jean", | ||
"options": ["dipain", "bwar", "apel"] | ||
}, | ||
{ | ||
"type": "MC", | ||
"question": "How do you say 'rice'?", | ||
"answer": "diri", | ||
"options": ["tifi", "diri", "misier"] | ||
} | ||
] | ||
} |
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,40 @@ | ||
{ | ||
"name": "kreolingo-svelte", | ||
"version": "0.0.1", | ||
"private": true, | ||
"scripts": { | ||
"dev": "vite dev", | ||
"build": "vite build", | ||
"preview": "vite preview", | ||
"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": { | ||
"@floating-ui/dom": "^1.4.5", | ||
"@skeletonlabs/skeleton": "^1.10.0", | ||
"@sveltejs/adapter-auto": "^2.0.0", | ||
"@sveltejs/kit": "^1.5.0", | ||
"@tailwindcss/forms": "^0.5.4", | ||
"@types/node": "^20.4.4", | ||
"@typescript-eslint/eslint-plugin": "^5.45.0", | ||
"@typescript-eslint/parser": "^5.45.0", | ||
"autoprefixer": "^10.4.14", | ||
"eslint": "^8.28.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
"eslint-plugin-svelte": "^2.26.0", | ||
"fs": "^0.0.1-security", | ||
"path": "^0.12.7", | ||
"postcss": "^8.4.27", | ||
"prettier": "^2.8.0", | ||
"prettier-plugin-svelte": "^2.8.1", | ||
"svelte": "^3.54.0", | ||
"svelte-check": "^3.0.1", | ||
"tailwindcss": "^3.3.3", | ||
"tslib": "^2.4.1", | ||
"typescript": "^5.0.0", | ||
"vite": "^4.3.0" | ||
}, | ||
"type": "module" | ||
} |
Oops, something went wrong.