UNPKG

xapi-activities

Version:
99 lines 3.4 kB
{ "name": "xapi-activities", "version": "1.1.3", "description": "A server for xAPI activities", "main": "dist/index.js", "typings": "dist/index.d.ts", "license": "GPL-3.0", "repository": { "type": "git", "url": "https://github.com/LearningLocker/xapi-activities.git" }, "files": [ "dist", ".env.example", "package-lock.json" ], "scripts": { "acp": "git add -A && npm run commit && git push", "commit": "git-cz", "build": "./node_modules/typescript/bin/tsc", "start": "node dist/index.js", "test": "./node_modules/mocha/bin/mocha $(find dist -name '*.test.js') --timeout 6000", "test-s3": "AUTH_REPO=test MODELS_REPO=memory STORAGE_REPO=s3 npm run test", "test-mongo": "AUTH_REPO=test MODELS_REPO=mongo STORAGE_REPO=local npm run test", "test-memory": "AUTH_REPO=test MODELS_REPO=memory STORAGE_REPO=local npm run test", "test-ci": "npm run test-memory && npm run test-mongo", "test-all": "npm run test-ci && npm run test-s3", "migrate": "node dist/migrate.js", "rollback": "node dist/rollback.js", "cover-s3": "nyc --lines 100 --check-coverage --exclude '(dist/fetchAuthRepo|dist/mongoModelsRepo|dist/memoryStorageRepo|dist/config.js)' npm run test-s3", "cover-ci": "nyc --lines 100 --check-coverage --exclude '(dist/fetchAuthRepo|dist/s3StorageRepo|dist/config.js)' npm run test-ci", "cover-all": "nyc --lines 100 --check-coverage --exclude '(dist/fetchAuthRepo|dist/config.js)' npm run test-all", "clean": "rm -rf dist", "lint": "./node_modules/tslint/bin/tslint -p ./tsconfig.json", "duplication": "./node_modules/jscpd/bin/jscpd", "semantic-release": "semantic-release pre && npm publish && semantic-release post" }, "config": { "commitizen": { "path": "cz-conventional-changelog" } }, "engines": { "node": "^8.0.0", "npm": "^5.0.0" }, "dependencies": { "atob": "^2.0.3", "aws-sdk": "^2.74.0", "bluebird": "^3.5.0", "boolean": "^0.1.2", "btoa": "^1.1.2", "dotenv": "^4.0.0", "express": "^4.14.1", "fs-extra": "^4.0.2", "jscommons": "^1.0.1", "lodash": "^4.17.4", "mime-types": "^2.1.17", "mongodb": "^2.2.26", "node-fetch": "^1.6.3", "rulr": "^3.0.0", "sha1": "^1.1.1", "source-map-support": "^0.4.11", "stream-to-string": "^1.1.0", "string-to-stream": "^1.1.0", "uuid": "^3.0.1", "xapi-validation": "^2.1.0" }, "devDependencies": { "@types/bluebird": "^3.5.8", "@types/dotenv": "^4.0.0", "@types/express": "^4.0.35", "@types/fs-extra": "^4.0.2", "@types/lodash": "^4.14.52", "@types/mime-types": "^2.1.0", "@types/mocha": "^2.2.39", "@types/mongodb": "^2.2.2", "@types/node": "^8.0.6", "@types/node-fetch": "^1.6.7", "@types/source-map-support": "^0.4.0", "@types/supertest": "^2.0.2", "@types/uuid": "^3.0.0", "@types/winston": "^2.3.3", "assert": "^1.4.1", "commitizen": "^2.9.6", "cz-conventional-changelog": "^2.0.0", "jscpd": "git://github.com/ryansmith94/jscpd.git#prepublish", "mocha": "^3.4.2", "mocha-lcov-reporter": "^1.3.0", "nyc": "^11.0.0", "semantic-release": "^8.0.3", "supertest": "^3.0.0", "travis-cov": "^0.2.5", "tslint": "^5.5.0", "tslint-consistent-codestyle": "^1.6.0", "tslint-immutable": "^4.0.2", "typescript": "^2.0.0" } }