commit 41017885408fb4e59fe79ec5c52545557cf7a5af Author: Marcel Lorbeer Date: Thu Jun 29 17:32:22 2023 +0200 initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f2d365f --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +package-lock.json +node_modules +dist +test \ No newline at end of file diff --git a/package.json b/package.json new file mode 100644 index 0000000..d17a85b --- /dev/null +++ b/package.json @@ -0,0 +1,31 @@ +{ + "name": "marcsync", + "version": "0.0.0", + "description": "A NodeJS MarcSync Client to communicate with MarcSync's API", + "main": "dist/cjs/index.js", + "module": "dist/esm/index.js", + "types": "dist/index.d.ts", + "scripts": { + "build": "rmdir /s /q dist && npm run build:esm && npm run build:cjs", + "build:esm": "tsc", + "build:cjs": "tsc --module commonjs --outDir dist/cjs" + }, + "repository": { + "type": "git", + "url": "https://github.com/MarciiTheDev/marcsync-nodejs-client.git" + }, + "keywords": [ + "marcsync", + "api", + "client" + ], + "author": "MarcTheDev", + "license": "MIT", + "bugs": { + "url": "https://github.com/MarciiTheDev/marcsync-nodejs-client/issues" + }, + "homepage": "https://github.com/MarciiTheDev/marcsync-nodejs-client#readme", + "devDependencies": { + "typescript": "^5.1.6" + } +} diff --git a/src/marcsync.ts b/src/marcsync.ts new file mode 100644 index 0000000..eac3cbf --- /dev/null +++ b/src/marcsync.ts @@ -0,0 +1 @@ +console.log("Placeholder"); \ No newline at end of file diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..beb250c --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,11 @@ +{ + "compilerOptions": { + "target": "ES2020", + "module": "commonjs", + "outDir": "dist", + "strict": true, + "esModuleInterop": true + }, + "include": ["src/**/*"], + "exclude": ["node_modules"] +} \ No newline at end of file