Skip to content

Commit

Permalink
feat: typings
Browse files Browse the repository at this point in the history
  • Loading branch information
twlite committed Jul 30, 2021
1 parent 21e81df commit ef1d49a
Show file tree
Hide file tree
Showing 3 changed files with 1,000 additions and 7 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ function load(moduleName) {

module.exports = {
Canvas: Canvacord,
Canvacord,
ConvolutionMatrix: Canvacord.CONVOLUTION_MATRIX,
Rank: require("./src/Rank"),
Spotify: require("./src/Spotify"),
Expand Down
22 changes: 15 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
{
"name": "canvacord",
"version": "5.2.1",
"version": "5.2.2",
"description": "Powerful image manipulation package for beginners.",
"main": "index.js",
"types": "typings/index.d.ts",
"files": [
"libs",
"plugins",
"src",
"index.js",
"typings"
],
"scripts": {
"docs": "docgen --source src --custom docs/index.yml --output docs/docs.json",
"docs:test": "docgen --source src --custom docs/index.yml",
Expand Down Expand Up @@ -40,17 +48,17 @@
},
"homepage": "https://canvacord.js.org",
"dependencies": {
"@canvacord/assets": "^1.0.2",
"@canvacord/assets": "^2.0.5",
"@canvacord/emoji-parser": "^1.0.1",
"canvas": "^2.7.0",
"canvas": "^2.8.0",
"gifencoder": "^2.0.1",
"moment": "^2.29.1",
"moment-duration-format": "^2.3.2"
},
"devDependencies": {
"@types/node": "^14.11.2",
"captcha-canvas": "^2.2.1",
"discord-canvas": "github:snowflake107/discord-canvas",
"discord.js-docgen": "github:discordjs/docgen"
"@discordjs/docgen": "discordjs/docgen",
"@types/node": "^16.4.7",
"captcha-canvas": "^2.3.1",
"discord-canvas": "github:snowflake107/discord-canvas"
}
}
Loading

0 comments on commit ef1d49a

Please sign in to comment.