Skip to content

Commit

Permalink
fix: make it build on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
connor4312 committed Oct 6, 2021
1 parent b4a3c22 commit e3e5334
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 89 deletions.
90 changes: 9 additions & 81 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 4 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,14 @@
"main": "out/api.js",
"typings": "out/api.d.ts",
"bin": {
"vsce": "out/vsce"
"vsce": "vsce"
},
"scripts": {
"copy-vsce": "mkdir -p out && cp -f src/vsce out/vsce",
"compile": "tsc",
"build": "run-s copy-vsce compile",
"watch:build": "run-s copy-vsce \"compile -- --watch\"",
"build": "tsc",
"watch:build": "npm run compile -- --watch",
"test": "mocha",
"watch:test": "run-s copy-vsce \"test -- --watch\"",
"watch:test": "npm run test -- --watch",
"vsce": "out/vsce"
},
"engines": {
Expand Down Expand Up @@ -75,7 +74,6 @@
"@types/tmp": "^0.1.0",
"@types/xml2js": "^0.4.4",
"@types/yauzl": "^2.9.2",
"concurrently": "^5.1.0",
"husky": "^4.3.0",
"mocha": "^7.1.1",
"npm-run-all": "^4.1.5",
Expand Down
2 changes: 0 additions & 2 deletions src/vsce

This file was deleted.

2 changes: 2 additions & 0 deletions vsce
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
#!/usr/bin/env node
require('./out/main')(process.argv);

0 comments on commit e3e5334

Please sign in to comment.