Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
69 lines (69 loc) · 1.8 KB
/
Copy pathpackage.json
File metadata and controls
69 lines (69 loc) · 1.8 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
{
"name": "disjsx",
"version": "2.0.0",
"main": "./src/index.ts",
"module": "./src/index.ts",
"sideEffects": false,
"devDependencies": {
"@types/bun": "latest",
"eslint": "9.24.0",
"eslint-plugin-prefer-arrow": "^1.2.3",
"eslint-plugin-react-compiler": "^19.0.0-beta-e993439-20250405",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-refresh": "^0.4.19",
"globals": "^16.0.0",
"prettier": "^3.5.3",
"typescript-eslint": "^8.29.1",
"react": "^19.0.0",
"@types/react": "^19.0.0",
"typescript": "^5.8.3",
"discord-api-types": "^0.38.0"
},
"peerDependencies": {
"discord-api-types": "^0.38.0",
"react": "^19.0.0"
},
"engines": {
"node": ">=20"
},
"exports": {
".": {
"types": "./src/index.ts",
"default": "./src/index.ts"
}
},
"description": "A library for creating Discord messages in JSX",
"files": [
"dist"
],
"license": "MIT",
"private": false,
"scripts": {
"build:types": "tsc --project ./tsconfig.build.json",
"check:types": "! grep -rEn '(from |import\\()\"\\.\\.?/[^\"]*\"' dist/types | grep -v '\\.js\"'",
"clean": "rm -rf dist",
"build": "bun run clean && bun run build:js && bun run build:types && bun run check:types",
"test": "bun test",
"format": "bunx prettier --write .",
"lint": "bunx eslint .",
"lint:fix": "bunx eslint --fix .",
"release": "npm publish",
"build:js": "bun build ./src/index.ts --outdir ./dist --sourcemap --target node --format esm --packages external",
"typecheck": "tsc -p tsconfig.build.json --noEmit",
"prepublishOnly": "bun run typecheck && bun run build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Santa-Paws/disjsx.git"
},
"type": "module",
"types": "./src/index.ts",
"keywords": [
"discord",
"jsx",
"discord.js",
"discord.ts",
"discord.jsx",
"discord.tsx"
]
}