diff --git a/.gitignore b/.gitignore index a954433..3ac9048 100644 --- a/.gitignore +++ b/.gitignore @@ -5,5 +5,5 @@ Thumbs.db *.log *.autogenerated # ignore dist folder that has the installers for various platforms -/app +/bundle /dist diff --git a/make.js b/make.js index 5677cff..8eb731c 100644 --- a/make.js +++ b/make.js @@ -2,17 +2,18 @@ var b = require('substance-bundler') function _copyAssets() { - b.copy('./src', './app') - b.copy('./node_modules/stencila/build', './app/lib/stencila') + b.copy('./src', './bundle') + b.copy('./package.json', './bundle/package.json') + b.copy('./node_modules/stencila/build', './bundle/lib/stencila') } b.task('clean', () => { - b.rm('app') + b.rm('bundle') + b.rm('dist') }) b.task('assets', () => { _copyAssets() }) -b.task('cleanbuild', [ 'clean', 'assets' ]) -b.task('default', [ 'assets' ]) +b.task('default', [ 'clean', 'assets' ]) diff --git a/package.json b/package.json index 55d76ef..8680984 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { "name": "stencila-desktop", - "productName": "Stencila Desktop", + "productName": "Stencila", "description": "Stencila for the desktop", - "version": "0.26.0", + "version": "0.27.0", "author": "Nokome Bentley", "homepage": "http://stenci.la", "repository": { @@ -13,11 +13,11 @@ "url": "https://github.com/stencila/desktop/issues" }, "license": "Apache-2.0", - "main": "app/main.js", + "main": "./bundle/main.js", "build": { "appId": "com.stencila.stencila-desktop", "files": [ - "app/**/*", + "bundle/**/*", "node_modules/**/*", "package.json" ], @@ -33,14 +33,14 @@ "start": "node make && npm-run-all --parallel watch app" }, "dependencies": { - "stencila": "^0.26.3", - "stencila-node": "^0.26.2" + "stencila": "0.27.4", + "stencila-node": "0.27.0" }, "devDependencies": { "npm-run-all": "^3.1.0", "extract-zip": "=1.6.0", - "electron": "1.6.2", - "electron-builder": "^14.5.2", + "electron": "1.6.11", + "electron-builder": "19.13.0", "source-map-support": "^0.4.11", "substance-bundler": "^0.15.2" } diff --git a/src/dashboard.html b/src/dashboard.html index b364efa..1697c89 100644 --- a/src/dashboard.html +++ b/src/dashboard.html @@ -5,13 +5,13 @@