Built motion from commit 10af8726.|2.6.34
[motion2.git] / package.json
index 96272c9..d3f1a90 100644 (file)
@@ -1,10 +1,10 @@
 {
   "name": "motion",
-  "version": "2.4.18",
+  "version": "2.6.34",
   "description": "xCALLY Motion is the new Realtime asynchronous solution for your multichannel contact center over Asterisk.",
   "main": "server/app.js",
   "engines": {
-    "node": "6.10.3"
+    "node": "6.17.1"
   },
   "repository": {
     "type": "git",
   },
   "author": "xCALLY Team",
   "contributors": [
-    "Giuseppe Careri <giuseppe.careri@xcally.com>",
+    "Giuseppe Careri <giuseppe.careri@xenialab.it>",
     "Daniele Cinti <daniele.cinti@xcally.com>",
     "Innocenzo Biondo <innocenzo.biondo@xcally.com>",
-    "Massimiliano Bungaro <massimiliano.bungaro@xcally.com>",
-    "Andrea Bianco <andrea.bianco@xcally.com>",
-    "Fabio Lodato <fabio.lodato@xcally.com>",
-    "Andrea Cuccaro <andrea.cuccaro@xcally.com>",
+    "Massimiliano Bungaro <massimiliano.bungaro@xenialab.it>",
+    "Andrea Bianco <andrea.bianco@xenialab.it>",
+    "Fabio Lodato <fabio.lodato@xenialab.it>",
+    "Andrea Cuccaro <andrea.cuccaro@xenialab.it>",
     "Donatella Soldi <donatella.soldi@xcally.com>",
     "Afnan Imtiaz <afnan.imtiaz@xcally.com>",
     "Cristian Di Sclafani <cristian.disclafani@xcally.com>",
-    "Marco Giraldi <marco.giraldi@xenialab.it>"
+    "Marco Giraldi <marco.giraldi@xenialab.it>",
+    "Giulia Trombin <giulia.trombin@xenialab.it>",
+    "Cristopher Fasolin <cristopher.fasolin@xenialab.it>",
+    "Marco Messina <marco.messina@xenialab.it>",
+    "Vito Macchia <vito.macchia@xenialab.it>",
+    "Marco Lecce <marco.lecce@xenialab.it>",
+    "Rodolfo Bevione <rodolfo.bevione@xenialab.it>",
+    "Andrea Amorese <andrea.amorese@xenialab.it>",
+    "Valerio Cietto <valerio.cietto@xenialab.it>",
+    "Francesco Battaglia <francesco.battaglia@xenialab.it>"
   ],
   "private": true,
   "license": "EULA",
   "scripts": {
-    "start": "nodemon server/app.js",
-    "test": "mocha server/test --timeout 5000"
+    "start": "NODE_PATH=./legacy-libs grunt serve",
+    "start:docker": "mkdir -p ./logs && BUILD_ID='dev' XC_LOG_PATH=`pwd`/logs GRUNT_COMMAND='serve' docker-compose -f docker-compose.yml -f docker-compose.full.yml up -d",
+    "stop:docker": "BUILD_ID='dev' docker-compose -f docker-compose.yml -f docker-compose.full.yml stop",
+    "clear:docker": "BUILD_ID='dev' docker-compose -f docker-compose.yml -f docker-compose.full.yml down -v",
+    "js-beautify": "js-beautify `node -p \"require('glob').sync('./**/*.{js,html}', { nodir: true, ignore: ['./node_modules/**', './client/bower_components/**', './bower_components/**', './client/assets/**', './snippet/**', './dist/**', './.tmp/**', './legacy-libs/**'] }).join('\\n')\"`",
+    "eslint:check": "eslint .",
+    "eslint:fix": "eslint --fix .",
+    "prettier:check": "prettier --check './**/*'",
+    "prettier:write": "prettier --write './**/*'",
+    "format-all": "npm run js-beautify && npm run prettier:write",
+    "test": "mocha server/test --timeout 5000",
+    "aux-containers": "docker-compose up -d database cache",
+    "dc-asterisk:up": "docker-compose -f docker-compose.asterisk.yml up -d",
+    "dc-asterisk:down": "docker-compose -f docker-compose.asterisk.yml down",
+    "db-dump": "docker-compose exec -u root database /xmotion_mysql_bk.sh dump",
+    "db-restore": "docker-compose exec -u root database /xmotion_mysql_bk.sh restore"
   },
   "dependencies": {
-    "apiai-promise": "github:gcareri/apiai-promise",
-    "archiver": "^2.1.1",
-    "asterisk-manager": "^0.1.15",
-    "aws-sdk": "^2.133.0",
-    "bimedia-machine-uuid": "^1.0.0",
-    "bluebird": "^3.4.6",
-    "body-parser": "^1.15.2",
-    "compare-versions": "^3.5.1",
-    "composable-middleware": "^0.3.0",
-    "connect-timeout": "^1.9.0",
-    "cookie-parser": "^1.4.3",
-    "cors": "^2.8.4",
+    "@types/express-serve-static-core": "4.17.28",
+    "@types/node": "6.14.13",
+    "acorn": "5.7.1",
+    "activedirectory2": "2.1.0",
+    "apiai-promise": "git+https://github.com/gcareri/apiai-promise.git",
+    "archiver": "2.1.1",
+    "asterisk-manager": "0.1.16",
+    "aws-sdk": "2.610.0",
+    "beaver-logger": "3.0.19",
+    "bimedia-machine-uuid": "1.0.1",
+    "bluebird": "3.7.2",
+    "body-parser": "1.19.0",
+    "compare-versions": "3.6.0",
+    "composable-middleware": "0.3.0",
+    "connect-timeout": "1.9.0",
+    "cookie-parser": "1.4.5",
+    "cors": "2.8.5",
+    "cron-job-manager": "1.0.7",
     "crypto-js": "3.1.9-1",
-    "cron-job-manager": "^1.0.7",
-    "desk.js": "^0.1.3",
-    "ejs": "^2.5.2",
-    "eml-format": "^0.5.0",
-    "entities": "^1.1.1",
-    "errorhandler": "^1.4.3",
-    "express": "^4.14.0",
-    "express-jwt": "^5.1.0",
-    "express-winston": "^2.5.1",
-    "extract-zip": "^1.6.7",
-    "fast-json-patch": "^1.1.0",
-    "google-tts-api": "github:xmdevelop/google-tts",
-    "html-pdf": "^2.2.0",
-    "html-to-text": "^4.0.0",
+    "desk.js": "0.1.4",
+    "duplexify": "^3.6.0",
+    "ejs": "2.7.4",
+    "eml-format": "0.5.0",
+    "entities": "1.1.2",
+    "errorhandler": "1.5.1",
+    "express": "4.17.1",
+    "express-jwt": "5.3.3",
+    "express-winston": "2.6.0",
+    "extract-zip": "1.7.0",
+    "fast-json-patch": "1.2.2",
+    "fast-text-encoding": "^1.0.0",
+    "fs-extra": "8.1.0",
+    "google-tts-api": "git+https://github.com/xmdevelop/google-tts.git",
+    "gtoken": "^2.3.2",
+    "html-entities": "2.3.2",
+    "html-to-pdfmake": "2.1.7",
+    "html-to-text": "4.0.0",
+    "https-proxy-agent": "^2.2.1",
     "iconv": "2.3.5",
     "imap": "0.8.19",
-    "ioredis": "^4.10.0",
-    "ipaddr.js": "^1.5.4",
-    "jayson": "^2.0.2",
-    "jsforce": "^1.7.1",
-    "json2xls": "github:xmdevelop/json2xls",
-    "jsonwebtoken": "^7.1.9",
-    "jstz": "^1.0.9",
-    "kue": "^0.11.5",
-    "lodash": "^4.15.0",
-    "lusca": "^1.4.1",
+    "ioredis": "4.17.3",
+    "ipaddr.js": "1.9.1",
+    "is-stream-ended": "^0.1.4",
+    "jayson": "2.1.2",
+    "jsdom": "12.0.0",
+    "jsforce": "1.9.3",
+    "json2xls": "git+https://github.com/xmdevelop/json2xls.git",
+    "jsonwebtoken": "7.4.3",
+    "jstz": "1.0.11",
+    "juice": "6.0.0",
+    "kue": "0.11.6",
+    "lodash": "4.17.20",
+    "lodash.at": "^4.6.0",
+    "lodash.camelcase": "^4.3.0",
+    "lodash.clone": "^4.5.0",
+    "lodash.has": "^4.5.2",
+    "lusca": "1.6.1",
     "mailparser": "2.7.5",
-    "md5": "^2.2.1",
-    "method-override": "^2.3.6",
-    "moment": "^2.15.1",
-    "morgan": "^1.7.0",
-    "multer": "^1.2.0",
+    "md5": "2.3.0",
+    "method-override": "2.3.10",
+    "moment": "2.27.0",
+    "moment-timezone": "0.5.34",
+    "morgan": "1.10.0",
+    "multer": "1.4.2",
     "mustache": "4.0.1",
-    "mysql": "^2.11.1",
-    "node-tnef": "^1.3.0",
-    "nodemailer": "^4.0.1",
-    "nodemailer-plugin-inline-base64": "^2.1.1",
-    "odbc": "github:mckay-software/node-odbc",
-    "papaparse": "^4.3.7",
-    "passport": "^0.3.2",
+    "mysql": "2.18.1",
+    "node-tnef": "1.3.3",
+    "nodemailer": "4.7.0",
+    "nodemailer-plugin-inline-base64": "2.1.1",
+    "odbc": "git+https://github.com/mckay-software/node-odbc.git",
+    "papaparse": "4.6.3",
+    "passport": "0.3.2",
     "passport-google-oauth20": "2.0.0",
-    "passport-local": "^1.0.0",
-    "pdfmake": "^0.1.18",
-    "pkginfo": "^0.4.0",
-    "pm2": "^2.2.3",
-    "randomstring": "^1.1.5",
-    "request-promise": "^4.1.1",
-    "rimraf": "^2.6.2",
-    "rr": "^0.1.0",
+    "passport-local": "1.0.0",
+    "pdfmake": "0.1.68",
+    "pkginfo": "0.4.1",
+    "pm2": "2.10.4",
+    "promise-retry": "^2.0.1",
+    "randomstring": "1.1.5",
+    "request-promise": "4.2.6",
+    "retry": "^0.13.1",
+    "retry-request": "^4.0.0",
+    "rimraf": "2.7.1",
+    "rr": "0.1.0",
     "seq-queue": "0.0.5",
-    "sequelize": "^3.24.3",
-    "serve-favicon": "^2.3.0",
-    "simple-git": "^1.73.0",
-    "socket.io": "2.2.0",
+    "sequelize": "3.35.1",
+    "serve-favicon": "2.5.0",
+    "simple-git": "1.132.0",
+    "socket.io": "2.1.1",
     "socket.io-emitter": "3.1.1",
     "socket.io-redis": "5.2.0",
     "socketio-jwt": "4.5.0",
-    "sox": "github:gcareri/node-sox",
-    "squel": "^5.5.0",
-    "sticky-session": "^1.1.2",
-    "syncho": "^0.2.5",
-    "systeminformation": "^3.13.0",
-    "tiff2pdf": "^1.0.2",
-    "to-csv": "^0.1.1",
-    "twilio": "^3.9.0",
-    "umzug": "^2.0.1",
-    "user-agent-parser": "^0.6.0",
-    "validate": "^3.0.1",
-    "winston": "^2.2.0",
+    "sox": "git+https://github.com/gcareri/node-sox.git",
+    "squel": "5.13.0",
+    "sticky-session": "1.1.2",
+    "syncho": "0.2.5",
+    "systeminformation": "3.54.0",
+    "tiff2pdf": "1.0.2",
+    "to-csv": "0.1.1",
+    "twilio": "3.48.2",
+    "umzug": "2.3.0",
+    "user-agent-parser": "0.6.0",
+    "uuid": "3.3.2",
+    "validate": "3.1.0",
+    "winston": "2.4.5",
     "ws": "4.1.0",
-    "xml2json": "^0.11.0",
-    "zip-dir": "^1.0.2"
+    "xml2json": "0.11.2",
+    "zip-dir": "1.0.2"
   },
   "devDependencies": {
-    "chai": "^3.5.0",
-    "chai-http": "^3.0.0",
+    "acorn": "6.4.2",
+    "acorn-jsx": "^3.0.1",
+    "apidoc": "0.24.0",
+    "chai": "3.5.0",
+    "chai-http": "3.0.0",
+    "eslint": "5.16.0",
+    "eslint-plugin-node": "8.0.1",
     "grunt": "1.0.4",
-    "grunt-angular-templates": "^1.1.0",
-    "grunt-apidoc": "^0.11.0",
-    "grunt-autoprefixer": "^3.0.4",
-    "grunt-build-control": "^0.7.1",
-    "grunt-contrib-clean": "^1.1.0",
-    "grunt-contrib-concat": "^1.0.1",
-    "grunt-contrib-copy": "^1.0.0",
-    "grunt-contrib-cssmin": "^2.2.0",
-    "grunt-contrib-jshint": "^1.0.0",
-    "grunt-contrib-obfuscator": "^4.0.0",
-    "grunt-contrib-uglify": "^3.0.1",
-    "grunt-contrib-watch": "^1.0.0",
-    "grunt-express-server": "^0.5.3",
-    "grunt-filerev": "^2.3.1",
-    "grunt-injector": "^1.1.0",
-    "grunt-jsbeautifier": "^0.2.13",
-    "grunt-jsonlint": "^1.1.0",
-    "grunt-ng-annotate": "^3.0.0",
-    "grunt-nodemailer": "^1.1.0",
-    "grunt-sass": "^1.2.1",
-    "grunt-usemin": "^3.1.1",
-    "grunt-version": "^1.1.1",
+    "grunt-angular-templates": "1.2.0",
+    "grunt-apidoc": "0.11.0",
+    "grunt-autoprefixer": "3.0.4",
+    "grunt-build-control": "0.7.1",
+    "grunt-contrib-clean": "1.1.0",
+    "grunt-contrib-concat": "1.0.1",
+    "grunt-contrib-copy": "1.0.0",
+    "grunt-contrib-cssmin": "2.2.1",
+    "grunt-contrib-jshint": "1.1.0",
+    "grunt-contrib-obfuscator": "4.0.0",
+    "grunt-contrib-uglify": "3.4.0",
+    "grunt-contrib-watch": "1.1.0",
+    "grunt-express-server": "0.5.4",
+    "grunt-filerev": "2.3.1",
+    "grunt-injector": "1.1.0",
+    "grunt-jsbeautifier": "0.2.13",
+    "grunt-jsonlint": "1.1.0",
+    "grunt-ng-annotate": "3.0.0",
+    "grunt-nodemailer": "1.1.0",
+    "grunt-sass": "1.2.1",
+    "grunt-usemin": "3.1.1",
+    "grunt-version": "1.3.2",
+    "js-beautify": "1.10.3",
     "js-obfuscator": "0.1.2",
-    "load-grunt-config": "^0.19.2",
-    "mocha": "^3.1.0",
-    "time-grunt": "^1.4.0"
+    "load-grunt-config": "0.19.2",
+    "mocha": "3.5.3",
+    "prettier": "1.19.1",
+    "safe-stable-stringify": "2.3.1",
+    "time-grunt": "1.4.0"
   }
-}
\ No newline at end of file
+}