瀏覽代碼

Update preversion script to ensure an up-to-date build

Steven Silvester 8 年之前
父節點
當前提交
7e6bbffc70
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      package.json

+ 1 - 1
package.json

@@ -73,7 +73,7 @@
     "clean:slate": "npm run clean && npm run clean:examples && rimraf jupyterlab/node_modules && rimraf node_modules && npm install",
     "docs": "typedoc --mode modules --module commonjs --excludeNotExported --target es5 --moduleResolution node --out docs/ src",
     "postinstall": "node scripts/dedupe.js",
-    "preversion": "npm run clean && npm run build",
+    "preversion": "npm update && npm run postinstall && npm run clean && npm run build:all",
     "test": "npm run test:firefox",
     "test:chrome": "npm run build:test && cd test && python run-test.py --browsers=Chrome karma.conf.js",
     "test:coverage": "tsc --project test/src && webpack --config test/webpack-cov.conf.js && cd test && python run-test.py karma-cov.conf.js",