From b4424419c0eb2e07c6783d6853346853957e78a8 Mon Sep 17 00:00:00 2001 From: Yukai Huang Date: Mon, 13 Mar 2017 21:42:09 +0800 Subject: [PATCH] Add standarjs globals --- package.json | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/package.json b/package.json index 0578932..01c867d 100644 --- a/package.json +++ b/package.json @@ -170,6 +170,26 @@ "webpack-parallel-uglify-plugin": "^0.2.0" }, "standard": { + "globals": [ + "$", + "CodeMirror", + "Cookies", + "moment", "editor", + "ui", + "Spinner", + "modeType", + "Idle", + "serverurl", + "key", + "gapi", + "Dropbox", + "FilePicker", + "ot", + "MediaUploader", + "hex2rgb", + "num_loaded", + "Visibility" + ], "ignore": [ "lib/ot", "public/vendor"