{ "name": "mailtrain", "private": true, "version": "2.0.0", "description": "Self hosted email newsletter app - server", "main": "index.js", "scripts": { "start": "node index.js", "sqlinit": "node setup/sql/init.js", "sqldump": "node setup/sql/dump.js | sed -e '/^\\/\\*.*\\*\\/;$/d' -e 's/.[0-9]\\{4\\}-[0-9][0-9]-[0-9][0-9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9]./NOW()/g' > setup/sql/mailtrain${DUMP_NAME_SUFFIX}.sql", "sqldrop": "node setup/sql/drop.js", "sqlgen": "npm run sqldrop && DB_FROM_START=Y npm run sqlinit && npm run sqldump", "sqldumptest": "NODE_ENV=test DUMP_NAME_SUFFIX=-test npm run sqldump", "sqlresettest": "NODE_ENV=test npm run sqldrop && NODE_ENV=test npm run sqlinit", "starttest": "NODE_ENV=test node index.js", "_e2e": "NODE_ENV=test node test/e2e/index.js", "e2e": "npm run sqlresettest && npm run _e2e" }, "repository": { "type": "git", "url": "git://github.com/Mailtrain-org/mailtrain.git" }, "license": "GPL-3.0", "homepage": "https://mailtrain.org/", "engines": { "node": ">=10.0.0" }, "devDependencies": { "babel-eslint": "^10.0.2", "chai": "^4.2.0", "eslint-config-nodemailer": "^1.2.0", "grunt": "^1.0.3", "grunt-cli": "^1.3.2", "grunt-eslint": "^21.1.0", "lodash": "^4.17.15", "mocha": "^5.2.0", "phantomjs-prebuilt": "^2.1.16", "selenium-webdriver": "^3.6.0", "url-pattern": "^1.0.3" }, "optionalDependencies": { "posix": "^4.1.2" }, "dependencies": { "aws-sdk": "^2.497.0", "bcrypt-nodejs": "0.0.3", "bluebird": "^3.5.5", "body-parser": "^1.19.0", "bounce-handler": "7.3.2-fork.3", "capitalize": "^2.0.0", "compression": "^1.7.3", "config": "^3.2.2", "connect-flash": "^0.1.1", "connect-redis": "^3.4.2", "cookie-parser": "^1.4.3", "cors": "^2.8.5", "crypto": "^1.0.1", "csurf": "^1.10.0", "csv-parse": "^4.4.3", "csv-stringify": "^5.1.2", "device": "^0.3.9", "dompurify": "^1.0.11", "escape-html": "^1.0.3", "escape-string-regexp": "^1.0.5", "express": "^4.17.1", "express-locale": "^1.0.5", "express-session": "^1.16.2", "faker": "^4.1.0", "feedparser-promised": "^2.0.1", "fs-extra": "^7.0.1", "fs-extra-promise": "^1.0.1", "geoip-ultralight": "^0.1.5", "gm": "^1.23.1", "handlebars": "^4.0.12", "hbs": "^4.0.1", "he": "^1.2.0", "html-to-text": "^4.0.0", "humanize": "0.0.9", "i18next": "^13.1.0", "isemail": "^3.2.0", "js-yaml": "^3.13.1", "jsdom": "^13.1.0", "juice": "^5.2.0", "klaw-sync": "^6.0.0", "knex": "^0.16.5", "libmime": "^4.1.3", "mailparser": "^2.7.1", "memory-cache": "^0.2.0", "mjml": "^4.4.0", "moment": "^2.23.0", "moment-timezone": "^0.5.26", "morgan": "^1.9.1", "multer": "^1.4.2", "mysql": "^2.17.1", "node-ipc": "^9.1.1", "node-mocks-http": "^1.7.6", "node-object-hash": "^1.4.1", "nodeify": "^1.0.1", "nodemailer": "^5.0.0", "nodemailer-openpgp": "^1.2.0", "npmlog": "^4.1.2", "openpgp": "^4.5.5", "passport": "^0.4.0", "passport-local": "^1.0.0", "premailer-api": "^1.0.4", "request": "^2.88.0", "request-promise": "^4.2.2", "serve-favicon": "^2.5.0", "shortid": "^2.2.14", "slugify": "^1.3.4", "smtp-server": "^3.4.7", "tmp-promise": "^1.1.0", "toml": "^2.3.3", "try-require": "^1.2.1", "xmldom": "^0.1.27" } }