forked from mirrors/Scribe.js
Updating file locations
This commit is contained in:
parent
22e1c83dd4
commit
3123c5e394
4 changed files with 6 additions and 55 deletions
|
@ -1,4 +1,5 @@
|
||||||
# Scribe 3.0
|
# Scribe 3.0
|
||||||
|
[](https://travis-ci.org/bluejamesbond/Scribe.js)
|
||||||
Node.js logging made simple! Online access to logs and more...
|
Node.js logging made simple! Online access to logs and more...
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|
50
deps.json
50
deps.json
|
@ -9,56 +9,6 @@
|
||||||
"link": "git+https://github.com/caolan/async.git",
|
"link": "git+https://github.com/caolan/async.git",
|
||||||
"comment": "1.5.2"
|
"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",
|
"department": "kessler",
|
||||||
"relatedTo": "stuff",
|
"relatedTo": "stuff",
|
||||||
|
|
4
dist/scribe.js
vendored
4
dist/scribe.js
vendored
|
@ -47,11 +47,11 @@ exports.default = function () {
|
||||||
_package2.default.main = opts.publicUri + ':' + _path2.default.join(String(opts.web.client.port), opts.basePath);
|
_package2.default.main = opts.publicUri + ':' + _path2.default.join(String(opts.web.client.port), opts.basePath);
|
||||||
|
|
||||||
// save
|
// 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)({
|
var nw = new _nwBuilder2.default((0, _assign2.default)({
|
||||||
platforms: ['win', 'osx', 'linux'],
|
platforms: ['win', 'osx', 'linux'],
|
||||||
buildDir: './public/native',
|
buildDir: __dirname + '/public/native',
|
||||||
version: '0.12.3',
|
version: '0.12.3',
|
||||||
zip: true
|
zip: true
|
||||||
}, opts.nwjs, { files: './native/**/**' }));
|
}, opts.nwjs, { files: './native/**/**' }));
|
||||||
|
|
|
@ -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)}`;
|
nativePackage.main = `${opts.publicUri}:${path.join(String(opts.web.client.port), opts.basePath)}`;
|
||||||
|
|
||||||
// save
|
// 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({
|
const nw = new NwBuilder(Object.assign({
|
||||||
platforms: ['win', 'osx', 'linux'],
|
platforms: ['win', 'osx', 'linux'],
|
||||||
buildDir: './public/native',
|
buildDir: `${__dirname}/public/native`,
|
||||||
version: '0.12.3',
|
version: '0.12.3',
|
||||||
zip: true
|
zip: true
|
||||||
}, opts.nwjs, {files: './native/**/**'}));
|
}, opts.nwjs, {files: './native/**/**'}));
|
||||||
|
|
Loading…
Add table
Reference in a new issue