UNPKG

3.19 kBJSONView Raw
1{"name":"xapi-statements","version":"5.0.2","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-mongo":"MODELS_REPO=mongo STORAGE_REPO=local npm run test","test-memory":"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","cover-ci":"nyc --lines 100 --check-coverage --exclude '(dist/**/*s3*|dist/**/*fetch*|dist/**/*fake*|dist/config.js|dist/**/factory.js|dist/**/facade.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":"semantic-release"},"release":{"verifyConditions":"condition-circle"},"config":{"commitizen":{"path":"cz-conventional-changelog"}},"engines":{"node":"6 - 8","npm":"3 - 5"},"dependencies":{"accept-language-parser":"^1.4.1","atob":"^2.0.3","aws-sdk":"^2.97.0","bluebird":"^3.5.0","body-parser":"^1.17.1","boolean":"^0.1.2","btoa":"^1.1.2","cors":"^2.8.1","dotenv":"^4.0.0","express":"^4.14.1","file-stream-rotator":"^0.2.0","fs-extra":"^4.0.2","helmet":"^3.5.0","jscommons":"^2.1.0","jsonwebtoken":"^8.0.1","lodash":"^4.17.4","mime-types":"^2.1.17","moment":"^2.18.0","mongodb":"^2.2.26","morgan":"^1.8.1","node-fetch":"^1.6.3","object-hash":"1.2.0","promise-retry":"^1.1.1","query-string":"^5.0.1","redis":"^2.8.0","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":"^1.5.0","xapi-validation":"^2.1.0"},"devDependencies":{"@types/bluebird":"3.5.18","@types/body-parser":"1.16.8","@types/cors":"2.8.3","@types/dotenv":"4.0.2","@types/express":"4.0.39","@types/fs-extra":"4.0.5","@types/helmet":"0.0.37","@types/jsonwebtoken":"7.2.3","@types/lodash":"4.14.85","@types/mime-types":"2.1.0","@types/mocha":"2.2.44","@types/mongodb":"2.2.16","@types/morgan":"1.7.35","@types/node":"8.0.53","@types/node-fetch":"1.6.7","@types/object-hash":"1.1.0","@types/query-string":"5.0.1","@types/redis":"2.8.1","@types/source-map-support":"0.4.0","@types/uuid":"3.4.3","@types/winston":"2.3.7","assert":"1.4.1","commitizen":"2.9.6","condition-circle":"1.5.0","cz-conventional-changelog":"2.1.0","jscpd":"0.6.17","mocha":"4.0.1","mocha-lcov-reporter":"1.3.0","nyc":"11.3.0","semantic-release":"9.1.1","travis-cov":"0.2.5","tslint":"5.8.0","tslint-consistent-codestyle":"1.10.1","tslint-immutable":"4.4.0","typescript":"2.6.1"}}