Selaa lähdekoodia

Reworks build, tasks, and launch configs

Updates dependencies
main
Eric Amodio 7 vuotta sitten
vanhempi
commit
a32bb98e79
4 muutettua tiedostoa jossa 581 lisäystä ja 734 poistoa
  1. +13
    -3
      .vscode/launch.json
  2. +12
    -2
      .vscode/tasks.json
  3. +543
    -718
      package-lock.json
  4. +13
    -11
      package.json

+ 13
- 3
.vscode/launch.json Näytä tiedosto

@ -3,7 +3,17 @@
"version": "0.2.0",
"configurations": [
{
"name": "Launch Extension",
"name": "Launch GitLens",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": ["--extensionDevelopmentPath=${workspaceRoot}" ],
"stopOnEntry": false,
"sourceMaps": true,
"outFiles": ["${workspaceRoot}/out/src/**/*.js"]
},
{
"name": "Build & Launch GitLens",
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
@ -11,7 +21,7 @@
"stopOnEntry": false,
"sourceMaps": true,
"outFiles": ["${workspaceRoot}/out/src/**/*.js"],
"preLaunchTask": "compile"
"preLaunchTask": "build"
},
{
"name": "Launch Tests",
@ -22,7 +32,7 @@
"stopOnEntry": false,
"sourceMaps": true,
"outFiles": ["${workspaceRoot}/out/test/**/*.js"],
"preLaunchTask": "compile"
"preLaunchTask": "build"
}
]
}

+ 12
- 2
.vscode/tasks.json Näytä tiedosto

@ -17,9 +17,9 @@
},
"tasks": [
{
"label": "compile",
"label": "build",
"type": "npm",
"script": "compile",
"script": "build",
"problemMatcher": [
"$tsc",
"$tslint5"
@ -39,6 +39,16 @@
"group": "build"
},
{
"label": "rebuild",
"type": "npm",
"script": "rebuild",
"problemMatcher": [
"$tsc",
"$tslint5"
],
"group": "build"
},
{
"type": "npm",
"script": "watch",
"isBackground": true,

+ 543
- 718
package-lock.json
File diff suppressed because it is too large
Näytä tiedosto


+ 13
- 11
package.json Näytä tiedosto

@ -3309,17 +3309,19 @@
"*"
],
"scripts": {
"build": "npm run lint && tsc -m commonjs -p ./",
"bundle": "npm run lint && webpack --env.production",
"clean": "git clean -Xdf",
"compile": "npm run lint && tsc -m commonjs -p ./",
"watch": "tsc -watch -p ./",
"lint": "tslint --project tslint.json",
"pack": "npm run clean && vsce package",
"pack": "vsce package",
"pub": "vsce publish",
"rebuild": "npm run reset && npm run build",
"reset": "npm run clean && npm install --no-save",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"pub": "npm run clean && vsce publish",
"reset": "npm run clean && npm install",
"vscode:prepublish": "npm install --no-save && npm run bundle",
"prepush": "npm run compile"
"prepush": "npm run build",
"vscode:prepublish": "npm run reset && npm run bundle"
},
"dependencies": {
"copy-paste": "1.3.0",
@ -3332,14 +3334,14 @@
},
"devDependencies": {
"@types/copy-paste": "1.1.30",
"@types/node": "9.3.0",
"@types/node": "9.4.0",
"@types/tmp": "0.0.33",
"husky": "0.14.3",
"ts-loader": "3.3.1",
"ts-loader": "3.4.0",
"tslint": "5.9.1",
"typescript": "2.6.2",
"uglify-es": "3.3.8",
"uglifyjs-webpack-plugin": "1.1.6",
"uglify-es": "3.3.9",
"uglifyjs-webpack-plugin": "1.1.8",
"vscode": "1.1.10",
"webpack": "3.10.0",
"webpack-node-externals": "1.6.0"

Ladataan…
Peruuta
Tallenna