From aa906396fb1caf0899c113871640c4c6368a7d9a Mon Sep 17 00:00:00 2001 From: Ken Yasue Date: Sat, 16 Aug 2025 10:27:16 +0200 Subject: [PATCH] Initial commit --- .gitignore | 19 +++++++++++++++++++ package-lock.json | 45 +++++++++++++++++++++++++++++++++++++++++++++ package.json | 18 ++++++++++++++++++ src/index.ts | 1 + tsconfig.json | 20 ++++++++++++++++++++ 5 files changed, 103 insertions(+) create mode 100644 .gitignore create mode 100644 package-lock.json create mode 100644 package.json create mode 100644 src/index.ts create mode 100644 tsconfig.json diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..7264be8 --- /dev/null +++ b/.gitignore @@ -0,0 +1,19 @@ +# Dependencies +/node_modules + +# Build output +/dist + +# IDEs and editors +.vscode/ +*.suo +*.ntvs* +*.njsproj +*.sln +*.sw? + +# Misc +.DS_Store +npm-debug.log* +yarn-debug.log* +yarn-error.log* diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..cdf181e --- /dev/null +++ b/package-lock.json @@ -0,0 +1,45 @@ +{ + "name": "random_video_maker", + "version": "1.0.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "random_video_maker", + "version": "1.0.0", + "license": "ISC", + "devDependencies": { + "@types/node": "^20.0.0", + "typescript": "^5.0.0" + } + }, + "node_modules/@types/node": { + "version": "20.19.11", + "resolved": "https://registry.npmjs.org/@types/node/-/node-20.19.11.tgz", + "integrity": "sha512-uug3FEEGv0r+jrecvUUpbY8lLisvIjg6AAic6a2bSP5OEOLeJsDSnvhCDov7ipFFMXS3orMpzlmi0ZcuGkBbow==", + "dev": true, + "dependencies": { + "undici-types": "~6.21.0" + } + }, + "node_modules/typescript": { + "version": "5.9.2", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.2.tgz", + "integrity": "sha512-CWBzXQrc/qOkhidw1OzBTQuYRbfyxDXJMVJ1XNwUHGROVmuaeiEm3OslpZ1RV96d7SKKjZKrSJu3+t/xlw3R9A==", + "dev": true, + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, + "node_modules/undici-types": { + "version": "6.21.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.21.0.tgz", + "integrity": "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ==", + "dev": true + } + } +} diff --git a/package.json b/package.json new file mode 100644 index 0000000..a80306f --- /dev/null +++ b/package.json @@ -0,0 +1,18 @@ +{ + "name": "random_video_maker", + "version": "1.0.0", + "description": "", + "main": "dist/index.js", + "scripts": { + "start": "tsc && node dist/index.js", + "build": "tsc", + "test": "echo \"Error: no test specified\" && exit 1" + }, + "keywords": [], + "author": "", + "license": "ISC", + "devDependencies": { + "typescript": "^5.0.0", + "@types/node": "^20.0.0" + } +} \ No newline at end of file diff --git a/src/index.ts b/src/index.ts new file mode 100644 index 0000000..b0456b2 --- /dev/null +++ b/src/index.ts @@ -0,0 +1 @@ +console.log("Hello, TypeScript!"); diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..3027d5e --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,20 @@ +{ + "compilerOptions": { + "target": "es6", + "module": "commonjs", + "outDir": "./dist", + "rootDir": "./src", + "strict": true, + "esModuleInterop": true, + "skipLibCheck": true, + "forceConsistentCasingInFileNames": true, + "sourceMap": true + }, + "include": [ + "src/**/*" + ], + "exclude": [ + "node_modules", + "**/*.spec.ts" + ] +} \ No newline at end of file