|
1 | 1 | { |
2 | | - "name": "jupyterlab-blockly", |
3 | | - "version": "0.1.0-alpha.2", |
4 | | - "description": "Blockly extension for JupyterLab.", |
5 | | - "keywords": [ |
6 | | - "jupyter", |
7 | | - "jupyterlab", |
8 | | - "jupyterlab-extension" |
9 | | - ], |
10 | | - "homepage": "https://github.com/quantstack/jupyterlab-blockly", |
11 | | - "bugs": { |
12 | | - "url": "https://github.com/quantstack/jupyterlab-blockly/issues" |
13 | | - }, |
14 | | - "license": "BSD-3-Clause", |
15 | | - "author": { |
16 | | - "name": "quantstack", |
17 | | - "email": "" |
18 | | - }, |
19 | | - "files": [ |
20 | | - "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}", |
21 | | - "style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}" |
22 | | - ], |
23 | | - "main": "lib/index.js", |
24 | | - "types": "lib/index.d.ts", |
25 | | - "style": "style/index.css", |
26 | | - "repository": { |
27 | | - "type": "git", |
28 | | - "url": "https://github.com/quantstack/jupyterlab-blockly.git" |
| 2 | + "name": "jupyterlab-blockly-root", |
| 3 | + "version": "0.1.0", |
| 4 | + "private": true, |
| 5 | + "workspaces": { |
| 6 | + "packages": [ |
| 7 | + "packages/*" |
| 8 | + ] |
29 | 9 | }, |
30 | 10 | "scripts": { |
31 | | - "build": "jlpm run build:lib && jlpm run build:labextension:dev", |
32 | | - "build:prod": "jlpm run clean && jlpm run build:lib && jlpm run build:labextension", |
33 | | - "build:labextension": "jupyter labextension build .", |
34 | | - "build:labextension:dev": "jupyter labextension build --development True .", |
35 | | - "build:lib": "tsc", |
36 | | - "clean": "jlpm run clean:lib", |
37 | | - "clean:lib": "rimraf lib tsconfig.tsbuildinfo", |
38 | | - "clean:labextension": "rimraf jupyterlab_blockly/labextension", |
39 | | - "clean:all": "jlpm run clean:lib && jlpm run clean:labextension", |
| 11 | + "build": "lerna run build", |
| 12 | + "build:prod": "lerna run build:prod", |
| 13 | + "clean": "lerna run clean", |
| 14 | + "clean:all": "lerna run clean:all", |
40 | 15 | "eslint": "jlpm eslint:check --fix", |
41 | 16 | "eslint:check": "eslint . --ext .ts,.tsx", |
42 | | - "install:extension": "jlpm run build", |
| 17 | + "install": "lerna bootstrap", |
| 18 | + "install:extension": "lerna run install:extension", |
43 | 19 | "lint": "jlpm stylelint && jlpm prettier && jlpm eslint", |
44 | 20 | "lint:check": "jlpm stylelint:check && jlpm prettier:check && jlpm eslint:check", |
45 | 21 | "prettier": "jlpm prettier:base --write --list-different", |
46 | 22 | "prettier:base": "prettier \"**/*{.ts,.tsx,.js,.jsx,.css}\"", |
47 | 23 | "prettier:check": "jlpm prettier:base --check", |
48 | | - "watch": "run-p watch:src watch:labextension", |
49 | | - "watch:src": "tsc -w", |
50 | | - "watch:labextension": "jupyter labextension watch .", |
| 24 | + "watch": "lerna run watch", |
51 | 25 | "postinstall": "patch-package" |
52 | 26 | }, |
53 | 27 | "dependencies": { |
54 | | - "@jupyterlab/application": "^3.4", |
55 | | - "@jupyterlab/apputils": "^3.4", |
56 | | - "@jupyterlab/cells": "^3.4", |
57 | | - "@jupyterlab/codeeditor": "^3.4", |
58 | | - "@jupyterlab/coreutils": "^5.4", |
59 | | - "@jupyterlab/docregistry": "^3.4", |
60 | | - "@jupyterlab/filebrowser": "^3.4", |
61 | | - "@jupyterlab/launcher": "^3.4", |
62 | | - "@jupyterlab/outputarea": "^3.4", |
63 | | - "@jupyterlab/rendermime": "^3.4", |
64 | | - "@jupyterlab/services": "^6.4", |
65 | | - "@jupyterlab/ui-components": "^3.4", |
66 | | - "@lumino/algorithm": "^1.9.0", |
67 | | - "@lumino/coreutils": "^1.11.0", |
68 | | - "@lumino/messaging": "^1.10.0", |
69 | | - "@lumino/signaling": "^1.10.0", |
70 | | - "@lumino/widgets": "^1.30.0", |
71 | | - "blockly": "^7.20211209.2", |
72 | | - "patch-package": "^6.4.7", |
73 | | - "postinstall-postinstall": "^2.1.0" |
74 | | - }, |
75 | | - "devDependencies": { |
76 | | - "@jupyterlab/builder": "^3.4", |
77 | 28 | "@typescript-eslint/eslint-plugin": "^5.12.1", |
78 | 29 | "@typescript-eslint/parser": "^5.12.1", |
79 | 30 | "eslint": "^8.9.0", |
80 | 31 | "eslint-config-prettier": "^8.4.0", |
81 | 32 | "eslint-plugin-prettier": "^4.0.0", |
82 | 33 | "eslint-plugin-react": "^7.30.0", |
83 | | - "npm-run-all": "^4.1.5", |
| 34 | + "patch-package": "^6.4.7", |
84 | 35 | "prettier": "^2.5.1", |
85 | | - "rimraf": "^3.0.2", |
| 36 | + "postinstall-postinstall": "^2.1.0", |
86 | 37 | "typescript": "~4.5.2" |
87 | 38 | }, |
88 | | - "sideEffects": [ |
89 | | - "style/*.css", |
90 | | - "style/index.js" |
91 | | - ], |
92 | | - "styleModule": "style/index.js", |
93 | | - "publishConfig": { |
94 | | - "access": "public" |
95 | | - }, |
96 | | - "jupyterlab": { |
97 | | - "extension": true, |
98 | | - "outputDir": "jupyterlab_blockly/labextension" |
99 | | - }, |
100 | | - "jupyter-releaser": { |
101 | | - "hooks": { |
102 | | - "before-build-npm": [ |
103 | | - "python -m pip install jupyterlab", |
104 | | - "jlpm" |
105 | | - ] |
106 | | - } |
| 39 | + "devDependencies": { |
| 40 | + "lerna": "5.1.0", |
| 41 | + "yarn": "1.22.17" |
107 | 42 | } |
108 | 43 | } |
0 commit comments