Skip to content

Commit 4a69a7f

Browse files
committed
Fixup lifecycle of npm package
1 parent d5bdda0 commit 4a69a7f

File tree

2 files changed

+715
-2
lines changed

2 files changed

+715
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"bugs": {
1313
"url": "https://github.com/QuantStack/jupyterlab-drawio/issues"
1414
},
15-
"license": "Apache 2.0",
15+
"license": "Apache-2.0",
1616
"author": "Wolf Vollprecht",
1717
"files": [
1818
"lib/**/*.{d.ts,eot,gif,html,jpg,js,js.map,json,png,svg,woff2,ttf,css}",
@@ -27,7 +27,8 @@
2727
"scripts": {
2828
"build": "node scripts/copyfiles.js && tsc",
2929
"clean": "rimraf lib",
30-
"watch": "tsc -w"
30+
"watch": "tsc -w",
31+
"prepublish": "npm run clean && npm run build"
3132
},
3233
"dependencies": {
3334
"@jupyterlab/application": "^0.17.2",

0 commit comments

Comments
 (0)