瀏覽代碼

remove gl from dependencies & install it on demand instead
- installing gl on M1 Mac was taking several minutes to compile on each update

dsehnal 3 年之前
父節點
當前提交
1a7c62eec6
共有 2 個文件被更改,包括 121 次插入548 次删除
  1. 120 544
      package-lock.json
  2. 1 4
      package.json

文件差異過大導致無法顯示
+ 120 - 544
package-lock.json


+ 1 - 4
package.json

@@ -13,7 +13,7 @@
   "scripts": {
     "lint": "eslint .",
     "lint-fix": "eslint . --fix",
-    "test": "npm run lint && jest",
+    "test": "npm install --no-save \"gl@^5.0.0\" && npm run lint && jest",
     "jest": "jest",
     "build": "npm run build-tsc && npm run build-extra && npm run build-webpack",
     "clean": "node ./scripts/clean.js",
@@ -156,8 +156,5 @@
   "peerDependencies": {
     "react": "^17.0.2",
     "react-dom": "^17.0.2"
-  },
-  "optionalDependencies": {
-    "gl": "^5.0.0"
   }
 }

部分文件因文件數量過多而無法顯示