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