-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
22 lines (22 loc) · 901 Bytes
/
package.json
File metadata and controls
22 lines (22 loc) · 901 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
"name": "spasm-landing",
"version": "1.0.0",
"license": "MIT",
"description": "Landing page for Signer and Protocol Agnostic Social Media (Spasm)",
"private": true,
"scripts": {
"start:dev": "http-server ./site/ -p 3000",
"dev": "clear && npm run start:dev",
"start:prod": "pm2 start ecosystem-prod.config.js",
"prod": "npm run start:prod",
"git-update": "git fetch && git reset --hard origin/master && git pull",
"delete-pm2-prod": "pm2 delete $(node -e 'const ecosystem = require(\"./ecosystem-prod.config.js\"); console.log(ecosystem.apps[0].name);' | tail -n 1)",
"restart-pm2-prod": "npm run delete-pm2-prod && npm run prod",
"git-update-and-restart": "npm run git-update && npm ci && npm run restart-pm2-prod",
"upgrade": "npm run git-update-and-restart",
"test": "echo 'no tests'"
},
"dependencies": {
"http-server": "14.1.1"
}
}