Browse Source

simplify electron startpoint

gero3 8 năm trước cách đây
mục cha
commit
ef59e58d05
2 tập tin đã thay đổi với 1 bổ sung6 xóa
  1. 0 5
      editor/package.json
  2. 1 1
      package.json

+ 0 - 5
editor/package.json

@@ -1,5 +0,0 @@
-{
-  "name"    : "your-app",
-  "version" : "0.1.0",
-  "main"    : "main.js"
-}

+ 1 - 1
package.json

@@ -34,7 +34,7 @@
     "dev": "rollup -c -w",
     "lint": "eslint src",
     "test": "rollup -c test/rollup.unit.config.js -w",
-    "editor-start": "electron ./editor/"
+    "editor-start": "electron ./editor/main.js"
   },
   "keywords": [
     "three",