-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
106 lines (106 loc) · 2.58 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
{
"name": "kana",
"version": "10.1.0",
"author": "AnimeBytes",
"engines": {
"node": ">=20.9.0"
},
"type": "module",
"scripts": {
"start-dev": "TS_NODE_FILES=true node --no-warnings --loader ts-node/esm src/index.ts --project tsconfig.json",
"build": "rm -rf dist/ && tsc",
"lint": "run-p --aggregate-output --continue-on-error lint:*",
"lint:eslint": "eslint --format unix src/",
"lint:prettier": "prettier --check 'src/**/*.ts'",
"format": "prettier --write 'src/**/*.ts'",
"test": "NODE_ENV=test TS_NODE_FILES=true LOG_LEVEL=silent c8 --reporter=text mocha --color 'src/**/*.spec.ts' --exit",
"clean": "rm -rf .nyc_output/ dist/"
},
"dependencies": {
"chalk": "5.4.1",
"express": "4.21.2",
"got": "13.0.0",
"htmlparser2": "10.0.0",
"http-signature": "1.4.0",
"irc-framework": "4.14.0",
"loglevel": "1.9.2",
"loglevel-plugin-prefix": "0.8.4",
"source-map-support": "0.5.21",
"tslib": "2.8.1"
},
"devDependencies": {
"@types/chai": "5.0.1",
"@types/express": "4.17.21",
"@types/mocha": "10.0.10",
"@types/node": "22.10.5",
"@types/sinon": "17.0.3",
"@types/stream-buffers": "3.0.7",
"@typescript-eslint/eslint-plugin": "8.19.1",
"@typescript-eslint/parser": "8.19.1",
"c8": "10.1.3",
"chai": "5.1.2",
"eslint": "8.57.1",
"eslint-config-prettier": "9.1.0",
"mocha": "11.0.1",
"mock-fs": "5.4.1",
"npm-run-all2": "7.0.2",
"prettier": "3.4.2",
"sinon": "19.0.2",
"stream-buffers": "3.0.3",
"ts-node": "10.9.2",
"typescript": "5.7.3"
},
"c8": {
"include": [
"src/**/*.ts"
],
"exclude": [
"src/**/*.spec.ts",
"src/**/*.d.ts"
],
"all": true
},
"prettier": {
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"printWidth": 150
},
"eslintConfig": {
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"env": {
"browser": false,
"node": true
},
"parserOptions": {
"project": "./tsconfig.json"
},
"rules": {
"no-console": "error",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"max-len": [
"error",
{
"code": 200
}
]
},
"overrides": [
{
"files": ["*.spec.ts"],
"rules": {
"@typescript-eslint/no-unused-expressions": "off"
}
}
]
}
}