Add package command and upgrade event-stream

This commit is contained in:
DJMcNab 2018-12-08 21:09:32 +00:00
parent c54a7da6e0
commit 12addc6233
3 changed files with 21 additions and 5 deletions

View file

@ -122,7 +122,7 @@ fn install_code_extension() -> Result<()> {
run(r"npm install", "./editors/code")?;
}
run(
r"node ./node_modules/vsce/out/vsce package",
r"npm run package",
"./editors/code",
)?;
if cfg!(windows) {

View file

@ -637,9 +637,9 @@
"dev": true
},
"event-stream": {
"version": "3.3.5",
"resolved": "https://registry.npmjs.org/event-stream/-/event-stream-3.3.5.tgz",
"integrity": "sha512-vyibDcu5JL20Me1fP734QBH/kenBGLZap2n0+XXM7mvuUPzJ20Ydqj1aKcIeMdri1p+PU+4yAKugjN8KCVst+g==",
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/event-stream/-/event-stream-4.0.1.tgz",
"integrity": "sha512-qACXdu/9VHPBzcyhdOWR5/IahhGMf0roTeZJfzz077GwylcDd90yOHLouhmv7GJ5XzPi6ekaQWd8AvPP2nOvpA==",
"requires": {
"duplexer": "0.1.1",
"from": "0.1.7",
@ -1040,6 +1040,21 @@
"integrity": "sha1-2jCcwmPfFZlMaIypAheco8fNfH4=",
"dev": true
},
"event-stream": {
"version": "3.3.5",
"resolved": "https://registry.npmjs.org/event-stream/-/event-stream-3.3.5.tgz",
"integrity": "sha512-vyibDcu5JL20Me1fP734QBH/kenBGLZap2n0+XXM7mvuUPzJ20Ydqj1aKcIeMdri1p+PU+4yAKugjN8KCVst+g==",
"dev": true,
"requires": {
"duplexer": "0.1.1",
"from": "0.1.7",
"map-stream": "0.0.7",
"pause-stream": "0.0.11",
"split": "1.0.1",
"stream-combiner": "0.2.2",
"through": "2.3.8"
}
},
"replace-ext": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/replace-ext/-/replace-ext-0.0.1.tgz",

View file

@ -17,6 +17,7 @@
},
"scripts": {
"vscode:prepublish": "npm run compile",
"package": "vsce package",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
@ -30,7 +31,7 @@
"singleQuote": true
},
"dependencies": {
"event-stream": "^3.3.5",
"event-stream": "^4.0.1",
"vscode-languageclient": "^5.1.1"
},
"devDependencies": {