This commit is contained in:
Erik 2023-07-16 00:39:13 +03:00
parent b55cea1de8
commit 09270a7f44
Signed by: Navy.gif
GPG Key ID: 2532FBBB61C65A68

View File

@ -1,40 +1,40 @@
{ {
"name": "@navy.gif/discord-webhook", "name": "@navy.gif/discord-webhook",
"version": "1.2.0", "version": "1.2.1",
"description": "Client for interacting with discord webhooks", "description": "Client for interacting with discord webhooks",
"author": "Navy.gif", "author": "Navy.gif",
"license": "MIT", "license": "MIT",
"private": false, "private": false,
"type": "module", "type": "module",
"main": "build/cjs/index.js", "main": "build/cjs/index.js",
"module": "build/esm/index.js", "module": "build/esm/index.js",
"types": "./build/esm/index.d.ts", "types": "./build/esm/index.d.ts",
"exports": { "exports": {
".": { ".": {
"import": "./build/esm/index.js", "import": "./build/esm/index.js",
"require": "./build/cjs/index.js", "require": "./build/cjs/index.js",
"default": "./build/cjs/index.js", "default": "./build/cjs/index.js",
"types": "./build/esm/index.d.ts" "types": "./build/esm/index.d.ts"
} }
}, },
"files": [ "files": [
"build/**/*" "build/**/*"
], ],
"scripts": { "scripts": {
"build": "tsc --build --force && tsc --project tsconfig.cjs.json && node ./scripts/declareTypes.js", "build": "tsc --build --force && tsc --project tsconfig.cjs.json && node ./scripts/declareTypes.js",
"test": "tsc && jest", "test": "tsc && jest",
"release": "tsc && yarn publish", "release": "tsc && yarn publish",
"lint": "eslint --fix" "lint": "eslint --fix"
}, },
"devDependencies": { "devDependencies": {
"@types/node": "^18.15.11", "@types/node": "^18.15.11",
"@types/node-fetch": "2", "@types/node-fetch": "2",
"@typescript-eslint/eslint-plugin": "^5.57.1", "@typescript-eslint/eslint-plugin": "^5.57.1",
"@typescript-eslint/parser": "^5.57.1", "@typescript-eslint/parser": "^5.57.1",
"eslint": "^8.37.0", "eslint": "^8.37.0",
"typescript": "^5.0.3" "typescript": "^5.0.3"
}, },
"dependencies": { "dependencies": {
"node-fetch": "2" "node-fetch": "2"
} }
} }