-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathpackage.json
More file actions
89 lines (89 loc) · 2.25 KB
/
Copy pathpackage.json
File metadata and controls
89 lines (89 loc) · 2.25 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
88
89
{
"name": "@potluri/discourse-on-ghost",
"version": "0.3.0",
"main": "build/index.js",
"repository": "https://github.com/vikaspotluri123/discourse-on-ghost",
"authors": [
"Vikas Potluri <vikaspotluri123.github@gmail.com>"
],
"license": "MIT",
"type": "module",
"module": "build/index.js",
"files": [
"build"
],
"scripts": {
"dev": "node scripts/dev.js",
"lint": "xo && tsc",
"pretest": "NO_WATCH= node scripts/dev.js",
"test": "mocha -r dist/targets/test.js --recursive test/unit",
"prepublish": "yarn build",
"build": "esbuild `find src -name '*.ts'` --outdir=build --platform=node --target=node16 --format=esm"
},
"dependencies": {
"@tryghost/admin-api": "^1.14.9",
"@tryghost/errors": "^3.2.1",
"@tryghost/logging": "^4.2.0",
"dotenv": "^17.4.2",
"express": "^5.2.1",
"node-fetch": "^3.3.2",
"yoctocolors": "^2.1.2"
},
"devDependencies": {
"@gradebook/release-utils": "^0.8.0",
"@types/chai": "^5.2.3",
"@types/express": "^5.0.6",
"@types/jsonwebtoken": "^9.0.10",
"@types/mocha": "^10.0.10",
"@types/node": "^25.9.1",
"@types/sinon": "^21.0.1",
"chai": "^6.2.1",
"esbuild": "^0.28.1",
"mocha": "^11.7.6",
"nodemon": "^3.1.14",
"sinon": "^22.0.0",
"typescript": "^5.9.3",
"xo": "0.60.0"
},
"gradebook": {
"cli:addSkipCIToCommit": false,
"cli:releaseTemplate": ".github/release_template.txt"
},
"xo": {
"rules": {
"@typescript-eslint/consistent-type-definitions": [
"error",
"interface"
],
"@typescript-eslint/naming-convention": "off",
"func-names": [
"error",
"as-needed"
],
"no-use-extend-native/no-use-extend-native": "off",
"func-name-matching": "off",
"no-console": "error",
"n/file-extension-in-import": "off"
},
"overrides": [
{
"files": "**/*.js",
"rules": {
"@typescript-eslint/consistent-type-definitions": "off"
}
},
{
"files": "test/**/*.js",
"envs": [
"node",
"mocha"
],
"rules": {
"func-names": "off",
"prefer-arrow-callback": "off",
"no-unused-expressions": "off"
}
}
]
}
}