-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathjsr.json
More file actions
87 lines (87 loc) · 2.27 KB
/
Copy pathjsr.json
File metadata and controls
87 lines (87 loc) · 2.27 KB
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
{
"name": "@splitscript/discord",
"version": "3.2.2",
"description": "Interact with the discord API in SplitScript.js",
"exports": "./src/index.ts",
"files": [
"CHANGELOG.md",
"README.md",
"LICENSE"
],
"scripts": {
"build": "rm -fr dist/* && tsc && esbuild `find src -type f -name \"*.ts\"` --platform='node' --ignore-annotations --format='cjs' --outdir='dist/cjs' && esbuild `find src -type f -name \"*.ts\"` --platform='node' --ignore-annotations --format='esm' --outdir='dist/esm' && cp src/esmpackage.json dist/esm/package.json",
"test": "cd test && node . && cd ../",
"test:cjs": "cd test/cjs && node . && cd ../../",
"lint": "eslint src",
"lint:fix": "eslint src --fix",
"knip": "knip"
},
"repository": {
"type": "git",
"url": "git+https://github.com/splitscriptjs/discord.git"
},
"keywords": [
"discord",
"splitscript",
"cjs",
"esm",
"hybrid"
],
"author": "ultraviolet",
"license": "MIT",
"bugs": {
"url": "https://github.com/splitscriptjs/discord/issues"
},
"homepage": "https://splitscript.js.org/discord",
"devDependencies": {
"@types/node": "^20.1.0",
"@types/ws": "^8.5.4",
"@typescript-eslint/eslint-plugin": "^6.5.0",
"@typescript-eslint/parser": "^6.5.0",
"esbuild": "^0.17.18",
"eslint": "^8.48.0",
"typescript": "^5.2.2"
},
"dependencies": {
"@splitscript/core": "2.3",
"@splitscript.js/https": "1.0",
"ws": "^8.13.0"
},
"imports": {
"@splitscript.js/core": "jsr:@splitscript/core@2.3"
},
"eslintConfig": {
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended-type-checked",
"plugin:@typescript-eslint/stylistic-type-checked"
],
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"env": {
"node": true
},
"root": true,
"rules": {
"no-mixed-spaces-and-tabs": "off",
"no-await-in-loop": "error",
"no-constant-binary-expression": "error",
"@typescript-eslint/consistent-type-definitions": "off",
"@typescript-eslint/consistent-type-exports": "error",
"@typescript-eslint/no-redundant-type-constituents": "off"
},
"parserOptions": {
"project": true
}
},
"prettier": {
"semi": false,
"singleQuote": true,
"useTabs": true,
"bracketSpacing": true,
"arrowParens": "always",
"trailingComma": "none"
}
}