initial commit

This commit is contained in:
Marcel Lorbeer 2023-06-29 17:32:22 +02:00
commit 4101788540
4 changed files with 47 additions and 0 deletions

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
package-lock.json
node_modules
dist
test

31
package.json Normal file
View File

@ -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"
}
}

1
src/marcsync.ts Normal file
View File

@ -0,0 +1 @@
console.log("Placeholder");

11
tsconfig.json Normal file
View File

@ -0,0 +1,11 @@
{
"compilerOptions": {
"target": "ES2020",
"module": "commonjs",
"outDir": "dist",
"strict": true,
"esModuleInterop": true
},
"include": ["src/**/*"],
"exclude": ["node_modules"]
}