Commit 96363fa4 authored by Phil Jones's avatar Phil Jones

Fix dependencies.

parent 04ec96c2
{
"name": "finesse-syntax-jupyterlab",
"version": "0.1.0",
"version": "0.1.2",
"description": "Syntax highlighting for kat script within JupyterLab.",
"keywords": [
"jupyter",
......@@ -17,15 +17,13 @@
"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}"
],
"main": "lib/index.js",
"types": "lib/index.d.ts",
"style": "style/index.css",
"main": "dist/index.js",
"repository": {
"type": "git",
"url": "http://gitlab.sr.bham.ac.uk/pjj/finesse-syntax-jupyterlab.git"
},
"scripts": {
"build": "tsc",
"build": "tsc && webpack",
"clean": "rimraf lib tsconfig.tsbuildinfo",
"prepare": "jlpm run clean && jlpm run build",
"watch": "tsc -w"
......@@ -35,14 +33,16 @@
"@jupyterlab/apputils": "^1.2.1",
"@jupyterlab/docregistry": "^1.2.1",
"@jupyterlab/notebook": "^1.2.2",
"@phosphor/disposable": "^1.3.1",
"@phosphor/widgets": "^1.9.3",
"@types/codemirror": "0.0.82",
"codemirror": "5.47.0"
"@phosphor/disposable": "^1.3.0",
"@phosphor/widgets": "^1.9.0",
"codemirror": "~5.47.0"
},
"devDependencies": {
"rimraf": "^2.6.1",
"typescript": "~3.5.2"
"rimraf": "~2.6.2",
"typescript": "~3.5.1",
"webpack": "^4.22.0",
"webpack-cli": "^3.3.10",
"@types/codemirror": "^0.0.74"
},
"sideEffects": [
"style/*.css"
......
......@@ -2,7 +2,7 @@ var path = require("path");
var webpack = require("webpack");
module.exports = {
entry: "./index.js",
entry: "./lib/index.js",
mode: "development",
output: {
path: path.resolve(__dirname, "dist"),
......@@ -10,11 +10,6 @@ module.exports = {
libraryTarget: "commonjs2"
},
devtool: "none",
plugins: [
new webpack.DefinePlugin({
MAGIC_CONSTANT: JSON.stringify("some_thing")
})
],
externals: [
// Everything that starts with "@phosphor/"
/^@phosphor\/.+$/,
......
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