Skip to content

Commit 3c2e3fb

Browse files
committed
chore: Add tsconfig.json.
1 parent f52b401 commit 3c2e3fb

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"discord.js"
1313
],
1414
"license": "GNU",
15-
"main": "index.js",
15+
"main": "dist",
1616
"prettier": {
1717
"arrowParens": "avoid",
1818
"bracketSpacing": false,
@@ -28,5 +28,6 @@
2828
"prepublishOnly": "npm run prettier && npm run build",
2929
"prettier": "prettier --write *.ts *.json README.md"
3030
},
31+
"types": "dist",
3132
"version": "0.1.0"
3233
}

tsconfig.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"compilerOptions": {
3+
"declaration": true,
4+
"module": "commonjs",
5+
"outDir": "dist",
6+
"rootDir": "src",
7+
"strict": true,
8+
"target": "ES2021"
9+
}
10+
}

0 commit comments

Comments
 (0)