Update to be compatible with JupyterLab 3.0.
Showing
.eslintignore
0 → 100644
.eslintrc.js
0 → 100644
.prettierignore
0 → 100644
.prettierrc
0 → 100644
LICENSE
0 → 100644
MANIFEST.in
0 → 100644
install.json
0 → 100644
package-lock.json
deleted
100644 → 0
... | @@ -12,10 +12,14 @@ | ... | @@ -12,10 +12,14 @@ |
"url": "http://gitlab.sr.bham.ac.uk/pjj/finesse-syntax-jupyterlab/issues" | "url": "http://gitlab.sr.bham.ac.uk/pjj/finesse-syntax-jupyterlab/issues" | ||
}, | }, | ||
"license": "BSD-3-Clause", | "license": "BSD-3-Clause", | ||
"author": "Philip Jones", | "author": { | ||
"name": "Philip Jones", | |||
"email": "philip.jones@ligo.org" | |||
}, | |||
"files": [ | "files": [ | ||
"lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}", | "lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf}", | ||
"tsconfig.json" | "tsconfig.json", | ||
"style/index.js" | |||
], | ], | ||
"main": "lib/index.js", | "main": "lib/index.js", | ||
"types": "lib/index.d.ts", | "types": "lib/index.d.ts", | ||
... | @@ -24,23 +28,44 @@ | ... | @@ -24,23 +28,44 @@ |
"url": "http://gitlab.sr.bham.ac.uk/pjj/finesse-syntax-jupyterlab.git" | "url": "http://gitlab.sr.bham.ac.uk/pjj/finesse-syntax-jupyterlab.git" | ||
}, | }, | ||
"scripts": { | "scripts": { | ||
"build": "tsc && cp src/codemirror-multiplex.js lib/", | "build": "jlpm run build:lib && jlpm run build:labextension:dev", | ||
"clean": "rimraf lib tsconfig.tsbuildinfo", | "build:labextension": "jupyter labextension build .", | ||
"build:labextension:dev": "jupyter labextension build --development True .", | |||
"build:lib": "jlpm run copyjs && tsc", | |||
"build:prod": "jlpm run clean && jlpm run build:lib && jlpm run build:labextension:dev", | |||
"clean": "jlpm run clean:lib", | |||
"clean:all": "jlpm run clean:lib && jlpm run clean:labextension", | |||
"clean:labextension": "rimraf finesse-syntax-jupyterlab/labextension", | |||
"clean:lib": "rimraf lib tsconfig.tsbuildinfo", | |||
"copyjs": "mkdir -p lib && cp src/codemirror-my-multiplex.js lib/", | |||
"eslint": "eslint . --ext .ts,.tsx --fix", | |||
"eslint:check": "eslint . --ext .ts,.tsx", | |||
"install:extension": "jlpm run build", | |||
"prepare": "jlpm run clean && jlpm run build", | "prepare": "jlpm run clean && jlpm run build", | ||
"watch": "tsc -w" | "watch": "run-p watch:src watch:labextension", | ||
"watch:labextension": "jupyter labextension watch .", | |||
"watch:src": "tsc -w" | |||
}, | }, | ||
"dependencies": { | "dependencies": { | ||
"@jupyterlab/application": "^2.0.0", | "@jupyterlab/application": "^3.0.9", | ||
"@jupyterlab/notebook": "^2.0.0", | "@jupyterlab/cells": "^3.0.9", | ||
"@jupyterlab/cells": "^2.0.0", | "@jupyterlab/notebook": "^3.0.9" | ||
"codemirror": "~5.49.2" | |||
}, | }, | ||
"devDependencies": { | "devDependencies": { | ||
"@types/codemirror": "^0.0.76", | "@jupyterlab/builder": "^3.0.0", | ||
"typescript": "~3.7.3", | "@types/codemirror": "^0.0.97", | ||
"rimraf": "~3.0.0" | "@typescript-eslint/eslint-plugin": "^4.8.1", | ||
"@typescript-eslint/parser": "^4.8.1", | |||
"eslint": "^7.14.0", | |||
"eslint-config-prettier": "^6.15.0", | |||
"eslint-plugin-prettier": "^3.1.4", | |||
"npm-run-all": "^4.1.5", | |||
"prettier": "^2.1.1", | |||
"rimraf": "^3.0.2", | |||
"typescript": "~4.1.3" | |||
}, | }, | ||
"jupyterlab": { | "jupyterlab": { | ||
"extension": true | "extension": true, | ||
"outputDir": "finesse-syntax-jupyterlab/labextension" | |||
} | } | ||
} | } |
pyproject.toml
0 → 100644
setup.py
0 → 100644
Please
register
or
sign in
to comment