-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
25 lines (25 loc) · 1.1 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
{
"name": "jwt-server-to-server",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"dev-single": "nodemon index.js",
"serverA": "PORT=3000 PARTNER_SERVER_PORT=8080 SERVER_NAME=serverA PARTNER_SERVER_NAME=serverB HMAC_SECRET=myscret nodemon index.js",
"serverB": "PORT=8080 PARTNER_SERVER_PORT=3000 SERVER_NAME=serverB PARTNER_SERVER_NAME=serverA HMAC_SECRET=mysecret nodemon index.js",
"rsaServerA": "PORT=3000 JWT_RSA_PRIVATE_KEY=./serverA-private.key PARTNER_JWT_RSA_PUBLIC_KEY=./serverB-public.key PARTNER_SERVER_PORT=8080 SERVER_NAME=serverA PARTNER_SERVER_NAME=serverB nodemon index.js",
"rsaServerB": "PORT=8080 JWT_RSA_PRIVATE_KEY=./serverB-private.key PARTNER_JWT_RSA_PUBLIC_KEY=./serverA-public.key PARTNER_SERVER_PORT=3000 SERVER_NAME=serverB PARTNER_SERVER_NAME=serverA nodemon index.js",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"axios": "^0.19.2",
"express": "^4.17.1",
"jsonwebtoken": "^8.5.1"
},
"devDependencies": {
"nodemon": "^2.0.3"
}
}