Parcourir la source

added npm run build

David Catuhe il y a 6 ans
Parent
commit
59d8aa60ca
1 fichiers modifiés avec 3 ajouts et 2 suppressions
  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"
     }
-}
+}