File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -101,10 +101,10 @@ cd jupyterlab-git
101
101
102
102
# Install the server extension in development mode and enable it
103
103
pip install -e .[test]
104
- jupyter serverextension enable --py jupyterlab_git
104
+ jupyter serverextension enable --py jupyterlab_git --sys-prefix
105
105
106
106
# Build the labextension and dev-mode link it to jlab
107
- jlpm build
107
+ jlpm
108
108
jupyter labextension link .
109
109
```
110
110
Original file line number Diff line number Diff line change 13
13
" jupyterlab-extension"
14
14
],
15
15
"scripts" : {
16
- "build" : " jlpm install && tsc" ,
17
- "build:labextension" : " jlpm build && jlpm clean:labextension && mkdirp jupyterlab_git/labextension && cd jupyterlab_git/labextension && npm pack ../.." ,
16
+ "build" : " tsc" ,
17
+ "build:labextension" : " jlpm && jlpm clean:labextension && mkdirp jupyterlab_git/labextension && cd jupyterlab_git/labextension && npm pack ../.." ,
18
18
"clean" : " rimraf lib tsconfig.tsbuildinfo" ,
19
19
"clean:more" : " jlpm clean && rimraf build dist MANIFEST" ,
20
20
"clean:labextension" : " rimraf jupyterlab_git/labextension" ,
23
23
"lint" : " eslint . --ext .ts,.tsx --fix" ,
24
24
"test" : " jest" ,
25
25
"eslint-check" : " eslint . --ext .ts,.tsx" ,
26
+ "prepare" : " jlpm run build" ,
26
27
"watch" : " tsc -w"
27
28
},
28
29
"files" : [
You can’t perform that action at this time.
0 commit comments