UNPKG

openhim-core

Version:

The OpenHIM core application that provides logging and routing of http requests

129 lines (128 loc) 3.98 kB
{ "name": "openhim-core", "description": "The OpenHIM core application that provides logging and routing of http requests", "version": "4.0.3-beta3", "main": "./lib/server.js", "bin": { "openhim-core": "./bin/openhim-core.js" }, "license": "MPL-2.0", "engines": { "node": ">= 8.0.0" }, "spec": { "requires": [ "nodejs" ], "environment": { "NODE_ENV": "production" } }, "scripts": { "build": "npm run clean; babel src --out-dir lib -s", "build:watch": "npm run build -- -w", "clean": "rimraf lib/", "coverage": "nyc report --reporter=text-lcov > coverage.lcov && codecov", "prepare": "npm run build", "migrate:metrics": "node lib/migrateMetrics.js", "lint": "standard src/ test/ bin/", "lint:fix": "standard --fix src/ test/ bin/", "test": "cross-env NODE_ENV=test NODE_TLS_REJECT_UNAUTHORIZED=0 nyc mocha --exit --require babel-register test/setupTest.js test/**/*.js", "test:watch": "cross-env NODE_ENV=test NODE_TLS_REJECT_UNAUTHORIZED=0 mocha --watch --require babel-register test/setupTest.js test/unit/routerTest.js", "test:unit": "cross-env NODE_ENV=test mocha --require babel-register test/setupTest.js test/unit/**/*.js --watch", "test:int": "cross-env NODE_TLS_REJECT_UNAUTHORIZED=0 mocha -t 4000 --compilers js:babel-register test/integration/**/*.js", "test:load:client": "./test/load-tests/env/clients.sh", "test:load:api": "./test/load-tests/env/api.sh", "test:replica:set": "./test/resources/replica-set-test/setup.sh", "test:replica:set:cleanup": "./test/resources/replica-set-test/tear-down.sh", "test:seed": "node performance/seed.js", "test:seed:ci": "npm run test:seed -- --quiet", "start": "node --harmony lib/server.js", "stop": "pkill -SIGINT Core", "spec": "speculate" }, "dependencies": { "@types/kcors": "^2.2.1", "@types/koa-bodyparser": "^3.0.25", "agenda": "^1.0.0", "atna-audit": "^1.0.1", "babel-polyfill": "^6.23.0", "basic-auth": "^2.0.0", "bcryptjs": "^2.0.0", "chokidar": "^1.6.0", "co": "^4.1.0", "cookie": "^0.3.1", "email-templates": "^3.0.6", "forever-monitor": "^1.5.2", "form-data": "^2.3.1", "glossy": "^0.1.7", "handlebars": "^4.0.5", "http-status": "^1.0.1", "juice": "^4.1.2", "kcors": "^2.2.1", "koa": "^2.3.0", "koa-bodyparser": "^4.2.0", "koa-compress": "^2.0.0", "koa-route": "^3.2.0", "lodash": "^4.14.0", "moment": "^2.12.0", "moment-timezone": "^0.5.5", "mongodb": "^2.2.11", "mongoose": "^4.12.0", "mongoose-patch-history": "^1.1.7", "nconf": "^0.8.5", "node-uuid": "^1.4.1", "nodemailer": "^4.1.2", "pem": "^1.12.0", "raw-body": "^2.1.2", "request": "^2.83.0", "semver": "^5.1.0", "ssl-root-cas": "^1.1.10", "statsd-client": "^0.4.0", "winston": "^2.4.0", "winston-mongodb": "^1.6.6", "xml2js": "^0.4.5", "xmldom": "^0.1.19", "xpath": "0.0.24" }, "devDependencies": { "@types/faker": "^4.1.2", "@types/progress": "^2.0.0", "artillery": "^1.6.0-9", "babel-cli": "^6.24.1", "babel-preset-env": "^1.5.1", "babel-register": "^6.26.0", "codecov": "^2.3.0", "cross-env": "^5.0.1", "faker": "^4.1.0", "finalhandler": "^1.1.0", "mocha": "^4.0.0", "nyc": "^11.2.1", "progress": "^2.0.0", "rewire": "^2.5.1", "rimraf": "^2.6.1", "serve-static": "^1.13.1", "should": "^13.1.0", "sinon": "^4.1.2", "speculate": "^1.7.4", "standard": "^10.0.3", "supertest": "^3.0.0" }, "repository": { "type": "git", "url": "https://github.com/jembi/openhim-core-js.git" }, "keywords": [ "openhim", "hie", "interoperability", "tls", "atna", "openhie" ], "author": "Jembi Health Systems NPC", "bugs": { "url": "https://github.com/jembi/openhim-core-js/issues" }, "homepage": "http://openhim.org" }