This commit is contained in:
antelle 2016-04-03 10:47:34 +03:00
parent 7b8b108ac7
commit f69ec4d773
4 changed files with 17 additions and 16 deletions

View File

@ -27,7 +27,7 @@
// true : all variables, last function parameter
// "vars" : all variables only
// "strict" : all variables, all function parameters
"strict" : true, // true: Requires all functions run in ES5 Strict Mode
"strict" : "global", // true: Requires all functions run in ES5 Strict Mode
"maxparams" : false, // {int} Max number of formal params allowed per function
"maxdepth" : false, // {int} Max depth of nested blocks (within functions)
"maxstatements" : false, // {int} Max number statements per function
@ -46,7 +46,6 @@
"evil" : false, // true: Tolerate use of `eval` and `new Function()`
"expr" : false, // true: Tolerate `ExpressionStatement` as Programs
"funcscope" : false, // true: Tolerate defining variables inside control statements
"globalstrict" : true, // true: Allow global "use strict" (also enables 'strict')
"iterator" : false, // true: Tolerate using the `__iterator__` property
"lastsemic" : false, // true: Tolerate omitting a semicolon for the last statement of a 1-line block
"laxbreak" : false, // true: Tolerate possibly unsafe line breakings
@ -84,6 +83,8 @@
"wsh" : false, // Windows Scripting Host
"yui" : false, // Yahoo User Interface
"-W097" : false, // global scrict
// Custom Globals
"globals" : {
"require": true,

View File

@ -338,7 +338,7 @@ module.exports = function(grunt) {
}
}
},
'electron_builder': {
'electron-builder': {
options: {
out: path.join(__dirname, 'tmp/desktop'),
basePath: __dirname,
@ -487,7 +487,7 @@ module.exports = function(grunt) {
'sign-archive:desktop_update',
'validate-desktop-update',
'electron',
'electron_builder',
'electron-builder',
'compress:linux64',
'compress:linux32',
'deb:linux64',

View File

@ -3,7 +3,7 @@
var builder = require('electron-builder').init();
module.exports = function (grunt) {
grunt.registerMultiTask('electron_builder', 'Create app installer with electron-builder', function () {
grunt.registerMultiTask('electron-builder', 'Create app installer with electron-builder', function () {
var done = this.async();
builder.build(this.options(), function(err) {
if (err) {

View File

@ -12,32 +12,32 @@
"devDependencies": {
"base64-loader": "^1.0.0",
"cssnano": "^3.3.2",
"electron-builder": "^2.1.1",
"electron-builder": "=2.1.1",
"exports-loader": "^0.6.2",
"get-folder-size": "^1.0.0",
"grunt": "^0.4.5",
"grunt-bower-install-simple": "^1.1.4",
"grunt-contrib-clean": "^0.7.0",
"grunt-contrib-compress": "^0.14.0",
"grunt-contrib-copy": "^0.8.2",
"grunt-contrib-clean": "^1.0.0",
"grunt-contrib-compress": "^1.2.0",
"grunt-contrib-copy": "^1.0.0",
"grunt-contrib-deb": "github:antelle/grunt-contrib-deb#01300ea",
"grunt-contrib-htmlmin": "^0.6.0",
"grunt-contrib-jshint": "^0.11.2",
"grunt-contrib-uglify": "^0.10.1",
"grunt-contrib-watch": "^0.6.1",
"grunt-contrib-jshint": "^1.0.0",
"grunt-contrib-htmlmin": "^1.2.0",
"grunt-contrib-uglify": "^1.0.1",
"grunt-contrib-watch": "^1.0.0",
"grunt-electron": "^2.0.1",
"grunt-gitinfo": "^0.1.7",
"grunt-inline-alt": "^0.3.10",
"grunt-postcss": "^0.7.1",
"grunt-postcss": "^0.8.0",
"grunt-sass": "^1.1.0",
"grunt-string-replace": "^1.2.0",
"grunt-webpack": "^1.0.11",
"handlebars": "^4.0.5",
"handlebars-loader": "^1.1.4",
"html-minifier": "=1.1.1",
"html-minifier": "=1.4.0",
"load-grunt-tasks": "^3.2.0",
"raw-loader": "^0.5.1",
"string-replace-webpack-plugin": "0.0.2",
"string-replace-webpack-plugin": "0.0.3",
"strip-sourcemap-loader": "0.0.1",
"time-grunt": "^1.2.1",
"uglify-loader": "^1.3.0",