Skip to content

Instantly share code, notes, and snippets.

@worldsibu-bot
Last active April 3, 2019 22:37
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save worldsibu-bot/92569f0a577b205fc65d9c7ba90dae37 to your computer and use it in GitHub Desktop.
{
"name": "server",
"version": "1.0.0",
"description": "",
"author": "WorldSibu",
"license": "Apache-2.0",
"main": "./dist/src/app.js",
"private": true,
"scripts": {
"start": "npm run build && pm2-runtime pm2.config.json",
"start:daemon": "pm2 startOrRestart pm2.config.json --no-daemon",
"stop": "pm2 stop pm2.config.json",
"tsc": "tsc",
"clean": "rimraf dist client",
"refresh": "./node_modules/pm2/bin/pm2 stop 0 && ./node_modules/pm2/bin/pm2 start 0",
"build": "npm run clean && tsc",
"prepare": "npm run build",
"test": "mocha -r ts-node/register test/*.spec.ts --reporter spec"
},
"dependencies": {
"@worldsibu/convector-adapter-fabric": "~1.3.3",
"@worldsibu/convector-storage-couchdb": "~1.3.3",
"person-cc": "^0.1.0",
"participant-cc": "^0.1.0",
"body-parser": "^1.18.3",
"config": "^1.30.0",
"dotenv": "^6.0.0",
"express": "^4.16.3",
"node-couchdb": "^1.3.0",
"x509": "^0.3.3"
},
"devDependencies": {
"mocha": "^5.2.0",
"pm2": "^3.4.1",
"rimraf": "^2.6.2",
"ts-node": "^7.0.0",
"typescript": "2.9.2"
}
}
{
"apps": [
{
"name": "Convector People Attributes Network",
"script": "./dist/app.js",
"node_args": "--inspect=0.0.0.0:8888",
"error_file": "../log/error.log",
"out_file": "../log/access.log",
"env": {},
"watch": [
"src",
"dist",
"node_modules",
".env"
]
}
]
}
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"outDir": "./dist",
"rootDir": "./src",
"experimentalDecorators": true
},
"include": [
"./src"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment