Bug 1321509 - move client/package.json to sourceeditor;r=bgrins
authorJulian Descottes <jdescottes@mozilla.com>
Thu, 24 Nov 2016 17:04:05 +0100
changeset 325352 61d6fe7c63903f8f3d5ba8e9af58f6893f763167
parent 325351 34a2a7ffa7b3bf3992062526e99b3594391277cf
child 325353 d72c318a4f42ab4d4e34d27be6a590fc5df619b9
push id24
push usermaklebus@msu.edu
push dateTue, 20 Dec 2016 03:11:33 +0000
reviewersbgrins
bugs1321509
milestone53.0a1
Bug 1321509 - move client/package.json to sourceeditor;r=bgrins MozReview-Commit-ID: 5lte5RWiwJe
devtools/client/package.json
devtools/client/sourceeditor/package.json
devtools/client/sourceeditor/webpack.config.js
devtools/client/webpack.config.js
rename from devtools/client/package.json
rename to devtools/client/sourceeditor/package.json
--- a/devtools/client/package.json
+++ b/devtools/client/sourceeditor/package.json
@@ -1,10 +1,10 @@
 {
-  "name": "devtools",
+  "name": "sourceeditor",
   "version": "0.0.1",
   "description": "",
   "main": "",
   "scripts": {
     "build": "webpack"
   },
   "babel":  {
     "presets": [ "es2015" ]
rename from devtools/client/webpack.config.js
rename to devtools/client/sourceeditor/webpack.config.js
--- a/devtools/client/webpack.config.js
+++ b/devtools/client/sourceeditor/webpack.config.js
@@ -2,38 +2,38 @@
  * License, v. 2.0. If a copy of the MPL was not distributed with this
  * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 "use strict";
 
 module.exports = [{
   bail: true,
   entry: [
-    "./sourceeditor/codemirror/addon/dialog/dialog.js",
-    "./sourceeditor/codemirror/addon/search/searchcursor.js",
-    "./sourceeditor/codemirror/addon/search/search.js",
-    "./sourceeditor/codemirror/addon/edit/matchbrackets.js",
-    "./sourceeditor/codemirror/addon/edit/closebrackets.js",
-    "./sourceeditor/codemirror/addon/comment/comment.js",
-    "./sourceeditor/codemirror/mode/javascript/javascript.js",
-    "./sourceeditor/codemirror/mode/xml/xml.js",
-    "./sourceeditor/codemirror/mode/css/css.js",
-    "./sourceeditor/codemirror/mode/htmlmixed/htmlmixed.js",
-    "./sourceeditor/codemirror/mode/clike/clike.js",
-    "./sourceeditor/codemirror/mode/wasm/wasm.js",
-    "./sourceeditor/codemirror/addon/selection/active-line.js",
-    "./sourceeditor/codemirror/addon/edit/trailingspace.js",
-    "./sourceeditor/codemirror/keymap/emacs.js",
-    "./sourceeditor/codemirror/keymap/vim.js",
-    "./sourceeditor/codemirror/keymap/sublime.js",
-    "./sourceeditor/codemirror/addon/fold/foldcode.js",
-    "./sourceeditor/codemirror/addon/fold/brace-fold.js",
-    "./sourceeditor/codemirror/addon/fold/comment-fold.js",
-    "./sourceeditor/codemirror/addon/fold/xml-fold.js",
-    "./sourceeditor/codemirror/addon/fold/foldgutter.js",
-    "./sourceeditor/codemirror/lib/codemirror.js",
+    "./codemirror/addon/dialog/dialog.js",
+    "./codemirror/addon/search/searchcursor.js",
+    "./codemirror/addon/search/search.js",
+    "./codemirror/addon/edit/matchbrackets.js",
+    "./codemirror/addon/edit/closebrackets.js",
+    "./codemirror/addon/comment/comment.js",
+    "./codemirror/mode/javascript/javascript.js",
+    "./codemirror/mode/xml/xml.js",
+    "./codemirror/mode/css/css.js",
+    "./codemirror/mode/htmlmixed/htmlmixed.js",
+    "./codemirror/mode/clike/clike.js",
+    "./codemirror/mode/wasm/wasm.js",
+    "./codemirror/addon/selection/active-line.js",
+    "./codemirror/addon/edit/trailingspace.js",
+    "./codemirror/keymap/emacs.js",
+    "./codemirror/keymap/vim.js",
+    "./codemirror/keymap/sublime.js",
+    "./codemirror/addon/fold/foldcode.js",
+    "./codemirror/addon/fold/brace-fold.js",
+    "./codemirror/addon/fold/comment-fold.js",
+    "./codemirror/addon/fold/xml-fold.js",
+    "./codemirror/addon/fold/foldgutter.js",
+    "./codemirror/lib/codemirror.js",
   ],
   output: {
-    filename: "./sourceeditor/codemirror/codemirror.bundle.js",
+    filename: "./codemirror/codemirror.bundle.js",
     libraryTarget: "var",
     library: "CodeMirror",
   },
 }];