Skip to content

Commit

Permalink
typescript ready
Browse files Browse the repository at this point in the history
  • Loading branch information
albatranomar committed Aug 6, 2022
1 parent 6f6c725 commit 24c9a4c
Show file tree
Hide file tree
Showing 3 changed files with 102 additions and 0 deletions.
50 changes: 50 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 30 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"name": "easy-discord-components",
"version": "1.0.0",
"description": "This package is designed to make it easier to work with message components",
"main": "lib/index.js",
"scripts": {
"build": "tsc",
"prepublishOnly": "npm run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/albatranomar/easy-discord-components.git"
},
"keywords": [
"discord",
"disocrd-components",
"discord-buttons",
"discord-select-menus"
],
"author": "albatranomar",
"license": "ISC",
"bugs": {
"url": "https://github.com/albatranomar/easy-discord-components/issues"
},
"homepage": "https://github.com/albatranomar/easy-discord-components#readme",
"devDependencies": {
"@types/node": "^18.6.4",
"typescript": "^4.7.4"
}
}
22 changes: 22 additions & 0 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"compilerOptions": {
"target": "ESNext",
"module": "CommonJS",
"declaration": true,
"declarationMap": true,
"sourceMap": true,
"outDir": "./lib",
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"moduleResolution": "node",
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true
},
"include": [
"src/**/*"
]
}

0 comments on commit 24c9a4c

Please sign in to comment.