-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
44 lines (44 loc) · 1.28 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
{
"name": "dishttp",
"version": "2.0.0-alpha.38",
"description": "A Discord HTTP Interactions library for Node.JS",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"author": "Sam Teeuwisse",
"license": "MIT",
"private": false,
"scripts": {
"prepare": "ts-patch install -s",
"prepublishOnly": "yarn run prepare && yarn run clean && yarn test",
"build": "tsc",
"clean": "rimraf dist",
"test": "yarn run build && cross-env TS_NODE_PROJECT=\"tsconfig.testing.json\" TS_NODE_FILES=true node --no-warnings --loader ts-node/esm node_modules/mocha/lib/cli/cli.js --diff --exit tests/**/*.test.ts"
},
"exports": {
".": "./dist/index.js",
"./nodeInit": "./dist/nodeInit.js"
},
"dependencies": {
"discord-api-types": "^0.32.1",
"itty-router": "^2.6.1"
},
"devDependencies": {
"@types/chai": "^4.3.1",
"@types/chai-as-promised": "^7.1.5",
"@types/mocha": "^9.1.1",
"@types/node": "^17.0.33",
"chai": "^4.3.6",
"chai-as-promised": "^7.1.1",
"cross-env": "^7.0.3",
"mocha": "^10.0.0",
"rimraf": "^3.0.2",
"ts-node": "^10.8.0",
"ts-patch": "^2.0.1",
"typescript": "^4.6.4",
"typescript-transform-paths": "^3.3.1"
},
"optionalDependencies": {
"node-fetch": "^3.2.4"
}
}