Updating file locations

This commit is contained in:
Mathew Kurian 2016-01-22 19:23:32 -06:00
parent 22e1c83dd4
commit 3123c5e394
4 changed files with 6 additions and 55 deletions

View file

@ -1,4 +1,5 @@
# Scribe 3.0
# Scribe 3.0
[![Build Status](https://travis-ci.org/bluejamesbond/Scribe.js.svg?branch=dev)](https://travis-ci.org/bluejamesbond/Scribe.js)
Node.js logging made simple! Online access to logs and more...
```bash

View file

@ -9,56 +9,6 @@
"link": "git+https://github.com/caolan/async.git",
"comment": "1.5.2"
},
{
"department": "kessler",
"relatedTo": "stuff",
"name": "babel-plugin-transform-object-rest-spread",
"licensePeriod": "perpetual",
"material": "material",
"licenseType": "MIT",
"link": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-object-rest-spread",
"comment": "6.3.13"
},
{
"department": "kessler",
"relatedTo": "stuff",
"name": "babel-plugin-transform-runtime",
"licensePeriod": "perpetual",
"material": "material",
"licenseType": "MIT",
"link": "https://github.com/babel/babel/tree/master/packages/babel-plugin-transform-runtime",
"comment": "6.4.3"
},
{
"department": "kessler",
"relatedTo": "stuff",
"name": "babel-preset-es2015",
"licensePeriod": "perpetual",
"material": "material",
"licenseType": "MIT",
"link": "https://github.com/babel/babel/tree/master/packages/babel-preset-es2015",
"comment": "6.3.13"
},
{
"department": "kessler",
"relatedTo": "stuff",
"name": "babel-register",
"licensePeriod": "perpetual",
"material": "material",
"licenseType": "MIT",
"link": "https://github.com/babel/babel/tree/master/packages/babel-register",
"comment": "6.4.3"
},
{
"department": "kessler",
"relatedTo": "stuff",
"name": "babel-runtime",
"licensePeriod": "perpetual",
"material": "material",
"licenseType": "MIT",
"link": "https://github.com/babel/babel/tree/master/packages/babel-runtime",
"comment": "6.3.19"
},
{
"department": "kessler",
"relatedTo": "stuff",

4
dist/scribe.js vendored
View file

@ -47,11 +47,11 @@ exports.default = function () {
_package2.default.main = opts.publicUri + ':' + _path2.default.join(String(opts.web.client.port), opts.basePath);
// save
_fs2.default.writeFileSync('./native/package.json', (0, _stringify2.default)(_package2.default, null, 4), { encoding: 'utf8' });
_fs2.default.writeFileSync(__dirname + '/native/package.json', (0, _stringify2.default)(_package2.default, null, 4), { encoding: 'utf8' });
var nw = new _nwBuilder2.default((0, _assign2.default)({
platforms: ['win', 'osx', 'linux'],
buildDir: './public/native',
buildDir: __dirname + '/public/native',
version: '0.12.3',
zip: true
}, opts.nwjs, { files: './native/**/**' }));

View file

@ -93,11 +93,11 @@ export default function (id = process.pid, opts = rc('scribe', defaultOpts)) {
nativePackage.main = `${opts.publicUri}:${path.join(String(opts.web.client.port), opts.basePath)}`;
// save
fs.writeFileSync('./native/package.json', JSON.stringify(nativePackage, null, 4), {encoding: 'utf8'});
fs.writeFileSync(`${__dirname}/native/package.json`, JSON.stringify(nativePackage, null, 4), {encoding: 'utf8'});
const nw = new NwBuilder(Object.assign({
platforms: ['win', 'osx', 'linux'],
buildDir: './public/native',
buildDir: `${__dirname}/public/native`,
version: '0.12.3',
zip: true
}, opts.nwjs, {files: './native/**/**'}));