Skip to content

Commit 2602a50

Browse files
author
antelle
committed
up deps
1 parent 3e01a8e commit 2602a50

File tree

9 files changed

+3312
-2653
lines changed

9 files changed

+3312
-2653
lines changed

Diff for: .eslintrc

+3-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@
1010
"no-console": "error",
1111
"no-alert": "error",
1212
"no-debugger": "error",
13-
"prefer-arrow-callback": "error"
13+
"prefer-arrow-callback": "error",
14+
"object-property-newline": "off",
15+
"no-useless-escape": "off"
1416
},
1517
"globals": {
1618
"_": true,

Diff for: Gruntfile.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ module.exports = function(grunt) {
1818
var dt = new Date().toISOString().replace(/T.*/, '');
1919
var minElectronVersionForUpdate = '1.0.1';
2020
var zipCommentPlaceholder = 'zip_comment_placeholder_that_will_be_replaced_with_hash';
21-
var electronVersion = pkg.devDependencies['electron-prebuilt'].replace(/^\D/, '');
21+
var electronVersion = pkg.devDependencies['electron'].replace(/^\D/, '');
2222

2323
while (zipCommentPlaceholder.length < 512) {
2424
zipCommentPlaceholder += '.';
@@ -86,7 +86,7 @@ module.exports = function(grunt) {
8686
pattern: /\r?\n\s*/g,
8787
replacement: function() { return '\n'; }
8888
}]})},
89-
{ test: /runtime\-info\.js$/, loader: StringReplacePlugin.replace({ replacements: [
89+
{ test: /runtime-info\.js$/, loader: StringReplacePlugin.replace({ replacements: [
9090
{ pattern: /@@VERSION/g, replacement: function() { return pkg.version; } },
9191
{ pattern: /@@DATE/g, replacement: function() { return dt; } },
9292
{ pattern: /@@COMMIT/g, replacement: function() { return grunt.config.get('gitinfo.local.branch.current.shortSHA'); } }
@@ -165,7 +165,7 @@ module.exports = function(grunt) {
165165
flatten: true
166166
},
167167
'desktop-app-content': {
168-
cwd: 'electron/',
168+
cwd: 'desktop/',
169169
src: '**',
170170
dest: 'tmp/desktop/app/',
171171
expand: true,
@@ -200,7 +200,7 @@ module.exports = function(grunt) {
200200
},
201201
eslint: {
202202
app: ['app/scripts/**/*.js'],
203-
electron: ['electron/**/*.js', '!electron/node_modules/**'],
203+
desktop: ['desktop/**/*.js', '!desktop/node_modules/**'],
204204
grunt: ['Gruntfile.js', 'grunt/**/*.js']
205205
},
206206
sass: {

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ To make Dropbox work in your self-hosted app:
4242

4343
The app can be built with grunt: `grunt` (html file will be in `dist/`).
4444
Desktop apps are built with `grunt desktop`. This works only in mac osx as it builds dmg; requires wine.
45-
To run Electron app without building installer, install electron package (`npm install electron-prebuilt -g`), build the app with `grunt` and start in this way:
45+
To run Electron app without building installer, install electron package (`npm install electron -g`), build the app with `grunt` and start in this way:
4646
```bash
4747
$ grunt dev
4848
$ npm run-script electron

Diff for: electron/app.js renamed to desktop/app.js

File renamed without changes.

Diff for: electron/icon.png renamed to desktop/icon.png

File renamed without changes.

Diff for: electron/main.js renamed to desktop/main.js

File renamed without changes.

Diff for: electron/package.json renamed to desktop/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@
1313
"license": "MIT",
1414
"readme": "../README.md",
1515
"dependencies": {
16-
"node-stream-zip": "1.3.3"
16+
"node-stream-zip": "1.3.7"
1717
}
1818
}

0 commit comments

Comments
 (0)