-
Notifications
You must be signed in to change notification settings - Fork 17
/
package.json
70 lines (70 loc) · 2.9 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
{
"name": "jupyterlab-topbar-extensions",
"version": "1.0.1",
"private": true,
"files": [],
"workspaces": [
"packages/*"
],
"scripts": {
"build": "lerna run --parallel build",
"build-py": "rimraf dist && mkdir -p dist && lerna run --parallel clean:all && lerna exec --concurrency 4 -- python -m build && lerna exec --concurrency 4 -- mv ./dist/jupyterlab* ../../dist/",
"build:prod": "lerna run --parallel build:prod",
"eslint": "eslint . --ext .ts,.tsx --fix",
"eslint:check": "eslint . --ext .ts,.tsx",
"install-ext": "lerna run build:labextension:dev",
"install-py": "lerna exec --concurrency 4 -- python -m pip install -e .",
"lint": "jlpm && jlpm prettier && jlpm eslint && jlpm stylelint",
"lint:check": "jlpm prettier:check && jlpm eslint:check && jlpm stylelint:check",
"prettier": "prettier --write \"**/*{.ts,.tsx,.js,.jsx,.css,.json,.md}\"",
"prettier:check": "prettier --list-different \"**/*{.ts,.tsx,.js,.jsx,.css,.json,.md}\"",
"stylelint": "jlpm stylelint:check --fix",
"stylelint:check": "stylelint --cache \"packages/*/style/**/*.css\"",
"stylelint:files": "stylelint --fix",
"update-dependency": "update-dependency --lerna",
"watch": "lerna run --parallel watch"
},
"devDependencies": {
"@jupyterlab/buildutils": "^4.0.0",
"@typescript-eslint/eslint-plugin": "^5.55.0",
"@typescript-eslint/parser": "^5.55.0",
"eslint": "^8.36.0",
"eslint-config-prettier": "^8.7.0",
"eslint-plugin-prettier": "^4.2.1",
"lerna": "^6.6.0",
"prettier": "^2.8.7",
"rimraf": "^4.4.1",
"stylelint": "^14.9.1",
"stylelint-config-prettier": "^9.0.4",
"stylelint-config-recommended": "^8.0.0",
"stylelint-config-standard": "^26.0.0",
"stylelint-prettier": "^2.0.0"
},
"jupyter-releaser": {
"options": {
"dist-dir": "dist",
"version-cmd": "hatch version",
"python-packages": [
"packages/logout-extension:jupyterlab_logout",
"packages/topbar-text-extension:jupyterlab_topbar_text",
"packages/theme-toggler-extension:jupyterlab_theme_toggler"
],
"npm-install-options": "--legacy-peer-deps",
"pydist-extra-check-cmds": [
"pipx run 'validate-pyproject[all]' packages/*/pyproject.toml",
"pipx run check-wheel-contents --config packages/logout-extension/pyproject.toml {dist_dir}/jupyterlab_logout*.whl",
"pipx run check-wheel-contents --config packages/topbar-text-extension/pyproject.toml {dist_dir}/jupyterlab_topbar_text*.whl",
"pipx run check-wheel-contents --config packages/theme-toggler-extension/pyproject.toml {dist_dir}/jupyterlab_theme_toggler*.whl"
],
"release-message": "[ci skip] Publish {version}",
"tag-message": "[ci skip] Release {tag_name}"
},
"hooks": {
"before-build-npm": [
"pip install 'jupyterlab>=4.0.0,<5'",
"jlpm",
"jlpm run build:prod"
]
}
}
}