48 lines
1.5 KiB
JSON
48 lines
1.5 KiB
JSON
{
|
|
"name": "@navy.gif/discord-webhook",
|
|
"version": "1.2.6",
|
|
"description": "Client for interacting with discord webhooks",
|
|
"author": "Navy.gif",
|
|
"license": "MIT",
|
|
"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/**/*",
|
|
"README.md"
|
|
],
|
|
"scripts": {
|
|
"build": "tsc --build --force && tsc --project tsconfig.cjs.json && node ./scripts/declareTypes.js",
|
|
"test": "tsc && jest",
|
|
"release:patch": "yarn build && yarn version patch && yarn npm publish",
|
|
"release:minor": "yarn build && yarn version minor && yarn npm publish",
|
|
"release:major": "yarn build && yarn version major && yarn npm publish",
|
|
"lint": "eslint --fix"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.25.7",
|
|
"@babel/preset-env": "^7.25.7",
|
|
"@babel/preset-typescript": "^7.25.7",
|
|
"@eslint/eslintrc": "^3.1.0",
|
|
"@eslint/js": "^9.12.0",
|
|
"@types/babel__core": "^7",
|
|
"@types/babel__preset-env": "^7",
|
|
"@types/node": "^22.7.4",
|
|
"@typescript-eslint/eslint-plugin": "^8.8.0",
|
|
"@typescript-eslint/parser": "^8.8.0",
|
|
"eslint": "^9.12.0",
|
|
"globals": "^15.10.0",
|
|
"typescript": "^5.6.2"
|
|
},
|
|
"packageManager": "yarn@4.5.2"
|
|
}
|