瀏覽代碼

Update dev dependencies

Alex Dima 8 年之前
父節點
當前提交
d475297526
共有 4 個文件被更改,包括 22 次插入10 次删除
  1. 3 1
      gulpfile.js
  2. 9 9
      package.json
  3. 5 0
      src/solidity.ts
  4. 5 0
      test/solidity.test.ts

+ 3 - 1
gulpfile.js

@@ -79,7 +79,9 @@ gulp.task('release', ['clean-release','compile'], function() {
 			bundleOne('src/solidity')
 		)
 		.pipe(uglify({
-			preserveComments: 'some'
+			output: {
+				comments: /^!/
+			}
 		}))
 		.pipe(es.through(function(data) {
 			data.contents = new Buffer(

+ 9 - 9
package.json

@@ -18,17 +18,17 @@
     "url": "https://github.com/Microsoft/monaco-languages/issues"
   },
   "devDependencies": {
-    "event-stream": "^3.3.2",
+    "event-stream": "^3.3.4",
     "gulp": "^3.9.1",
-    "gulp-requirejs": "^0.1.3",
-    "gulp-tsb": "^2.0.0",
-    "gulp-uglify": "^1.5.3",
+    "gulp-requirejs": "^1.0.0-rc2",
+    "gulp-tsb": "^2.0.3",
+    "gulp-uglify": "^3.0.0",
     "jsdom-no-contextify": "^3.1.0",
-    "merge-stream": "^1.0.0",
-    "mocha": "^2.5.3",
+    "merge-stream": "^1.0.1",
+    "mocha": "^3.4.2",
     "monaco-editor-core": "^0.8.0",
-    "object-assign": "^4.1.0",
-    "rimraf": "^2.5.2",
-    "typescript": "2.0.3"
+    "object-assign": "^4.1.1",
+    "rimraf": "^2.6.1",
+    "typescript": "2.3.4"
   }
 }

+ 5 - 0
src/solidity.ts

@@ -1,3 +1,8 @@
+/*---------------------------------------------------------------------------------------------
+ *  Copyright (c) Microsoft Corporation. All rights reserved.
+ *  Licensed under the MIT License. See License.txt in the project root for license information.
+ *--------------------------------------------------------------------------------------------*/
+
 'use strict';
 
 import IRichLanguageConfiguration = monaco.languages.LanguageConfiguration;

+ 5 - 0
test/solidity.test.ts

@@ -1,3 +1,8 @@
+/*---------------------------------------------------------------------------------------------
+ *  Copyright (c) Microsoft Corporation. All rights reserved.
+ *  Licensed under the MIT License. See License.txt in the project root for license information.
+ *--------------------------------------------------------------------------------------------*/
+
 'use strict';
 
 import { testTokenization } from './testRunner';