{ "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": "typedoc --includeVersion --out docs --readme README.md --listInvalidSymbolLinks --entryPointStrategy expand src && openstapps-core-tools openapi ./node_modules/@openstapps/core/lib ./docs/openapi && redoc-cli bundle docs/openapi/openapi.json -o docs/openapi/index.html", "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 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 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.63.0", "@openstapps/core-tools": "0.29.0", "@openstapps/logger": "0.8.0", "@types/express-prometheus-middleware": "1.2.1", "@types/node": "14.18.5", "config": "3.3.7", "cors": "2.8.5", "express": "4.17.2", "express-prometheus-middleware": "1.2.0", "express-promise-router": "4.1.1", "got": "11.8.3", "moment": "2.29.1", "morgan": "1.10.0", "nock": "13.2.2", "node-cache": "5.1.2", "node-cron": "3.0.0", "nodemailer": "6.7.2", "prom-client": "14.0.1", "promise-queue": "2.2.5", "ts-node": "10.4.0", "uuid": "8.3.2" }, "devDependencies": { "@openstapps/configuration": "0.29.0", "@openstapps/es-mapping-generator": "0.0.4", "@testdeck/mocha": "0.2.0", "@types/chai": "4.3.0", "@types/chai-as-promised": "7.1.4", "@types/config": "0.0.41", "@types/cors": "2.8.12", "@types/elasticsearch": "5.0.40", "@types/express": "4.17.13", "@types/geojson": "1.0.6", "@types/mocha": "9.1.0", "@types/morgan": "1.9.3", "@types/node-cron": "3.0.1", "@types/nodemailer": "6.4.4", "@types/promise-queue": "2.2.0", "@types/sinon-express-mock": "1.3.9", "@types/supertest": "2.0.11", "@types/uuid": "8.3.4", "chai": "4.3.4", "chai-as-promised": "7.1.1", "conventional-changelog-cli": "2.2.2", "get-port": "5.1.1", "mocha": "9.1.4", "mocked-env": "1.3.5", "nyc": "15.1.0", "prepend-file-cli": "1.0.6", "redoc-cli": "0.13.2", "rimraf": "3.0.2", "sinon": "11.1.2", "sinon-express-mock": "2.2.1", "supertest": "6.2.2", "tslint": "6.1.3", "typedoc": "0.22.10", "typescript": "3.9.10" }, "nyc": { "all": true, "branches": 85, "check-coverage": true, "exclude": [ "src/cli.ts" ], "extension": [ ".ts" ], "functions": 95, "include": [ "src" ], "lines": 95, "reporter": [ "html", "text-summary" ], "require": [ "ts-node/register" ], "statements": 95 } }