-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
28 lines (28 loc) · 1.12 KB
/
package.json
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
{
"name": "expressjs-ops",
"version": "1.0.0",
"description": "A Simple ExpressJS Server (NodeJS) as a Unikernel using the Ops NanoVM framework",
"main": "index.js",
"scripts": {
"start": "node index.js",
"dev": "nodemon index.js",
"local:deploy": "npm install; ops pkg load node_v14.2.0 -p 80 -f -n -c config.json -a index.js",
"aws:upload": "npm install; ops image create -n -t aws --imagename expressjs-ops -c config.json --package node_v14.2.0 -a index.js",
"aws:deploy": "ops instance create expressjs-ops -t aws -c config.json",
"aws:list": "ops instance list -t aws -c config.json",
"vbox:upload": "npm install; ops image create -n -t vbox --imagename expressjs-ops -c config.json --package node_v14.2.0 -a index.js",
"vbox:deploy": "ops instance create expressjs-ops -t vbox -c config.json"
},
"author": "Joshua Quek",
"repository": "https://github.com/joshuaquek/expressjs-ops-unikernel",
"license": "MIT",
"dependencies": {
"body-parser": "^1.19.0",
"dotenv": "^10.0.0",
"express": "^4.17.1",
"morgan": "^1.10.0"
},
"devDependencies": {
"nodemon": "^2.0.14"
}
}