-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
157 lines (157 loc) · 5.04 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
{
"name": "chartero",
"version": "2.9.5",
"type": "module",
"config": {
"addonName": "Chartero",
"addonPref": "extensions.zotero.chartero",
"issue": "https://github.com/volatile-static/Chartero/issues",
"gitee": "https://gitee.com/const_volatile/chartero",
"addonID": "chartero@volatile.static",
"defaultSettings": {
"enableRealTimeDashboard": true,
"enableAllImages": true,
"enableMinimap": true,
"enableReaderAlert": false,
"excludedTags": [],
"maxSummaryItems": 99,
"scanPeriod": 1,
"scanTimeout": 20,
"completeThreshold": 20
}
},
"description": "Charts for Zotero",
"scripts": {
"build": "tsx tools/build.ts --full",
"build-bootstrap": "tsx tools/build.ts --dev",
"build-dev": "tsx tools/build.ts --full --dev",
"build-watch": "tsx tools/build.ts --watch",
"dev": "vite ./src/vue/test",
"release": "tsx tools/release.ts",
"preview": "vite preview ./src/vue",
"lint": "eslint . --ext .vue,.ts,.tsx,.js --fix",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/volatile-static/Chartero.git"
},
"author": "volatile static",
"license": "AGPL-2.0-or-later",
"bugs": {
"url": "https://github.com/volatile-static/Chartero/issues"
},
"homepage": "https://github.com/volatile-static/Chartero",
"releasepage": "https://github.com/volatile-static/Chartero/releases/latest/download/chartero.xpi",
"dependencies": {
"@highcharts/dashboards": "^2.3.0",
"animejs": "^3.2.2",
"compromise": "^14.12.0",
"compromise-stats": "^0.1.0",
"highcharts": "^11.4.8",
"highcharts-vue": "^2.0.1",
"segmentit": "^2.0.3",
"tdesign-vue-next": "^1.10.2",
"vue": "^3.5.10",
"zotero-plugin-scaffold": "^0.1.4",
"zotero-plugin-toolkit": "^4.0.2"
},
"devDependencies": {
"@gitee/typescript-sdk-v5": "^5.4.85",
"@tsconfig/node-lts": "^20.1.3",
"@types/animejs": "^3.1.12",
"@types/bluebird": "^3.5.42",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@vitejs/plugin-vue": "^5.1.2",
"@vitejs/plugin-vue-jsx": "^4.0.1",
"@vue/eslint-config-prettier": "^9.0.0",
"@vue/eslint-config-typescript": "^13.0.0",
"@vue/tsconfig": "^0.5.1",
"bluebird": "^3.7.2",
"esbuild-plugin-svg": "^0.1.0",
"esbuild-sass-plugin": "^3.3.1",
"eslint": "^8.57.1",
"eslint-plugin-mozilla": "^3.7.5",
"eslint-plugin-vue": "^9.28.0",
"lodash": "^4.17.21",
"prettier": "3.3.3",
"tdesign-icons-vue-next": "^0.2.6",
"tsx": "^4.19.1",
"unplugin-auto-import": "^0.18.3",
"unplugin-vue-components": "^0.27.4",
"vite": "^5.4.8",
"vue-tsc": "^2.1.6",
"zotero-types": "^2.2.0"
},
"eslintConfig": {
"extends": [
"eslint:recommended",
"prettier",
"@vue/eslint-config-typescript",
"@vue/eslint-config-prettier/skip-formatting",
"plugin:mozilla/recommended",
"plugin:vue/vue3-recommended",
"plugin:@typescript-eslint/recommended"
],
"plugins": [
"mozilla",
"vue",
"@typescript-eslint"
],
"env": {
"browser": true,
"es6": true
},
"parser": "vue-eslint-parser",
"parserOptions": {
"parser": "@typescript-eslint/parser",
"ecmaVersion": "latest",
"sourceType": "module"
},
"rules": {
"max-len": [
"warn",
{
"code": 110,
"ignoreComments": true,
"ignoreStrings": true
}
],
"curly": "off",
"no-undef": "off",
"no-console": "warn",
"consistent-return": "off",
"vue/max-attributes-per-line": "off",
"vue/multi-word-component-names": "warn",
"vue/no-unused-components": "warn",
"vue/no-side-effects-in-computed-properties": "warn",
"mozilla/consistent-if-bracing": "off",
"mozilla/use-ownerGlobal": "warn",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/no-unused-vars": "warn",
"@typescript-eslint/no-explicit-any": [
"off",
{
"ignoreRestArgs": true
}
]
}
},
"eslintIgnore": [
"build",
"src/modules",
"node_modules"
],
"prettier": {
"tabWidth": 4,
"printWidth": 110,
"singleQuote": true,
"arrowParens": "avoid"
},
"zotero-plugin": {
"source": [
"addon",
"src"
]
}
}