Call update-core.js before installing so that package.json is up-to-date.
@@ -24,6 +24,7 @@
"test:firefox": "lerna run test:firefox --stream",
"test:ie": "lerna run test:ie --concurrency 1 --stream",
"update:dependency": "node scripts/update-dependency.js",
+ "update:core": "cd jupyterlab && node update-core.js",
"watch:packages": "watch \"npm run build:packages\" ./packages/** --wait 10 --filter=scripts/watch-filter.js --ignoreDotFiles",
"watch": "watch \"npm run build\" ./packages/** --wait 10 --filter=scripts/watch-filter.js --ignoreDotFiles",
"watch:main": "npm run watch",
@@ -68,3 +68,6 @@ var indexPath = path.join(basePath, 'packages', 'all-packages', 'src', 'index.ts
var index = fs.readFileSync(indexPath, 'utf8');
index = index + 'import "' + package.name + '";\n';
fs.writeFileSync(indexPath, index);
+
+// Update the core jupyterlab build dependencies.
+childProcess.execSync('npm run update:core');