Browse Source

Package bin files, adding npmignore

Josh Engebretson 10 years ago
parent
commit
3193a11317

+ 0 - 1
CLI/atomic-cli-mac/.gitignore

@@ -1,2 +1 @@
-
 bin/*
 bin/*

+ 0 - 0
CLI/atomic-cli-mac/.npmignore


+ 3 - 2
CLI/atomic-cli-mac/package.json

@@ -9,7 +9,7 @@
   },
   },
   "dependencies": {
   "dependencies": {
   },
   },
-  "description": "Mac dependencies for atomic-cli",
+  "description": "Mac dependencies for atomic-cli package",
   "engines": {
   "engines": {
     "node": ">=0.8.0"
     "node": ">=0.8.0"
   },
   },
@@ -18,10 +18,11 @@
     "type": "Atomic Game Engine",
     "type": "Atomic Game Engine",
     "url": "https://github.com/AtomicGameEngine/AtomicGameEngine/blob/master/LICENSE.md"
     "url": "https://github.com/AtomicGameEngine/AtomicGameEngine/blob/master/LICENSE.md"
   }],
   }],
+  "files" : ["bin"],
   "main": "./index.js",
   "main": "./index.js",
   "name": "atomic-cli-mac",
   "name": "atomic-cli-mac",
   "preferGlobal": true,
   "preferGlobal": true,
   "repository": "https://github.com/AtomicGameEngine/AtomicGameEngine",
   "repository": "https://github.com/AtomicGameEngine/AtomicGameEngine",
-  "version": "0.2.4",
+  "version": "0.0.0",
   "os" : ["darwin"]
   "os" : ["darwin"]
 }
 }

+ 9 - 10
CLI/atomic-game-engine/menus/atomic-game-engine.cson

@@ -1,13 +1,13 @@
 # See https://atom.io/docs/latest/hacking-atom-package-word-count#menus for more details
 # See https://atom.io/docs/latest/hacking-atom-package-word-count#menus for more details
 'context-menu':
 'context-menu':
   'atom-text-editor': [
   'atom-text-editor': [
-    {
-      'label': 'Open Atomic Editor'
-      'command': 'atomic-game-engine:openEditor'
-    },
     {
     {
       'label': 'Run in Atomic Player'
       'label': 'Run in Atomic Player'
       'command': 'atomic-game-engine:run'
       'command': 'atomic-game-engine:run'
+    },
+    {
+      'label': 'Open Atomic Editor'
+      'command': 'atomic-game-engine:openEditor'
     }
     }
   ]
   ]
 'menu': [
 'menu': [
@@ -16,15 +16,14 @@
     'submenu': [
     'submenu': [
       'label': 'Atomic Game Engine'
       'label': 'Atomic Game Engine'
       'submenu': [
       'submenu': [
-        {
-          'label': 'Open Atomic Editor'
-          'command': 'atomic-game-engine:openEditor'
-        },
         {
         {
           'label': 'Run in Atomic Player'
           'label': 'Run in Atomic Player'
           'command': 'atomic-game-engine:run'
           'command': 'atomic-game-engine:run'
-        }
-
+        },
+        {
+          'label': 'Open Atomic Editor'
+          'command': 'atomic-game-engine:openEditor'
+        }      
       ]
       ]
     ]
     ]
   }
   }