Skip to content

Commit 5b3a093

Browse files
committed
stick to prepare to avoid re-running yarn for addons everytime during build
1 parent 03435a9 commit 5b3a093

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@
1616
"posttest": "npm run lint",
1717
"test-api": "mocha \"**/*.api.js\"",
1818
"test-unit": "node ./bin/test.js",
19-
"prebuild": "node ./bin/install-addons.js",
2019
"build": "tsc -b ./tsconfig.all.json",
21-
"prepare": "npm run build",
20+
"prepare": "npm run setup",
21+
"setup": "npm run build",
22+
"presetup": "node ./bin/install-addons.js",
2223
"prepublishOnly": "npm run package",
2324
"watch": "tsc -b -w ./tsconfig.all.json --preserveWatchOutput",
2425
"benchmark": "NODE_PATH=./out xterm-benchmark -r 5 -c test/benchmark/benchmark.json",

0 commit comments

Comments
 (0)