浏览代码

added npm run build

David Catuhe 6 年之前
父节点
当前提交
59d8aa60ca
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      Tools/Gulp/package.json

+ 3 - 2
Tools/Gulp/package.json

@@ -9,6 +9,7 @@
     "readme": "https://github.com/BabylonJS/Babylon.js/edit/master/readme.md",
     "license": "(Apache-2.0)",
     "scripts": {
-        "install": "cd ../../ && npm install && cd Playground/ && npm install && cd ../Viewer && npm install && cd ../Tools/Gulp/"
+        "install": "cd ../../ && npm install && cd Playground/ && npm install && cd ../Viewer && npm install && cd ../Tools/Gulp/",
+        "build": "gulp --max-old-space-size=8192"
     }
-}
+}