Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
77 lines (77 loc) · 2.13 KB
/
Copy pathpackage.json
File metadata and controls
77 lines (77 loc) · 2.13 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
{
"name": "@strafechat/strafe.js",
"version": "2.1.0",
"description": "The official TypeScript library for Strafe bots, the REST API and OAuth2.",
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./package.json": "./package.json"
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"sideEffects": false,
"engines": {
"node": ">=22.12.0"
},
"scripts": {
"build": "tsc -p tsconfig.build.json",
"clean": "node scripts/clean.js",
"typecheck": "tsc -p tsconfig.json --noEmit && tsc -p docs/.vitepress/tsconfig.json --noEmit",
"lint": "eslint . && node scripts/check-terms.js",
"lint:fix": "eslint . --fix",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"docs:api": "typedoc",
"docs:dev": "npm run docs:api && vitepress dev docs",
"docs:build": "npm run docs:api && vitepress build docs",
"docs:preview": "vitepress preview docs",
"check:package": "publint && attw --pack . --profile esm-only",
"smoke": "node scripts/smoke-esm.js && node scripts/smoke-cjs.cjs",
"prepublishOnly": "npm run clean && npm run build && npm run check:package && npm run smoke"
},
"keywords": [
"strafe",
"strafechat",
"strafe.js",
"bot",
"api",
"oauth2",
"federation",
"discord.js-like"
],
"author": "StrafeChat",
"homepage": "https://strafe.js.org",
"repository": {
"type": "git",
"url": "git+https://github.com/StrafeChat/strafe.js.git"
},
"bugs": {
"url": "https://github.com/StrafeChat/strafe.js/issues"
},
"license": "MIT",
"publishConfig": {
"access": "public",
"provenance": true
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.18.5",
"@eslint/js": "^10.0.1",
"@types/node": "^22.20.5",
"@vitest/coverage-v8": "^5.1.0",
"eslint": "^10.14.0",
"eslint-plugin-tsdoc": "^0.5.4",
"publint": "^0.3.25",
"typedoc": "^0.28.20",
"typescript": "~6.0.3",
"typescript-eslint": "^8.72.1",
"vitepress": "^1.6.4",
"vitest": "^5.1.0"
}
}