UNPKG

slash-create-modify

Version:

Create and sync Discord slash commands!

94 lines (93 loc) 2.7 kB
{ "name": "slash-create-modify", "version": "1.0.2", "description": "Create and sync Discord slash commands!", "main": "./lib/index.js", "types": "./lib/index.d.ts", "author": { "name": "Snazzah", "email": "me@snazzah.com", "url": "https://snazzah.com/" }, "license": "MIT", "repository": "https://github.com/Snazzah/slash-create", "homepage": "https://slash-create.js.org/", "keywords": [ "api", "discord", "discordapp", "slash-command", "slash-commands", "discord-interactions", "wrapper" ], "scripts": { "build": "npx rimraf lib && npx tsc", "build:prepare": "npx shx test -d ./lib || npm run build", "changelog": "npx ts-node scripts/changelog", "docs": "npx typedoc --json .tmp/typedoc-out.json --plugin typedoc-plugin-as-member-of && ts-node scripts/docs", "lint": "npx eslint --ext .ts ./src", "lint:fix": "npx eslint --ext .ts ./src --fix", "test": "npx mocha -r ts-node/register --extension ts 'test/**/*.ts'", "gpr": "npx ts-node scripts/gpr", "prepare": "npx husky install && npm run build:prepare", "prepublishOnly": "(npx shx test -d ./lib || (echo \"lib folder does not exist\" && exit 1)) && npm run lint:fix" }, "lint-staged": { "*.ts": "eslint --fix" }, "funding": { "url": "https://github.com/sponsors/Snazzah" }, "engines": { "node": ">=14" }, "dependencies": { "eventemitter3": "^4.0.7", "lodash.isequal": "^4.5.0", "tweetnacl": "^1.0.3" }, "devDependencies": { "@sinonjs/fake-timers": "6.0.1", "@types/aws-lambda": "^8.10.82", "@types/chai": "^4.2.21", "@types/chai-as-promised": "^7.1.4", "@types/lodash": "^4.14.178", "@types/lodash.isequal": "^4.5.5", "@types/mocha": "^9.0.0", "@types/node": "^18.0.0", "@types/sinonjs__fake-timers": "6.0.1", "@typescript-eslint/eslint-plugin": "^4.29.1", "@typescript-eslint/parser": "^4.29.1", "chai": "^4.3.4", "chai-as-promised": "^7.1.1", "chai-nock": "^1.3.0", "colors": "1.4.0", "eslint": "^7.32.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-prettier": "^4.0.0", "fastify": "^4.0.2", "husky": "^8.0.1", "lint-staged": "^13.0.0", "mocha": "^10.0.0", "nock": "^13.1.1", "prettier": "^2.3.2", "ts-docgen": "github:dbots-pkg/ts-docgen#main", "ts-node": "^10.2.0", "typedoc": "0.19.2", "typedoc-plugin-as-member-of": "^1.0.2", "typescript": "4.3.5" }, "peerDependencies": { "express": "^4.17.1", "fastify": "^3.9.1" }, "peerDependenciesMeta": { "express": { "optional": true }, "fastify": { "optional": true } } }