Commit 04ec96c2 authored by Phil Jones's avatar Phil Jones

Publishing to npmjs.com

parent 0fce839d
# Finesse Syntax for JupyterLab
Build with:
```bash
yarn
yarn build
jupyter labextension install .
```
This diff is collapsed.
{
"name": "finesse-syntax-jupyterlab",
"version": "0.1.0",
"description": "Syntax highlighting for kat script within jupyterlab.",
"description": "Syntax highlighting for kat script within JupyterLab.",
"keywords": [
"jupyter",
"jupyterlab",
"jupyterlab-extension"
],
"homepage": "https://github.com/my_name/myextension",
"homepage": "http://gitlab.sr.bham.ac.uk/pjj/finesse-syntax-jupyterlab",
"bugs": {
"url": "https://github.com/my_name/myextension/issues"
"url": "http://gitlab.sr.bham.ac.uk/pjj/finesse-syntax-jupyterlab/issues"
},
"license": "BSD-3-Clause",
"author": "Phil Jones",
"author": "Philip Jones",
"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}"
......@@ -22,7 +22,7 @@
"style": "style/index.css",
"repository": {
"type": "git",
"url": "https://github.com/my_name/myextension.git"
"url": "http://gitlab.sr.bham.ac.uk/pjj/finesse-syntax-jupyterlab.git"
},
"scripts": {
"build": "tsc",
......
var path = require("path");
var webpack = require("webpack");
module.exports = {
entry: "./index.js",
mode: "development",
output: {
path: path.resolve(__dirname, "dist"),
filename: "index.js",
libraryTarget: "commonjs2"
},
devtool: "none",
plugins: [
new webpack.DefinePlugin({
MAGIC_CONSTANT: JSON.stringify("some_thing")
})
],
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