-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
229 lines (229 loc) · 8.18 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
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
{
"name": "jupyterlab-citation-manager",
"version": "1.0.0",
"description": "Citation Manager for JupyterLab with Zotero integration",
"keywords": [
"jupyter",
"jupyterlab",
"jupyterlab-extension",
"citation",
"references",
"csl",
"citeproc",
"zotero"
],
"homepage": "https://github.com/krassowski/jupyterlab-citation-manager",
"bugs": {
"url": "https://github.com/krassowski/jupyterlab-citation-manager/issues"
},
"license": "BSD-3-Clause",
"author": {
"name": "Michał Krassowski",
"email": ""
},
"files": [
"lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}",
"style/**/*.{css,.js,eot,gif,html,jpg,json,png,svg,woff2,ttf}",
"schema/*.json",
"style/index.js"
],
"main": "lib/index.js",
"types": "lib/index.d.ts",
"style": "style/index.css",
"repository": {
"type": "git",
"url": "https://github.com/krassowski/jupyterlab-citation-manager.git"
},
"scripts": {
"bootstrap": "jlpm && jlpm run fetch:schema && jlpm run build:schema",
"build": "jlpm run build:lib && jlpm run build:labextension:dev",
"build:labextension": "jupyter labextension build .",
"build:labextension:dev": "jupyter labextension build --development True .",
"build:lib": "tsc",
"build:prod": "jlpm run clean && jlpm run bootstrap && jlpm run build:lib && jlpm run build:labextension && rm src/_*.d.ts",
"build:schema": "jlpm run build:schema:csl-citation && jlpm run build:schema:csl-data",
"build:schema:csl-citation": "json2ts csl-citation.json > src/_csl_citation.d.ts",
"build:schema:csl-data": "json2ts csl-data.json > src/_csl_data.d.ts",
"clean": "jlpm run clean:lib",
"clean:all": "jlpm run clean:lib && jlpm run clean:labextension",
"clean:labextension": "rimraf jupyterlab_citation_manager/labextension",
"clean:lib": "rimraf lib tsconfig.tsbuildinfo",
"eslint": "eslint . --ext .ts,.tsx --fix",
"eslint:check": "eslint . --ext .ts,.tsx",
"lint": "jlpm stylelint && jlpm prettier && jlpm eslint",
"lint:check": "jlpm stylelint:check && jlpm prettier:check && jlpm eslint:check",
"prettier": "jlpm prettier:base --write --list-different",
"prettier:base": "prettier \"**/*{.ts,.tsx,.js,.jsx,.css,.json,.md}\"",
"prettier:check": "jlpm prettier:base --check",
"stylelint": "jlpm stylelint:check --fix",
"stylelint:check": "stylelint --cache \"style/**/*.css\"",
"fetch:schema": "jlpm run fetch:schema:csl-citation && jlpm run fetch:schema:csl-data",
"fetch:schema:csl-citation": "wget https://raw.githubusercontent.com/citation-style-language/schema/v1.0.2/schemas/input/csl-citation.json -O csl-citation.json",
"fetch:schema:csl-data": "wget https://raw.githubusercontent.com/citation-style-language/schema/v1.0.2/schemas/input/csl-data.json -O csl-data.json",
"install:extension": "jlpm run build",
"watch": "run-p watch:src watch:labextension",
"watch:labextension": "jupyter labextension watch .",
"watch:src": "tsc -w"
},
"packageManager": "[email protected]",
"dependencies": {
"@jupyterlab/application": "^4.0.9",
"@jupyterlab/settingregistry": "^4.0.9",
"citeproc": "^2.4.59",
"marked": "^4.0.10"
},
"devDependencies": {
"@jupyterlab/apputils": "^4.1.9",
"@jupyterlab/builder": "^4.0.0",
"@jupyterlab/cells": "^4.0.9",
"@jupyterlab/coreutils": "^6.0.9",
"@jupyterlab/docregistry": "^4.0.9",
"@jupyterlab/notebook": "^4.0.9",
"@jupyterlab/services": "^7.0.9",
"@jupyterlab/statedb": "^4.0.9",
"@jupyterlab/statusbar": "^4.0.9",
"@jupyterlab/testutils": "^4.0.0",
"@jupyterlab/translation": "^4.0.9",
"@jupyterlab/ui-components": "^4.0.9",
"@lumino/algorithm": "^2.0.0",
"@lumino/commands": "^2.2.0",
"@lumino/coreutils": "^2.0.0",
"@lumino/disposable": "^2.0.0",
"@lumino/domutils": "^2.0.1",
"@lumino/messaging": "^2.0.0",
"@lumino/polling": "^2.1.2",
"@lumino/signaling": "^2.0.0",
"@lumino/widgets": "^2.0.1",
"@types/jest": "^29.2.0",
"@types/json-schema": "^7.0.11",
"@types/marked": "^4.0.10",
"@types/react": "^18.0.26",
"@types/react-addons-linked-state-mixin": "^0.14.22",
"@typescript-eslint/eslint-plugin": "^6.1.0",
"@typescript-eslint/parser": "^6.1.0",
"css-loader": "^6.7.1",
"eslint": "^8.36.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^5.0.0",
"jest": "^29.2.0",
"json-schema-to-typescript": "^10.1.4",
"mkdirp": "^1.0.3",
"npm-run-all": "^4.1.5",
"prettier": "^3.0.0",
"rimraf": "^5.0.1",
"source-map-loader": "^1.0.2",
"style-loader": "^3.3.1",
"stylelint": "^15.10.1",
"stylelint-config-recommended": "^13.0.0",
"stylelint-config-standard": "^34.0.0",
"stylelint-csstree-validator": "^3.0.0",
"stylelint-prettier": "^4.0.0",
"typescript": "~5.0.2",
"yjs": "^13.5.40"
},
"sideEffects": [
"style/*.css",
"style/index.js"
],
"styleModule": "style/index.js",
"jupyterlab": {
"extension": true,
"outputDir": "jupyterlab_citation_manager/labextension",
"schemaDir": "schema"
},
"eslintConfig": {
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "tsconfig.json",
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
"@typescript-eslint/naming-convention": [
"error",
{
"selector": "interface",
"format": [
"PascalCase"
],
"custom": {
"regex": "^I[A-Z]",
"match": true
}
}
],
"@typescript-eslint/no-unused-vars": [
"warn",
{
"args": "none"
}
],
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-namespace": "off",
"@typescript-eslint/no-use-before-define": "off",
"@typescript-eslint/quotes": [
"error",
"single",
{
"avoidEscape": true,
"allowTemplateLiterals": false
}
],
"curly": [
"error",
"all"
],
"eqeqeq": "error",
"prefer-arrow-callback": "error"
}
},
"eslintIgnore": [
"node_modules",
"dist",
"coverage",
"**/*.d.ts",
"tests",
"**/__tests__",
"ui-tests"
],
"prettier": {
"singleQuote": true,
"trailingComma": "none",
"arrowParens": "avoid",
"endOfLine": "auto",
"overrides": [
{
"files": "package.json",
"options": {
"tabWidth": 4
}
}
]
},
"stylelint": {
"extends": [
"stylelint-config-recommended",
"stylelint-config-standard",
"stylelint-prettier/recommended"
],
"plugins": [
"stylelint-csstree-validator"
],
"rules": {
"csstree/validator": true,
"property-no-vendor-prefix": null,
"selector-class-pattern": "^([a-z][A-z\\d]*)(-[A-z\\d]+)*$",
"selector-no-vendor-prefix": null,
"value-no-vendor-prefix": null,
"no-descending-specificity": null
}
}
}