conditional build for addons

This commit is contained in:
Jörg Breitbart
2019-10-25 17:29:38 +02:00
parent f30c38f773
commit 25c18e8e07
2 changed files with 41 additions and 0 deletions
+1
View File
@@ -8,6 +8,7 @@
"repository": "https://github.com/xtermjs/xterm.js",
"license": "MIT",
"scripts": {
"postinstall": "node -e \"try { require('./bin/install-addons'); } catch(e) {}\"",
"prepackage": "npm run build",
"package": "webpack",
"start": "node demo/start",