-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
85 lines (85 loc) · 3.08 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
{
"name": "markdb-connect",
"version": "0.1.0-rc.6",
"description": "Zotero plugin that links your Markdown database to Zotero.",
"author": "Dae Houlihan <[email protected]> (https://daeh.info)",
"license": "MIT",
"config": {
"addonName": "MarkDB-Connect",
"addonID": "[email protected]",
"addonRef": "mdbc",
"addonInstance": "MDBC",
"prefsPrefix": "extensions.zotero.mdbc",
"releasePage": "https://github.com/daeh/zotero-markdb-connect/releases",
"updateJSON": "https://raw.githubusercontent.com/daeh/zotero-markdb-connect/main/update.json"
},
"scripts": {
"start": "node scripts/server.mjs",
"build": "tsc --noEmit && node scripts/build.mjs production",
"stop": "node scripts/stop.mjs",
"lint": "export ESLINT_USE_FLAT_CONFIG=true && export NODE_ENV=production && prettier --config prettier.config.mjs --write . && eslint --config eslint.config.mjs --fix .",
"lint-dry": "export ESLINT_USE_FLAT_CONFIG=true && export NODE_ENV=production && prettier --config prettier.config.mjs --check . ; eslint --config eslint.config.mjs .",
"test": "echo \"Error: no test specified\" && exit 1",
"release": "release-it --only-version --preReleaseId=beta",
"update-deps": "npm update --save && npm update --save-dev && npm outdated --depth=0",
"postinstall": "node ./scripts/linkconfig.mjs"
},
"main": "src/index.ts",
"repository": {
"type": "git",
"url": "git+https://github.com/daeh/zotero-markdb-connect.git"
},
"bugs": {
"url": "https://github.com/daeh/zotero-markdb-connect/issues"
},
"homepage": "https://github.com/daeh/zotero-markdb-connect#readme",
"dependencies": {
"zotero-plugin-toolkit": "^2.3.15"
},
"devDependencies": {
"@stylistic/eslint-plugin": "^1.5.1",
"@stylistic/eslint-plugin-js": "^1.4.1",
"@stylistic/eslint-plugin-ts": "^1.4.1",
"@types/node": "^20.10.5",
"@typescript-eslint/eslint-plugin": "^6.16.0",
"@typescript-eslint/parser": "^6.16.0",
"chokidar": "^3.5.3",
"compressing": "^1.10.0",
"esbuild": "^0.19.10",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.1.2",
"globals": "^13.24.0",
"prettier": "^3.1.1",
"release-it": "^17.0.1",
"replace-in-file": "^7.0.2",
"typescript": "^5.3.3",
"zotero-types": "^1.3.11"
},
"release-it": {
"git": {
"tagName": "v${version}"
},
"npm": {
"publish": false
},
"github": {
"release": true,
"assets": [
"build/*.xpi"
],
"comments": {
"submit": true,
"issue": ":rocket: _This issue has been resolved in v${version}. See [${releaseName}](${releaseUrl}) for release notes._",
"pr": ":rocket: _This pull request is included in v${version}. See [${releaseName}](${releaseUrl}) for release notes._"
}
},
"hooks": {
"before:init": "npm run lint",
"after:bump": "npm run build",
"after:release": "echo Successfully released ${name} v${version} to ${repo.repository}."
}
}
}