Added tsconfig and entrypoint
This commit is contained in:
parent
3113263206
commit
024702f60f
|
@ -1,3 +1,4 @@
|
|||
node_modules
|
||||
node_modules/
|
||||
dist/
|
||||
# We do not rely on specific version, no need to share this
|
||||
yarn.lock
|
||||
|
|
|
@ -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'"
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
|
||||
{
|
||||
"compilerOptions": {
|
||||
"target": "esnext",
|
||||
"module": "esnext",
|
||||
"declaration": true,
|
||||
"outDir": "./dist",
|
||||
"strict": true,
|
||||
"moduleResolution": "node"
|
||||
},
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
"dist"
|
||||
]
|
||||
}
|
Loading…
Reference in New Issue