Bug 1291049 - move client/package.json to sourceeditor;r=bgrins draft
authorJulian Descottes <jdescottes@mozilla.com>
Thu, 24 Nov 2016 17:04:05 +0100
changeset 446054 c60ddb8b9c25
parent 445303 f8107cf96144
child 446055 bbbdb782a33c
push id37689
push userjdescottes@mozilla.com
push dateWed, 30 Nov 2016 21:30:01 +0000
reviewersbgrins
bugs1291049
milestone53.0a1
Bug 1291049 - move client/package.json to sourceeditor;r=bgrins MozReview-Commit-ID: KsFaNnyD7o2
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",
   },
 }];