Fix some issues with packaging / scripts

This commit is contained in:
Kris De Volder
2016-11-10 15:22:42 -08:00
parent d71dd58d97
commit 52be410700
3 changed files with 3 additions and 14 deletions

View File

@@ -20,7 +20,7 @@
"showOutput": "silent",
// we run the custom script "compile" as defined in package.json
"args": ["install"], //, "--loglevel", "silent"],
"args": ["compile"],
// The tsc compiler is started in watching mode
"isWatching": true,

View File

@@ -1,11 +0,0 @@
interface Foo {
box : string;
get() : string;
};
var foo = {
box: null,
get: () => foo.box
};
export = foo

View File

@@ -40,10 +40,10 @@
},
"preview": true,
"scripts": {
"vscode:prepublish": "tsc -p .",
"prepublish": "tsc -p .",
"clean": "rm -fr node_modules",
"compile": "tsc -watch -p ./",
"preinstall": "npm install ../commons-vscode && ../mvnw -f ../pom.xml -pl vscode-manifest-yaml -am clean package",
"preinstall": "(cd ../commons-vscode ; npm install) && npm install ../commons-vscode && ../mvnw -f ../pom.xml -pl vscode-manifest-yaml -am clean package",
"postinstall": "node ./node_modules/vscode/bin/install"
},
"dependencies": {