-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpackage.json
More file actions
36 lines (36 loc) · 2.26 KB
/
package.json
File metadata and controls
36 lines (36 loc) · 2.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{
"name": "portos",
"version": "1.43.0",
"private": true,
"description": "Local dev machine App OS portal",
"author": "Adam Eivy (@antic|@atomantic)",
"license": "MIT",
"type": "module",
"scripts": {
"dev": "node scripts/dev-start.js",
"dev:stop": "node ./node_modules/pm2/bin/pm2 stop ecosystem.config.cjs",
"build": "npm run build --prefix client",
"start": "node scripts/ensure-deps.js && npm run build && node scripts/setup-db.js && node scripts/setup-cert.js && (node ./node_modules/pm2/bin/pm2 delete ecosystem.config.cjs --silent || echo pm2 delete skipped) && node ./node_modules/pm2/bin/pm2 start ecosystem.config.cjs && node ./node_modules/pm2/bin/pm2 save",
"pm2:start": "node ./node_modules/pm2/bin/pm2 start ecosystem.config.cjs",
"pm2:stop": "node ./node_modules/pm2/bin/pm2 stop ecosystem.config.cjs",
"pm2:restart": "node ./node_modules/pm2/bin/pm2 restart ecosystem.config.cjs",
"pm2:logs": "node ./node_modules/pm2/bin/pm2 logs",
"pm2:status": "node ./node_modules/pm2/bin/pm2 status",
"pm2:save": "node ./node_modules/pm2/bin/pm2 save",
"pm2:startup": "node ./node_modules/pm2/bin/pm2 startup",
"install:all": "git submodule update --init --recursive && npm install && npm install --prefix client && npm install --prefix server && npm install --prefix autofixer && node client/node_modules/esbuild/install.js && node server/node_modules/esbuild/install.js && npm rebuild node-pty --prefix server && npm run setup",
"migrations": "node scripts/run-migrations.js",
"setup": "node scripts/setup-data.js && node scripts/setup-db.js && node scripts/setup-browser.js",
"setup:data": "node scripts/setup-data.js",
"setup:db": "node scripts/setup-db.js",
"setup:browser": "node scripts/setup-browser.js",
"setup:cert": "node scripts/setup-cert.js",
"setup:ghostty": "node scripts/setup-ghostty.js",
"setup:hooks": "bash scripts/setup-git-hooks.sh",
"update": "node -e \"const{spawnSync:s}=require('child_process');const w=process.platform==='win32';const r=s(w?'powershell':'bash',w?['-NoProfile','-ExecutionPolicy','Bypass','-File','update.ps1']:['update.sh'],{stdio:'inherit'});process.exit(r.status??1)\"",
"test": "npm test --prefix server"
},
"devDependencies": {
"pm2": "6.0.14"
}
}