|
1 | 1 | {
|
2 | 2 | "name": "vpython",
|
3 |
| - "version": "3.0.0", |
| 3 | + "version": "3.0.3", |
4 | 4 | "description": "VPython extension for JupyterLab",
|
5 | 5 | "keywords": [
|
6 | 6 | "jupyter",
|
7 | 7 | "jupyterlab",
|
8 | 8 | "jupyterlab-extension"
|
9 | 9 | ],
|
10 |
| - "homepage": "", |
| 10 | + "homepage": "https://github.com/jcoady/jupyterlab_vpython", |
11 | 11 | "bugs": {
|
12 |
| - "url": "" |
| 12 | + "url": "https://github.com/jcoady/jupyterlab_vpython/issues" |
13 | 13 | },
|
14 | 14 | "license": "BSD-3-Clause",
|
15 |
| - "author": "John Coady", |
| 15 | + "author": { |
| 16 | + "name": "John Coady", |
| 17 | + |
| 18 | + }, |
16 | 19 | "files": [
|
17 | 20 | "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf,otf,ico}",
|
18 |
| - "style/**/*.{css,eot,gif,html,jpg,json,png,svg,woff2,ttf,otf,ico}", |
| 21 | + "style/**/*.{css,.js,eot,gif,html,jpg,json,png,svg,woff2,ttf,otf,ico}", |
19 | 22 | "vpython_data/*.{css,eot,gif,html,jpg,json,png,svg,woff2,ttf,otf,ico}",
|
20 | 23 | "vpython_libraries/*"
|
21 | 24 | ],
|
|
24 | 27 | "style": "style/index.css",
|
25 | 28 | "repository": {
|
26 | 29 | "type": "git",
|
27 |
| - "url": "" |
| 30 | + "url": "https://github.com/jcoady/jupyterlab_vpython.git" |
28 | 31 | },
|
29 | 32 | "scripts": {
|
30 |
| - "build": "tsc", |
31 |
| - "clean": "rimraf lib tsconfig.tsbuildinfo", |
| 33 | + "build": "jlpm run build:lib && jlpm run build:labextension:dev", |
| 34 | + "build:prod": "jlpm run clean && jlpm run build:lib && jlpm run build:labextension", |
| 35 | + "build:labextension": "jupyter labextension build .", |
| 36 | + "build:labextension:dev": "jupyter labextension build --development True .", |
| 37 | + "build:lib": "tsc", |
| 38 | + "clean": "jlpm run clean:lib", |
| 39 | + "clean:lib": "rimraf lib tsconfig.tsbuildinfo", |
| 40 | + "clean:labextension": "rimraf jupyterlab_vpython/labextension", |
| 41 | + "clean:all": "jlpm run clean:lib && jlpm run clean:labextension", |
32 | 42 | "eslint": "eslint . --ext .ts,.tsx --fix",
|
33 | 43 | "eslint:check": "eslint . --ext .ts,.tsx",
|
34 |
| - "prepare": "jlpm run clean && jlpm run build", |
35 |
| - "watch": "tsc -w" |
| 44 | + "install:extension": "jlpm run build", |
| 45 | + "watch": "run-p watch:src watch:labextension", |
| 46 | + "watch:src": "tsc -w", |
| 47 | + "watch:labextension": "jupyter labextension watch ." |
36 | 48 | },
|
37 | 49 | "dependencies": {
|
38 |
| - "@jupyterlab/application": "3.0.9", |
39 |
| - "@jupyterlab/apputils": "3.0.7", |
40 |
| - "@jupyterlab/coreutils": "5.0.5", |
41 |
| - "@jupyterlab/docregistry": "3.0.9", |
42 |
| - "@jupyterlab/notebook": "3.0.9", |
43 |
| - "@lumino/disposable": "^1.5.0", |
| 50 | + "@jupyterlab/application": "^3.0.9", |
| 51 | + "@jupyterlab/apputils": "^3.0.7", |
| 52 | + "@jupyterlab/coreutils": "^5.0.5", |
| 53 | + "@jupyterlab/docregistry": "^3.0.9", |
| 54 | + "@jupyterlab/notebook": "^3.0.9", |
| 55 | + "@lumino/disposable": "^1.6.0", |
44 | 56 | "script-loader": "^0.7.2"
|
45 | 57 | },
|
46 | 58 | "devDependencies": {
|
47 |
| - "@typescript-eslint/eslint-plugin": "^2.25.0", |
48 |
| - "@typescript-eslint/parser": "^2.25.0", |
49 |
| - "eslint": "^6.8.0", |
50 |
| - "eslint-config-prettier": "^6.10.1", |
51 |
| - "eslint-plugin-prettier": "^3.1.2", |
52 |
| - "prettier": "1.16.4", |
53 |
| - "rimraf": "^2.6.1", |
54 |
| - "typescript": "~3.7.0" |
| 59 | + "@jupyterlab/builder": "^3.0.0", |
| 60 | + "@typescript-eslint/eslint-plugin": "^4.8.1", |
| 61 | + "@typescript-eslint/parser": "^4.8.1", |
| 62 | + "eslint": "^7.14.0", |
| 63 | + "eslint-config-prettier": "^6.15.0", |
| 64 | + "eslint-plugin-prettier": "^3.1.4", |
| 65 | + "npm-run-all": "^4.1.5", |
| 66 | + "prettier": "^2.1.1", |
| 67 | + "rimraf": "^3.0.2", |
| 68 | + "typescript": "~4.1.3" |
55 | 69 | },
|
56 | 70 | "sideEffects": [
|
57 |
| - "style/*.css" |
| 71 | + "style/*.css", |
| 72 | + "style/index.js" |
58 | 73 | ],
|
| 74 | + "styleModule": "style/index.js", |
59 | 75 | "jupyterlab": {
|
60 |
| - "extension": true |
| 76 | + "extension": true, |
| 77 | + "outputDir": "jupyterlab_vpython/labextension" |
61 | 78 | }
|
62 | 79 | }
|
0 commit comments