Skip to content
This repository was archived by the owner on Aug 29, 2023. It is now read-only.

Commit 77d0e48

Browse files
committed
initial commit
1 parent a09aed6 commit 77d0e48

File tree

2 files changed

+122
-40
lines changed

2 files changed

+122
-40
lines changed

.gitignore

Lines changed: 25 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
*.bundle.*
2+
lib/
3+
node_modules/
4+
.eslintcache
5+
.stylelintcache
6+
*.egg-info/
7+
.ipynb_checkpoints
8+
*.tsbuildinfo
9+
cate_theme/labextension
10+
11+
# Created by https://www.gitignore.io/api/python
12+
# Edit at https://www.gitignore.io/?templates=python
13+
14+
### Python ###
115
# Byte-compiled / optimized / DLL files
216
__pycache__/
317
*.py[cod]
@@ -22,7 +36,6 @@ var/
2236
wheels/
2337
pip-wheel-metadata/
2438
share/python-wheels/
25-
*.egg-info/
2639
.installed.cfg
2740
*.egg
2841
MANIFEST
@@ -47,24 +60,13 @@ htmlcov/
4760
nosetests.xml
4861
coverage.xml
4962
*.cover
50-
*.py,cover
5163
.hypothesis/
5264
.pytest_cache/
5365

5466
# Translations
5567
*.mo
5668
*.pot
5769

58-
# Django stuff:
59-
*.log
60-
local_settings.py
61-
db.sqlite3
62-
db.sqlite3-journal
63-
64-
# Flask stuff:
65-
instance/
66-
.webassets-cache
67-
6870
# Scrapy stuff:
6971
.scrapy
7072

@@ -74,49 +76,27 @@ docs/_build/
7476
# PyBuilder
7577
target/
7678

77-
# Jupyter Notebook
78-
.ipynb_checkpoints
79-
80-
# IPython
81-
profile_default/
82-
ipython_config.py
83-
8479
# pyenv
8580
.python-version
8681

87-
# pipenv
88-
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
89-
# However, in case of collaboration, if having platform-specific dependencies or dependencies
90-
# having no cross-platform support, pipenv may install dependencies that don't work, or not
91-
# install all needed dependencies.
92-
#Pipfile.lock
93-
94-
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
95-
__pypackages__/
96-
97-
# Celery stuff
82+
# celery beat schedule file
9883
celerybeat-schedule
99-
celerybeat.pid
10084

10185
# SageMath parsed files
10286
*.sage.py
10387

104-
# Environments
105-
.env
106-
.venv
107-
env/
108-
venv/
109-
ENV/
110-
env.bak/
111-
venv.bak/
112-
11388
# Spyder project settings
11489
.spyderproject
11590
.spyproject
11691

11792
# Rope project settings
11893
.ropeproject
11994

95+
# Mr Developer
96+
.mr.developer.cfg
97+
.project
98+
.pydevproject
99+
120100
# mkdocs documentation
121101
/site
122102

@@ -127,3 +107,8 @@ dmypy.json
127107

128108
# Pyre type checker
129109
.pyre/
110+
111+
# End of https://www.gitignore.io/api/python
112+
113+
# OSX files
114+
.DS_Store

package.json

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
{
2+
"name": "cate-theme",
3+
"version": "0.1.0",
4+
"description": "A JupyterLab extension.",
5+
"keywords": [
6+
"jupyter",
7+
"jupyterlab",
8+
"jupyterlab-extension"
9+
],
10+
"homepage": "https://github.com/CCI-Tools/cate-jupyter-theme",
11+
"bugs": {
12+
"url": "https://github.com/CCI-Tools/cate-jupyter-theme/issues"
13+
},
14+
"license": "BSD-3-Clause",
15+
"author": {
16+
"name": "Tonio Fincke (Brockmann Consult GmbH)",
17+
"email": "[email protected]"
18+
},
19+
"files": [
20+
"lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}",
21+
"style/**/*.{css,js,eot,gif,html,jpg,json,png,svg,woff2,ttf}"
22+
],
23+
"main": "lib/index.js",
24+
"types": "lib/index.d.ts",
25+
26+
"repository": {
27+
"type": "git",
28+
"url": "https://github.com/CCI-Tools/cate-jupyter-theme.git"
29+
},
30+
"scripts": {
31+
"build": "jlpm build:lib && jlpm build:labextension:dev",
32+
"build:prod": "jlpm clean && jlpm build:lib && jlpm build:labextension",
33+
"build:labextension": "jupyter labextension build .",
34+
"build:labextension:dev": "jupyter labextension build --development True .",
35+
"build:lib": "tsc",
36+
"clean": "jlpm clean:lib",
37+
"clean:lib": "rimraf lib tsconfig.tsbuildinfo",
38+
"clean:lintcache": "rimraf .eslintcache .stylelintcache",
39+
"clean:labextension": "rimraf cate_theme/labextension",
40+
"clean:all": "jlpm clean:lib && jlpm clean:labextension && jlpm clean:lintcache",
41+
"eslint": "jlpm eslint:check --fix",
42+
"eslint:check": "eslint . --cache --ext .ts,.tsx",
43+
"install:extension": "jlpm build",
44+
"lint": "jlpm stylelint && jlpm prettier && jlpm eslint",
45+
"lint:check": "jlpm stylelint:check && jlpm prettier:check && jlpm eslint:check",
46+
"prettier": "jlpm prettier:base --write --list-different",
47+
"prettier:base": "prettier \"**/*{.ts,.tsx,.js,.jsx,.css,.json,.md}\"",
48+
"prettier:check": "jlpm prettier:base --check",
49+
"stylelint": "jlpm stylelint:check --fix",
50+
"stylelint:check": "stylelint --cache \"style/**/*.css\"",
51+
"watch": "run-p watch:src watch:labextension",
52+
"watch:src": "tsc -w",
53+
"watch:labextension": "jupyter labextension watch ."
54+
},
55+
"dependencies": {
56+
"@jupyterlab/application": "^3.1.0",
57+
"@jupyterlab/apputils": "^3.1.0"
58+
},
59+
"devDependencies": {
60+
"@jupyterlab/builder": "^3.1.0",
61+
"@typescript-eslint/eslint-plugin": "^4.8.1",
62+
"@typescript-eslint/parser": "^4.8.1",
63+
"eslint": "^7.14.0",
64+
"eslint-config-prettier": "^6.15.0",
65+
"eslint-plugin-prettier": "^3.1.4",
66+
"npm-run-all": "^4.1.5",
67+
"prettier": "^2.1.1",
68+
"rimraf": "^3.0.2",
69+
"stylelint": "^14.3.0",
70+
"stylelint-config-prettier": "^9.0.3",
71+
"stylelint-config-recommended": "^6.0.0",
72+
"stylelint-config-standard": "~24.0.0",
73+
"stylelint-prettier": "^2.0.0",
74+
"typescript": "~4.1.3"
75+
},
76+
"sideEffects": [
77+
"style/*.css"],
78+
"publishConfig": {
79+
"access": "public"
80+
},
81+
"jupyterlab": {
82+
"extension": true,
83+
"outputDir": "cate_theme/labextension",
84+
"themePath": "style/index.css"
85+
},
86+
"jupyter-releaser": {
87+
"hooks": {
88+
"before-build-npm": [
89+
"python -m pip install jupyterlab~=3.1",
90+
"jlpm"
91+
],
92+
"before-build-python": [
93+
"jlpm clean:all"
94+
]
95+
}
96+
}
97+
}

0 commit comments

Comments
 (0)