|
24 | 24 | "url": "https://github.com/ryantam626/jupyterlab_sublime.git"
|
25 | 25 | },
|
26 | 26 | "scripts": {
|
27 |
| - "build": "tsc", |
28 |
| - "clean": "rimraf lib", |
| 27 | + "build": "jlpm run build:lib && jlpm run build:labextension:dev", |
| 28 | + "build:labextension": "jupyter labextension build .", |
| 29 | + "build:labextension:dev": "jupyter labextension build --development True .", |
| 30 | + "build:lib": "tsc", |
| 31 | + "build:prod": "jlpm run build:lib && jlpm run build:labextension", |
| 32 | + "clean": "jlpm run clean:lib", |
| 33 | + "clean:all": "jlpm run clean:lib && jlpm run clean:labextension", |
| 34 | + "clean:labextension": "rimraf jupyterlab_sublime/labextension", |
| 35 | + "clean:lib": "rimraf lib tsconfig.tsbuildinfo", |
| 36 | + "eslint": "eslint . --ext .ts,.tsx --fix", |
| 37 | + "eslint:check": "eslint . --ext .ts,.tsx", |
29 | 38 | "format": "tslint --fix src/*.ts",
|
| 39 | + "install:extension": "jupyter labextension develop --overwrite .", |
30 | 40 | "lint": "tslint src/*.ts",
|
31 |
| - "prepare": "npm run clean && npm run build", |
32 |
| - "watch": "tsc -w" |
| 41 | + "prepare": "jlpm run clean && jlpm run build:prod", |
| 42 | + "watch": "run-p watch:src watch:labextension", |
| 43 | + "watch:labextension": "jupyter labextension watch .", |
| 44 | + "watch:src": "tsc -w" |
33 | 45 | },
|
34 | 46 | "dependencies": {
|
35 |
| - "@jupyterlab/application": "^2.0.0", |
36 |
| - "@jupyterlab/notebook": "^2.0.0", |
37 |
| - "@types/codemirror": "0.0.76" |
| 47 | + "@jupyterlab/application": "^3.0.0", |
| 48 | + "@jupyterlab/notebook": "^3.0.0", |
| 49 | + "@types/codemirror": "0.0.106" |
38 | 50 | },
|
39 | 51 | "devDependencies": {
|
| 52 | + "@jupyterlab/builder": "^3.0.0-rc.13", |
| 53 | + "@typescript-eslint/eslint-plugin": "^2.27.0", |
| 54 | + "@typescript-eslint/parser": "^2.27.0", |
| 55 | + "eslint": "^7.5.0", |
| 56 | + "eslint-config-prettier": "^6.10.1", |
| 57 | + "eslint-plugin-prettier": "^3.1.2", |
| 58 | + "npm-run-all": "^4.1.5", |
| 59 | + "prettier": "^1.19.0", |
40 | 60 | "rimraf": "^3.0.2",
|
41 |
| - "prettier": "^1.19.1", |
42 | 61 | "tslint": "^5.15.0",
|
43 | 62 | "tslint-config-prettier": "^1.18.0",
|
44 | 63 | "tslint-plugin-prettier": "^2.0.1",
|
45 |
| - "typescript": "^3.8.3" |
| 64 | + "typescript": "~4.1.3" |
46 | 65 | },
|
47 | 66 | "jupyterlab": {
|
48 |
| - "extension": true |
| 67 | + "extension": true, |
| 68 | + "outputDir": "jupyterlab_sublime/labextension" |
49 | 69 | }
|
50 | 70 | }
|
0 commit comments