Skip to content

Commit 06dd941

Browse files
authored
Updated for JupyterLab 2
Updated for JupyterLab 2
1 parent 1b4b6c9 commit 06dd941

File tree

1 file changed

+20
-15
lines changed

1 file changed

+20
-15
lines changed

labextension/vpython/package.json

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vpython",
3-
"version": "1.0.0",
4-
"description": "VPython extension for Jupyterlab",
3+
"version": "2.0.1",
4+
"description": "VPython extension for JupyterLab",
55
"keywords": [
66
"jupyter",
77
"jupyterlab",
@@ -20,33 +20,38 @@
2020
"vpython_libraries/*"
2121
],
2222
"main": "lib/index.js",
23-
"typings": "lib/index.d.ts",
23+
"types": "lib/index.d.ts",
2424
"style": "style/index.css",
2525
"repository": {
2626
"type": "git",
2727
"url": ""
2828
},
2929
"scripts": {
3030
"build": "tsc",
31-
"clean": "rimraf lib && rimraf tsconfig.tsbuildinfo",
32-
"prepare": "npm run clean && npm run build",
31+
"clean": "rimraf lib tsconfig.tsbuildinfo",
32+
"eslint": "eslint . --ext .ts,.tsx --fix",
33+
"eslint:check": "eslint . --ext .ts,.tsx",
34+
"prepare": "jlpm run clean && jlpm run build",
3335
"watch": "tsc -w"
3436
},
3537
"dependencies": {
36-
"@jupyterlab/application": "^1.2.1",
37-
"@jupyterlab/apputils": "^1.2.1",
38-
"@jupyterlab/coreutils": "^3.2.0",
39-
"@jupyterlab/docregistry": "^1.2.1",
40-
"@jupyterlab/notebook": "^1.2.2",
41-
"@phosphor/disposable": "^1.3.1",
38+
"@jupyterlab/application": "^2.1.2",
39+
"@jupyterlab/apputils": "^2.1.1",
40+
"@jupyterlab/coreutils": "^4.1.0",
41+
"@jupyterlab/docregistry": "^2.1.2",
42+
"@jupyterlab/notebook": "^2.1.2",
43+
"@lumino/disposable": "^1.4.0",
4244
"script-loader": "^0.7.2"
4345
},
4446
"devDependencies": {
45-
"file-loader": "^4.2.0",
46-
"webpack": "^4.0.0",
47-
"@babel/types": "^7.6.1",
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",
4853
"rimraf": "^2.6.1",
49-
"typescript": "^3.6.3"
54+
"typescript": "~3.7.0"
5055
},
5156
"sideEffects": [
5257
"style/*.css"

0 commit comments

Comments
 (0)