-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
120 lines (120 loc) · 3.96 KB
/
Copy pathpackage.json
File metadata and controls
120 lines (120 loc) · 3.96 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
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
{
"name": "jupyter-ruff",
"version": "0.3.1",
"description": "A JupyterLab and Jupyter Notebook extension for formatting code with Ruff.",
"keywords": [
"jupyter",
"jupyterlab",
"jupyterlab-extension"
],
"homepage": "https://github.com/leotaku/jupyter-ruff",
"bugs": {
"url": "https://github.com/leotaku/jupyter-ruff/issues"
},
"license": "BSD-3-Clause",
"author": {
"name": "Leo Gaskin",
"email": "leo.gaskin@le0.gs"
},
"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}",
"src/**/*.{ts,tsx}"
],
"main": "lib/index.js",
"types": "lib/index.d.ts",
"style": "style/index.css",
"repository": {
"type": "git",
"url": "https://github.com/leotaku/jupyter-ruff.git"
},
"scripts": {
"build": "jlpm build:lib && jlpm build:labextension:dev",
"build:prod": "jlpm clean && jlpm build:lib:prod && jlpm build:labextension",
"build:labextension": "jupyter labextension build .",
"build:labextension:dev": "jupyter labextension build --development True .",
"build:lib": "tsc --sourceMap",
"build:lib:prod": "tsc",
"clean": "jlpm clean:lib",
"clean:lib": "rimraf lib tsconfig.tsbuildinfo",
"clean:lintcache": "rimraf .eslintcache",
"clean:labextension": "rimraf jupyter_ruff/labextension jupyter_ruff/_version.py",
"clean:all": "jlpm clean:lib && jlpm clean:labextension && jlpm clean:lintcache",
"eslint": "jlpm eslint:check --fix",
"eslint:check": "eslint . --cache --ext .ts,.tsx",
"install:extension": "jlpm build",
"lint": "jlpm prettier && jlpm eslint",
"lint: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",
"test": "jest --coverage",
"watch": "run-p watch:src watch:labextension",
"watch:src": "tsc -w --sourceMap",
"watch:labextension": "jupyter labextension watch ."
},
"dependencies": {
"@astral-sh/ruff-wasm-web": "^0.16.0",
"@jupyterlab/application": "^4.6.2",
"@jupyterlab/fileeditor": "^4.6.2",
"fastest-levenshtein": "^1.0.16",
"picomatch": "^4.0.5",
"smol-toml": "^1.7.1"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@jupyterlab/builder": "^4.5.10",
"@jupyterlab/testutils": "^4.6.2",
"@types/jest": "^30.0.0",
"@types/json-schema": "^7.0.15",
"@types/picomatch": "^4.0.3",
"@types/react": "^18.3.31",
"@types/react-addons-linked-state-mixin": "^0.14.27",
"eslint": "^9.39.5",
"eslint-config-prettier": "^10.1.8",
"jest": "^30.3.0",
"npm-run-all2": "^9.0.2",
"prettier": "^3.9.6",
"rimraf": "^6.1.3",
"ts-jest": "^29.4.12",
"typescript": "~5.5.4",
"typescript-eslint": "^8.65.0",
"yjs": "^13.6.31"
},
"resolutions": {
"lib0": "0.2.111"
},
"sideEffects": [
"style/*.css",
"style/index.js"
],
"styleModule": "style/index.js",
"publishConfig": {
"access": "public"
},
"jupyterlab": {
"extension": true,
"outputDir": "jupyter_ruff/labextension",
"schemaDir": "schema"
},
"babel": {
"presets": [
"@jupyterlab/testutils/lib/babel.config"
],
"plugins": []
},
"prettier": {
"singleQuote": true,
"trailingComma": "none",
"arrowParens": "avoid",
"endOfLine": "auto",
"overrides": [
{
"files": "package.json",
"options": {
"tabWidth": 4
}
}
]
}
}