-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
74 lines (74 loc) · 1.82 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
{
"private": true,
"repository": "https://github.com/approxit/turlacz",
"license": "MIT",
"type": "module",
"scripts": {
"lint": "eslint . --ext .ts",
"compile": "npm run compile:dice && npm run compile:ts",
"compile:dice": "pegjs -o src/adapters/pegjs/dice-parser.cjs src/adapters/pegjs/dice-parser.pegjs",
"compile:ts": "tsc",
"prestart": "npm run compile",
"start": "node --trace-deprecation --experimental-modules --es-module-specifier-resolution=node dist/index.js",
"format": "prettier --ignore-path .gitignore --write \"**/*.+(js|ts|json)\"",
"pretests": "npm run compile",
"tests": "mocha",
"clean": "rimraf dist"
},
"dependencies": {
"@discordjs/builders": "^0.12.0",
"@discordjs/rest": "^0.3.0",
"discord-api-types": "^0.30.0",
"discord.js": "^13.6.0",
"mongodb": "^4.4.1",
"typescript-memoize": "^1.1.0"
},
"devDependencies": {
"@types/mocha": "^9.1.0",
"@typescript-eslint/eslint-plugin": "^5.12.0",
"@typescript-eslint/parser": "^5.12.0",
"eslint": "^8.9.0",
"eslint-config-prettier": "^8.3.0",
"mocha": "^9.2.0",
"pegjs": "^0.11.0-master.f69239d",
"prettier": "^2.5.1"
},
"eslintConfig": {
"env": {
"es2021": true,
"node": true,
"mocha": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"project": "tsconfig.json",
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
"@typescript-eslint/no-explicit-any": "off"
}
},
"prettier": {
"printWidth": 120,
"singleQuote": true,
"arrowParens": "avoid",
"useTabs": true,
"tabWidth": 4
},
"mocha": {
"node-option": [
"experimental-modules",
"es-module-specifier-resolution=node"
],
"spec": "dist/**/*.spec.js"
}
}