{
  "name": "@learninglocker/xapi-statements",
  "version": "7.8.0",
  "description": "A service for xAPI statements",
  "main": "dist/index.js",
  "typings": "dist/index.d.ts",
  "license": "GPL-3.0",
  "repository": {
    "type": "git",
    "url": "https://github.com/LearningLocker/xapi-statements.git"
  },
  "files": [
    "dist",
    ".env.example",
    "package-lock.json"
  ],
  "scripts": {
    "acp": "git add -A && npm run commit && git push",
    "commit": "git-cz",
    "build": "tsc",
    "start": "node dist/index.js",
    "migrate": "node dist/migrate.js",
    "rollback": "node dist/rollback.js",
    "test": "SERVICE_AWAIT_UPDATES=true mocha $(find dist -name '*.test.js') --timeout 6000 --exit",
    "test-s3": "MODELS_REPO=memory STORAGE_REPO=s3 npm run test",
    "test-google": "MODELS_REPO=memory STORAGE_REPO=google npm run test",
    "test-azure": "MODELS_REPO=memory STORAGE_REPO=azure npm run test",
    "test-mongo": "MODELS_REPO=mongo STORAGE_REPO=local npm run test",
    "test-memory": "MODELS_REPO=memory STORAGE_REPO=local npm run test",
    "test-sentinel": "MODELS_REPO=memory STORAGE_REPO=local EVENTS_REPO=sentinel npm run test",
    "test-ci": "npm run test-memory && npm run test-mongo",
    "test-all": "npm run test-ci && npm run test-s3 && npm run test-google && npm run test-sentinel && npm run test-azure",
    "cover-ci": "nyc --lines 100 --check-coverage --exclude '(dist/**/*google*|dist/**/*azure*|dist/**/*s3*|dist/**/*fetch*|dist/**/*fake*|dist/config.js|dist/**/factory.js|dist/**/facade.js|dist/repo/utils/connectToSentinel.js)' npm run test-ci",
    "cover-all": "nyc --lines 100 --check-coverage --exclude '(dist/**/*fetch*|dist/**/*fake*|dist/config.js|dist/**/factory.js|dist/**/facade.js)' npm run test-all",
    "clean": "rm -rf dist",
    "lint": "./node_modules/tslint/bin/tslint --project ./tsconfig.json",
    "duplication": "./node_modules/jscpd/bin/jscpd",
    "semantic-release": "ht2-release-public-circleci-app"
  },
  "config": {
    "commitizen": {
      "path": "cz-conventional-changelog"
    }
  },
  "engines": {
    "node": "6 - 8",
    "npm": "3 - 5"
  },
  "dependencies": {
    "@azure/storage-blob": "^10.3.0",
    "@google-cloud/storage": "^1.5.2",
    "@learninglocker/xapi-validation": "^2.1.10",
    "accept-language-parser": "^1.4.1",
    "atob": "^2.0.3",
    "aws-sdk": "^2.0.1",
    "bluebird": "^3.5.0",
    "body-parser": "^1.17.1",
    "boolean": "^0.1.2",
    "btoa": "^1.1.2",
    "cors": "^2.8.1",
    "dotenv": "^5.0.0",
    "express": "^4.14.1",
    "file-stream-rotator": "^0.4.0",
    "fs-extra": "^5.0.0",
    "helmet": "^3.5.0",
    "http-status-codes": "^1.3.0",
    "ioredis": "^3.2.2",
    "jscommons": "^2.3.0",
    "jsonwebtoken": "^8.0.1",
    "lodash": "^4.17.4",
    "mime-types": "^2.1.17",
    "moment": "^2.18.0",
    "mongodb": "^3.0.1",
    "morgan": "^1.8.1",
    "node-fetch": "^2.0.0",
    "object-hash": "1.3.1",
    "promise-retry": "^1.1.1",
    "query-string": "^5.0.1",
    "rulr": "^4.0.0",
    "source-map-support": "^0.5.0",
    "stream-to-string": "^1.1.0",
    "string-to-stream": "^1.1.0",
    "uuid": "^3.0.1",
    "winston": "^2.3.1",
    "winston-aws-cloudwatch": "^2.0.0"
  },
  "devDependencies": {
    "@ht2-labs/semantic-release": "1.1.82",
    "@ht2-labs/typescript-project": "1.1.0",
    "@types/bluebird": "3.5.27",
    "@types/body-parser": "1.17.0",
    "@types/cors": "2.8.5",
    "@types/dotenv": "4.0.3",
    "@types/express": "4.17.0",
    "@types/fs-extra": "5.1.0",
    "@types/google-cloud__storage": "1.7.0",
    "@types/helmet": "0.0.43",
    "@types/ioredis": "3.2.21",
    "@types/jsonwebtoken": "7.2.8",
    "@types/lodash": "4.14.104",
    "@types/mime-types": "2.1.0",
    "@types/mocha": "5.2.7",
    "@types/mongodb": "3.1.28",
    "@types/morgan": "1.7.36",
    "@types/node": "9.6.50",
    "@types/node-fetch": "1.6.9",
    "@types/object-hash": "1.3.0",
    "@types/query-string": "5.1.0",
    "@types/source-map-support": "0.5.0",
    "@types/uuid": "3.4.5",
    "@types/winston": "2.4.4",
    "assert": "1.5.0",
    "commitizen": "2.10.1",
    "cz-conventional-changelog": "2.1.0",
    "jscpd": "0.6.25",
    "mocha": "5.2.0",
    "mocha-lcov-reporter": "1.3.0",
    "nyc": "11.9.0",
    "travis-cov": "0.2.5",
    "tslint": "5.18.0",
    "tslint-consistent-codestyle": "1.15.1",
    "tslint-immutable": "4.9.1",
    "typescript": "3.5.3"
  },
  "publishConfig": {
    "access": "public"
  }
}
