-
-
Notifications
You must be signed in to change notification settings - Fork 88
/
package.json
80 lines (80 loc) · 2.64 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"name": "{{ cookiecutter.labextension_name }}",
"version": "0.1.0",
"description": "{{ cookiecutter.project_short_description }}",
"keywords": [
"jupyter",
"jupyterlab",
"jupyterlab-extension"
],
"homepage": "{{ cookiecutter.repository }}",
"bugs": {
"url": "{{ cookiecutter.repository }}/issues"
},
"license": "BSD-3-Clause",
"author": "{{ cookiecutter.author_name }}",
"files": [
"lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}",
"style/**/*.{css,eot,gif,html,jpg,json,png,svg,woff2,ttf}"
],
"main": "lib/index.js",
"types": "lib/index.d.ts",
"style": "style/index.css",
"repository": {
"type": "git",
"url": "{{ cookiecutter.repository }}.git"
},
"scripts": {
"build": "jlpm run build:lib && jlpm run build:labextension",
"build:labextension": "jupyter labextension build .",
"build:labextension:dev": "jupyter labextension build --development True .",
"build:lib": "tsc",
"clean": "jlpm run clean:lib",
"clean:lib": "rimraf lib tsconfig.tsbuildinfo",
"clean:labextension": "rimraf {{ cookiecutter.python_name }}/static",
"clean:all": "jlpm run clean:lib && jlpm run clean:labextension",
"eslint": "eslint . --ext .ts,.tsx --fix",
"eslint:check": "eslint . --ext .ts,.tsx",
"install:extension": "jupyter labextension develop --overwrite .",
"prepare": "jlpm run clean && jlpm run build",
"watch": "run-p watch:src watch:labextension",
"watch:src": "tsc -w",
"watch:labextension": "jupyter labextension watch ."
},
"dependencies": {
"@jupyterlab/application": "^3.0.0-rc.2"{% if cookiecutter.has_server_extension.lower().startswith('y') %},
"@jupyterlab/coreutils": "^5.0.0-rc.2",
"@jupyterlab/services": "^6.0.0-rc.2"
{% endif %}
},
"devDependencies": {
"@jupyterlab/builder": "^3.0.0-rc.2",
"@typescript-eslint/eslint-plugin": "^2.27.0",
"@typescript-eslint/parser": "^2.27.0",
"eslint": "^7.5.0",
"eslint-config-prettier": "^6.10.1",
"eslint-plugin-prettier": "^3.1.2", {% if cookiecutter.has_server_extension.lower().startswith('y') %}
"mkdirp": "^1.0.3", {% endif %}
"npm-run-all": "^4.1.5",
"prettier": "^1.19.0",
"rimraf": "^3.0.2",
"typescript": "~4.0.3"
},
"sideEffects": [
"style/*.css"
],
"jupyterlab": { {% if cookiecutter.has_server_extension.lower().startswith('y') %}
"discovery": {
"server": {
"managers": [
"pip"
],
"base": {
"name": "{{ cookiecutter.python_name }}"
}
}
}, {% endif %}
"extension": true,
"outputDir": "{{cookiecutter.python_name}}/static"
}
}