-
-
Notifications
You must be signed in to change notification settings - Fork 47
/
package.json
109 lines (109 loc) · 3.04 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
{
"name": "slash-create",
"version": "6.3.1",
"description": "Create and sync Discord slash commands!",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"exports": {
".": {
"types": "./lib/index.d.ts",
"default": "./lib/index.js"
},
"./web": {
"types": "./lib/web/index.d.ts",
"default": "./lib/web/index.js"
},
"./lib/*.js": "./lib/*.js",
"./package.json": "./package.json"
},
"author": {
"name": "Snazzah",
"email": "me@snazzah.com",
"url": "https://snazzah.com/"
},
"license": "MIT",
"repository": "https://github.com/Snazzah/slash-create",
"bugs": {
"url": "https://github.com/Snazzah/slash-create/issues"
},
"homepage": "https://slash-create.js.org/",
"keywords": [
"api",
"discord",
"discordapp",
"slash-command",
"slash-commands",
"discord-interactions",
"wrapper"
],
"scripts": {
"build": "rimraf lib && tsc",
"build:prepare": "shx test -d ./lib || npm run build",
"changelog": "tsx scripts/changelog",
"docs": "typedoc --json .tmp/typedoc-out.json --excludeExternals --plugin typedoc-plugin-as-member-of && tsx scripts/docs",
"lint": "eslint --ext .ts ./src",
"lint:sarif": "eslint --ext .ts ./src -f @microsoft/sarif -o eslint-results.sarif --quiet",
"lint:fix": "eslint --ext .ts ./src --fix",
"test": "mocha -r tsx --extension ts 'test/**/*.ts'",
"gpr": "tsx scripts/gpr",
"prepare": "npm run build:prepare",
"prepublishOnly": "(shx test -d ./lib || (echo \"lib folder does not exist\" && exit 1)) && npm run lint:fix"
},
"funding": {
"url": "https://github.com/sponsors/Snazzah"
},
"engines": {
"node": ">=16"
},
"dependencies": {
"eventemitter3": "^5.0.1",
"lodash.isequal": "^4.5.0",
"tweetnacl": "^1.0.3",
"undici": "^5.28.4"
},
"devDependencies": {
"@microsoft/eslint-formatter-sarif": "^3.0.0",
"@sinonjs/fake-timers": "6.0.1",
"@types/aws-lambda": "^8.10.130",
"@types/chai": "^4.3.11",
"@types/chai-as-promised": "^7.1.8",
"@types/lodash": "^4.14.202",
"@types/lodash.isequal": "^4.5.8",
"@types/mocha": "^10.0.6",
"@types/node": "^20.10.3",
"@types/sinonjs__fake-timers": "6.0.1",
"@typescript-eslint/eslint-plugin": "^6.19.0",
"@typescript-eslint/parser": "^6.19.0",
"chai": "^4.3.10",
"chai-as-promised": "^7.1.1",
"chai-nock": "^1.3.0",
"colors": "1.4.0",
"cross-env": "^7.0.3",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"fastify": "^4.25.2",
"mocha": "^10.2.0",
"nock": "^13.4.0",
"prettier": "^3.1.0",
"rimraf": "^5.0.5",
"shx": "^0.3.4",
"ts-docgen": "github:dbots-pkg/ts-docgen#main",
"tsx": "^4.7.0",
"typedoc": "0.19.2",
"typedoc-plugin-as-member-of": "^1.0.2",
"typescript": "4.4.2"
},
"peerDependencies": {
"express": "^4",
"fastify": "^3 || ^4"
},
"peerDependenciesMeta": {
"express": {
"optional": true
},
"fastify": {
"optional": true
}
}
}