server: move postinstall into non-ignored path

This commit is contained in:
Koushik Dutta
2024-03-08 17:16:04 -08:00
parent 2143b4e2c2
commit af5d83ecc0
3 changed files with 5 additions and 3 deletions

View File

@@ -1,3 +1,5 @@
#!/usr/bin/env node
const child_process = require('child_process');
const python = require('@bjia56/portable-python-3.9');
const { once } = require('events');

View File

@@ -1,12 +1,12 @@
{
"name": "@scrypted/server",
"version": "0.94.10",
"version": "0.94.11",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@scrypted/server",
"version": "0.94.10",
"version": "0.94.11",
"hasInstallScript": true,
"license": "ISC",
"dependencies": {

View File

@@ -56,7 +56,7 @@
"main": "dist/scrypted-main-exports.js",
"types": "dist/scrypted-main-exports.d.ts",
"scripts": {
"postinstall": "node scripts/postinstall.js",
"postinstall": "node bin/postinstall",
"preserve": "npm run build",
"serve": "node --expose-gc dist/scrypted-main.js",
"serve-no-build": "node --expose-gc dist/scrypted-main.js",