Skip to content

Commit

Permalink
feat: build with @zeit/ncc
Browse files Browse the repository at this point in the history
  • Loading branch information
axetroy committed May 31, 2019
1 parent 976b7c3 commit cc76b45
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ src/**
tsconfig.json
tslint.json
*.gif
*.log
*.log
node_modules
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"Other"
],
"icon": "resources/icon.png",
"main": "./out/extension",
"main": "./out/index",
"activationEvents": [
"onCommand:changelog.generate",
"onCommand:changelog.generateFromLastVersion",
Expand Down Expand Up @@ -159,7 +159,8 @@
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./ && npm run lint",
"compile": "npm run lint && npm run clean && npx @zeit/ncc build src/index.ts -o ./dist -e vscode -m && npm run clean && npx move-cli ./dist ./out",
"clean": "npx rimraf ./out",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"lint": "tslint -p ./ -c tslint.json",
Expand Down
File renamed without changes.

0 comments on commit cc76b45

Please sign in to comment.