-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathpackage.json
72 lines (72 loc) · 1.81 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
{
"name": "zotero-types",
"version": "3.1.6",
"description": "This package contains type definitions for Zotero (https://www.zotero.org/) plugin.",
"main": "",
"types": "index.d.ts",
"typeScriptVersion": "2.0",
"author": "windingwind",
"license": "MIT",
"keywords": [
"zotero",
"plugin",
"types",
"typing"
],
"repository": {
"type": "git",
"url": "git+https://github.com/windingwind/zotero-types.git"
},
"scripts": {
"release": "release-it --only-version --preReleaseId=beta",
"prepare": "husky install",
"lint": "prettier --write . && eslint . --fix",
"update-deps": "npm update --save"
},
"peerDependencies": {
"@types/bluebird": "*",
"@types/react": "*",
"epubjs": "*",
"pdfjs-dist": "*"
},
"devDependencies": {
"husky": "^9.1.7",
"lint-staged": "^15.2.11",
"octokit": "^3.2.1",
"prettier": "3.2.4",
"release-it": "^17.11.0",
"typescript-eslint": "^8.18.2"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
},
"prettier": {
"printWidth": 80,
"tabWidth": 2,
"endOfLine": "lf"
},
"release-it": {
"git": {
"tagName": "v${version}"
},
"npm": {
"publish": false
},
"github": {
"release": false,
"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:release": "echo Successfully released ${name} v${version} to ${repo.repository}."
}
},
"lint-staged": {
"*.d.ts": "prettier --write **/*.d.ts"
}
}