Added tsconfig and entrypoint

This commit is contained in:
Ferdinand Thiessen 2021-05-20 23:22:24 +02:00
parent 3113263206
commit 024702f60f
3 changed files with 19 additions and 1 deletions

3
.gitignore vendored
View File

@ -1,3 +1,4 @@
node_modules
node_modules/
dist/
# We do not rely on specific version, no need to share this
yarn.lock

View File

@ -13,6 +13,8 @@
"type": "git",
"url": "https://flaschengeist.dev/Flaschengeist/flaschengeist-typings"
},
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"scripts": {
"build": "tsc",
"pretty": "prettier --config ./package.json --write '{,!(node_modules)/**/}*.ts'"

15
tsconfig.json Normal file
View File

@ -0,0 +1,15 @@
{
"compilerOptions": {
"target": "esnext",
"module": "esnext",
"declaration": true,
"outDir": "./dist",
"strict": true,
"moduleResolution": "node"
},
"exclude": [
"node_modules",
"dist"
]
}