{ "name": "@openstapps/backend", "version": "0.0.1", "description": "A reference implementation for a StApps backend", "license": "AGPL-3.0-only", "author": "André Bierlein ", "contributors": [ "Anselm Stordeur ", "Benjamin Jöckel", "Jovan Krunić ", "Karl-Philipp Wulfert ", "Michel Jonathan Schmitz", "Rainer Killinger ", "Sebastian Lange", "Wieland Schöbl" ], "scripts": { "build": "npm run tslint && npm run compile", "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md && git commit -m 'docs: update changelog'", "check-configuration": "openstapps-configuration", "compile": "rimraf lib && tsc && prepend lib/cli.js '#!/usr/bin/env node\n'", "documentation": "node ./node_modules/@openstapps/core-tools/lib/cli.js routes ./node_modules/@openstapps/core/lib ./ROUTES.md && typedoc --includeDeclarations --excludeExternals --mode modules --out docs --readme README.md --listInvalidSymbolLinks src", "postversion": "npm run changelog", "prepublishOnly": "npm ci && npm run build", "preversion": "npm run prepublishOnly", "push": "git push && git push origin \"v$npm_package_version\"", "start": "NODE_CONFIG_ENV=elasticsearch ALLOW_NO_TRANSPORT=true node ./lib/cli.js", "start-debug": "STAPPS_LOG_LEVEL=31 NODE_CONFIG_ENV=elasticsearch ALLOW_NO_TRANSPORT=true ES_FORCE_MAPPING_UPDATE=true node ./lib/cli.js --require ts-node/register", "test": "npm run test-unit && npm run test-integration", "test-unit": "env NODE_CONFIG_ENV=elasticsearch ALLOW_NO_TRANSPORT=true ES_FORCE_MAPPING_UPDATE=true STAPPS_LOG_LEVEL=0 nyc mocha --require ts-node/register --exit 'test/**/*.spec.ts'", "test-integration": "sudo docker-compose -f integration-test.yml pull && sudo docker-compose -f integration-test.yml up --build --abort-on-container-exit --exit-code-from apicli", "tslint": "tslint -p tsconfig.json -c tslint.json 'src/**/*.ts'" }, "dependencies": { "@elastic/elasticsearch": "5.6.22", "@openstapps/core": "0.48.0", "@openstapps/core-tools": "0.22.0", "@openstapps/logger": "0.7.0", "@types/express-prometheus-middleware": "1.2.0", "@types/node": "14.17.4", "commander": "7.2.0", "config": "3.3.6", "cors": "2.8.5", "express": "4.17.1", "express-prometheus-middleware": "1.2.0", "express-promise-router": "4.1.0", "fs-extra": "9.1.0", "got": "11.8.2", "moment": "2.29.1", "morgan": "1.10.0", "nock": "13.1.1", "node-cache": "5.1.2", "node-cron": "3.0.0", "nodemailer": "6.6.2", "prom-client": "12.0.0", "promise-queue": "2.2.5", "sanitize-filename": "1.6.3", "ts-node": "9.1.1", "uuid": "8.3.2" }, "devDependencies": { "@openstapps/configuration": "0.27.0", "@testdeck/mocha": "0.1.2", "@types/chai": "4.2.19", "@types/chai-as-promised": "7.1.4", "@types/config": "0.0.38", "@types/cors": "2.8.10", "@types/elasticsearch": "5.0.37", "@types/express": "4.17.12", "@types/fs-extra": "9.0.11", "@types/geojson": "1.0.6", "@types/mocha": "8.2.2", "@types/morgan": "1.9.2", "@types/node-cron": "2.0.3", "@types/nodemailer": "6.4.2", "@types/promise-queue": "2.2.0", "@types/sinon-express-mock": "1.3.9", "@types/supertest": "2.0.11", "@types/uuid": "8.3.1", "chai": "4.3.4", "chai-as-promised": "7.1.1", "conventional-changelog-cli": "2.1.1", "get-port": "5.1.1", "mocha": "8.4.0", "mocked-env": "1.3.5", "nyc": "15.1.0", "prepend-file-cli": "1.0.6", "rimraf": "3.0.2", "sinon": "10.0.0", "sinon-express-mock": "2.2.1", "supertest": "6.1.3", "tslint": "6.1.3", "typedoc": "0.18.0", "typescript": "3.8.3" }, "nyc": { "all": true, "branches": 85, "check-coverage": true, "exclude": [ "src/cli.ts" ], "extension": [ ".ts" ], "functions": 85, "include": [ "src" ], "lines": 85, "reporter": [ "html", "text-summary" ], "require": [ "ts-node/register" ], "statements": 85 } }