diff --git a/bin/packageAddons.js b/bin/packageAddons.js deleted file mode 100644 index 54ed634e..00000000 --- a/bin/packageAddons.js +++ /dev/null @@ -1,19 +0,0 @@ -/** - * Copyright (c) 2019 The xterm.js authors. All rights reserved. - * @license MIT - */ - -const cp = require('child_process'); -const path = require('path'); -const fs = require('fs'); - -const addons = fs.readdirSync(path.resolve(__dirname, '../addons')); -addons.forEach(addon => { - cp.spawnSync( - 'npm', ['run', 'package'], - { - cwd: path.resolve(__dirname, `../addons/${addon}`), - stdio: 'inherit' - } - ); -}); diff --git a/package.json b/package.json index e93ab8ca..16ebca92 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,6 @@ "test-api": "mocha \"**/*.api.js\"", "test-unit": "node ./bin/test.js", "build": "tsc -b ./tsconfig.all.json", - "postbuild": "node ./bin/packageAddons.js", "prepare": "npm run build", "prepublishOnly": "npm run package", "watch": "tsc -b -w ./tsconfig.all.json --preserveWatchOutput",