Initialization

This commit is contained in:
Mylloon 2023-09-07 17:06:53 +02:00
commit 9f144ca7c2
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
7 changed files with 2033 additions and 0 deletions

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
/node_modules
/dist

3
.vscode/extensions.json vendored Normal file
View file

@ -0,0 +1,3 @@
{
"recommendations": ["dbaeumer.vscode-eslint", "esbenp.prettier-vscode"]
}

8
.vscode/settings.json vendored Normal file
View file

@ -0,0 +1,8 @@
{
"editor.tabSize": 2,
"editor.insertSpaces": false,
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"files.trimTrailingWhitespace": true
}

1974
package-lock.json generated Normal file

File diff suppressed because it is too large Load diff

31
package.json Normal file
View file

@ -0,0 +1,31 @@
{
"name": "ical-online",
"version": "1.0.0",
"description": "Read iCal files online",
"main": "./dist/main.js",
"scripts": {
"main": "rm -r dist 2> /dev/null; npx tsc && node ./dist/index.js",
"lint": "npx eslint src",
"format": "npx prettier --check src"
},
"repository": {
"type": "git",
"url": "https://git.mylloon.fr/Anri/ical-online"
},
"keywords": [
"ICS",
"Web",
"Reader"
],
"author": "Mylloon",
"license": "AGPL-3.0-or-later",
"dependencies": {
"ical.js": "^1.5.0",
"typescript": "~5.2.2"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "~6.6.0",
"@typescript-eslint/parser": "~6.6.0",
"prettier-eslint": "~15.0.1"
}
}

1
src/index.ts Normal file
View file

@ -0,0 +1 @@
console.log("Hello, world!");

14
tsconfig.json Normal file
View file

@ -0,0 +1,14 @@
{
"compilerOptions": {
"module": "commonjs",
"target": "es2016",
"noImplicitAny": true,
"sourceMap": true,
"outDir": "dist",
"baseUrl": ".",
"paths": {
"*": ["node_modules/*"]
}
},
"include": ["src/**/*.ts"]
}