-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
86 lines (86 loc) · 2.42 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
{
"name": "discordbot",
"version": "1.2.0",
"description": "Running the Discord bot requires the creation of a config file. The config file contains settings (for example channels to listen to, messages to listen to and the bot's token).<br><br>Here is an example:\r ```json\r {",
"main": "index.js",
"files": [
"dist/**/*",
".nvmrc"
],
"dependencies": {
"axios": "^0.20.0",
"bluebird": "^3.7.2",
"bluebird-retry": "^0.11.0",
"discord.js": "^12.4.0",
"minimist": "^1.2.5",
"moment": "^2.27.0"
},
"devDependencies": {
"@types/bluebird": "^3.5.32",
"@types/bluebird-retry": "^0.11.4",
"@types/chai": "^4.2.4",
"@types/chai-as-promised": "^7.1.2",
"@types/mocha": "^5.2.7",
"@types/node": "^14.0.24",
"@types/sinon": "7.5.0",
"@types/sinon-chai": "^3.2.3",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"mocha": "^6.2.0",
"mockdate": "^3.0.2",
"nyc": "^14.1.1",
"pre-commit": "^1.2.2",
"sinon": "^9.0.3",
"sinon-chai": "^3.3.0",
"ts-node": "^8.10.2",
"ts-sinon": "^2.0.1",
"tslint": "6.1.2",
"tslint-config-security": "1.16.0",
"typescript": "3.9.7"
},
"scripts": {
"start": "npm run start:dev",
"start:dev": "npx ts-node ./src/index.ts",
"start:prod": "npx node ./dist/index.js",
"clean": "rm -rf ./dist",
"build": "npm run clean && npx tsc",
"coverage": "npx nyc npx mocha",
"lint": "npx tslint --project ./",
"lint:fix": "npm run lint -- --fix",
"test": "npx mocha"
},
"author": "",
"license": "ISC",
"repository": {
"type": "git",
"url": "git+https://github.com/accbh/discordbot.git"
},
"bugs": {
"url": "https://github.com/accbh/discordbot/issues"
},
"homepage": "https://github.com/accbh/discordbot#readme",
"pre-commit": [
"lint",
"coverage",
"build"
],
"nyc": {
"extension": [
".ts",
".tsx"
],
"exclude": [
"coverage/**/*",
"dist/**/*",
"src/index.ts",
"src/**/*.test.ts",
"test/**/*.ts"
],
"reporter": [
"lcov",
"text",
"json"
],
"all": true
}
}