Add standarjs globals

This commit is contained in:
Yukai Huang 2017-03-13 21:42:09 +08:00
parent 93e41f3a40
commit b4424419c0
1 changed files with 20 additions and 0 deletions

View File

@ -170,6 +170,26 @@
"webpack-parallel-uglify-plugin": "^0.2.0" "webpack-parallel-uglify-plugin": "^0.2.0"
}, },
"standard": { "standard": {
"globals": [
"$",
"CodeMirror",
"Cookies",
"moment", "editor",
"ui",
"Spinner",
"modeType",
"Idle",
"serverurl",
"key",
"gapi",
"Dropbox",
"FilePicker",
"ot",
"MediaUploader",
"hex2rgb",
"num_loaded",
"Visibility"
],
"ignore": [ "ignore": [
"lib/ot", "lib/ot",
"public/vendor" "public/vendor"