Commit 8ef57e5f authored by Mark Ghiorso's avatar Mark Ghiorso

Seed jupyterlab_gitlab extension project from cookiecutter

parents
*.bundle.*
lib/
node_modules/
*.egg-info/
.ipynb_checkpoints
# jupyterlab_gitlab
A JupyterLab extension to access GitLab repositories
## Prerequisites
* JupyterLab
## Installation
```bash
jupyter labextension install jupyterlab_gitlab
```
## Development
For a development install (requires npm version 4 or later), do the following in the repository directory:
```bash
npm install
jupyter labextension link .
```
To rebuild the package and the JupyterLab app:
```bash
npm run build
jupyter lab build
```
This diff is collapsed.
{
"name": "jupyterlab_gitlab",
"version": "0.1.0",
"description": "A JupyterLab extension to access GitLab repositories",
"author": "Mark Ghiorso",
"main": "lib/index.js",
"keywords": [
"jupyter",
"jupyterlab"
],
"scripts": {
"build": "tsc",
"clean": "rimraf lib",
"prepare": "npm run build",
"watch": "tsc -w"
},
"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}"
],
"jupyterlab": {
"extension": true
},
"dependencies": {
"@jupyterlab/application": "^0.12.0"
},
"devDependencies": {
"rimraf": "^2.6.1",
"typescript": "~2.4.0"
}
}
import {
JupyterLabPlugin
} from '@jupyterlab/application';
import '../style/index.css';
/**
* Initialization data for the jupyterlab_gitlab extension.
*/
const extension: JupyterLabPlugin<void> = {
id: 'jupyterlab_gitlab',
autoStart: true,
activate: (app) => {
console.log('JupyterLab extension jupyterlab_gitlab is activated!');
}
};
export default extension;
{
"compilerOptions": {
"declaration": true,
"noImplicitAny": true,
"noEmitOnError": true,
"noUnusedLocals": true,
"module": "commonjs",
"moduleResolution": "node",
"target": "ES5",
"outDir": "./lib",
"lib": ["ES5", "ES2015.Promise", "DOM"],
"types": []
},
"include": ["src/*"]
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment