|
29 | 29 | "url": "https://github.com/{{ cookiecutter.github_organization_name }}/{{ cookiecutter.github_project_name }}" |
30 | 30 | }, |
31 | 31 | "scripts": { |
32 | | - "build": "npm run build:lib && npm run build:nbextension", |
| 32 | + "build": "npm run build:lib && npm run build:nbextension && npm run build:labextension", |
33 | 33 | "build:labextension": "jupyter labextension build .", |
34 | 34 | "build:labextension:dev": "jupyter labextension build --development True .", |
35 | 35 | "build:lib": "tsc", |
36 | 36 | "build:nbextension": "webpack -p", |
37 | | - "build:all": "npm run build:labextension && npm run build:nbextension", |
38 | | - "clean": "npm run clean:lib && npm run clean:nbextension", |
| 37 | + "clean": "npm run clean:lib && npm run clean:nbextension && npm run clean:labextension", |
39 | 38 | "clean:lib": "rimraf lib", |
40 | | - "clean:labextension": "rimraf {{ cookiecutter.python_package_name }}/jupyterlab_widgets/lab3extension", |
| 39 | + "clean:labextension": "rimraf {{ cookiecutter.python_package_name }}/labextension", |
41 | 40 | "clean:nbextension": "rimraf {{ cookiecutter.python_package_name }}/nbextension/static/index.js", |
42 | 41 | "lint": "eslint . --ext .ts,.tsx --fix", |
43 | 42 | "lint:check": "eslint . --ext .ts,.tsx", |
|
93 | 92 | }, |
94 | 93 | "jupyterlab": { |
95 | 94 | "extension": "lib/plugin", |
96 | | - "outputDir": "jupyterlab_widgets/static", |
| 95 | + "outputDir": "{{ cookiecutter.python_package_name }}/labextension/", |
97 | 96 | "sharedPackages": { |
98 | 97 | "@jupyter-widgets/base": { |
99 | 98 | "bundled": false, |
|
0 commit comments