@scrypted/server 0.0.95 → 0.0.96
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/scrypted-server +4 -2
- package/package.json +2 -2
package/bin/scrypted-server
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
const { spawn } = require('child_process')
|
|
3
|
-
|
|
2
|
+
const { spawn } = require('child_process');
|
|
3
|
+
const path = require('path');
|
|
4
|
+
const mainPath = path.join(__dirname, '../dist/scrypted-main.js');
|
|
5
|
+
spawn('node', ['--expose-gc', mainPath], { stdio: 'inherit' });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scrypted/server",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.96",
|
|
4
4
|
"description": "",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@scrypted/sdk": "^0.0.128",
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"@types/ws": "^7.4.7"
|
|
59
59
|
},
|
|
60
60
|
"bin": {
|
|
61
|
-
"scrypted-server": "
|
|
61
|
+
"scrypted-server": "bin/scrypted-server"
|
|
62
62
|
},
|
|
63
63
|
"scripts": {
|
|
64
64
|
"preserve": "npm run build",
|