Commit bc2a85af authored by Phil Jones's avatar Phil Jones

Final_fix_for_real_final_v3_new.docx

parent e9f76b2c
# Finesse Syntax for JupyterLab # Finesse Syntax for JupyterLab
Build with: ## Installation
Use the JupyterLab extension manager, or:
```bash ```bash
yarn jupyter labextension install @pjj56/finesse-syntax-jupyterlab
yarn build
jupyter labextension install .
``` ```
This diff is collapsed.
{ {
"name": "finesse-syntax-jupyterlab", "name": "@pjj56/finesse-syntax-jupyterlab",
"version": "0.1.3", "version": "0.1.7",
"description": "Syntax highlighting for kat script within JupyterLab.", "description": "Syntax highlighting for kat script within JupyterLab.",
"keywords": [ "keywords": [
"jupyter", "jupyter",
...@@ -14,40 +14,32 @@ ...@@ -14,40 +14,32 @@
"license": "BSD-3-Clause", "license": "BSD-3-Clause",
"author": "Philip Jones", "author": "Philip Jones",
"files": [ "files": [
"src/**/*.{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}",
"webpack.config.js",
"tsconfig.json" "tsconfig.json"
], ],
"main": "dist/index.js", "main": "lib/index.js",
"types": "lib/index.d.ts",
"repository": { "repository": {
"type": "git", "type": "git",
"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 && webpack", "build": "tsc",
"clean": "rimraf lib tsconfig.tsbuildinfo", "clean": "rimraf lib tsconfig.tsbuildinfo",
"prepare": "jlpm run clean && jlpm run build", "prepare": "jlpm run clean && jlpm run build",
"watch": "tsc -w" "watch": "tsc -w"
}, },
"dependencies": { "dependencies": {
"@jupyterlab/application": "^1.2.1", "@jupyterlab/application": "^1.2.1",
"@jupyterlab/apputils": "^1.2.1",
"@jupyterlab/docregistry": "^1.2.1",
"@jupyterlab/notebook": "^1.2.2", "@jupyterlab/notebook": "^1.2.2",
"@phosphor/disposable": "^1.3.0", "@jupyterlab/cells": "^1.2.2",
"@phosphor/widgets": "^1.9.0",
"codemirror": "~5.47.0" "codemirror": "~5.47.0"
}, },
"devDependencies": { "devDependencies": {
"rimraf": "~2.6.2", "@types/codemirror": "^0.0.74",
"typescript": "~3.5.1", "typescript": "~3.5.1",
"webpack": "^4.22.0", "rimraf": "~2.6.2"
"webpack-cli": "^3.3.10",
"@types/codemirror": "^0.0.74"
}, },
"sideEffects": [
"style/*.css"
],
"jupyterlab": { "jupyterlab": {
"extension": true "extension": true
} }
......
var path = require("path");
var webpack = require("webpack");
module.exports = {
entry: "./lib/index.js",
mode: "development",
output: {
path: path.resolve(__dirname, "dist"),
filename: "index.js",
libraryTarget: "commonjs2"
},
devtool: "none",
externals: [
// Everything that starts with "@phosphor/"
/^@phosphor\/.+$/,
/^@jupyterlab\/.+$/
]
};
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