UNPKG

mailor

Version:

Low-cost mailing authoring

102 lines (101 loc) 2.72 kB
{ "name": "mailor", "version": "0.4.9", "description": "Low-cost mailing authoring", "main": "lib/mailer.js", "bin": { "mailor": "bin/cli.js" }, "scripts": { "dist": "mkdir -p dist && cp node_modules/somedom/dist/somedom.umd.js dist/", "lint": "eslint bin lib tests public", "dev": "npm run mailor -- -e handlebars", "pretest": "npm run lint", "prepare": "npm run dist", "prestart": "npm run build", "mailor": "bin/cli ${MAILOR_TASK:-watch} example/templates -w example/partials -j example/defaults.json -d dist/generated", "start": "npm run dev", "build": "MAILOR_TASK=build npm run mailor", "mocha": "NODE_ENV=test _mocha --timeout 5000 --exit --recursive -bR spec", "test": "FORCE_COLOR=1 npm run test:unit --", "test:ci": "npm run coverage && npm run report -- -r lcov", "test:unit": "npm run mocha -- 'tests/*.test.js'", "test:coverage": "npm run coverage && npm run report", "coverage": "nyc --silent -x '**/tests/**' -x '**/*.test.js' -- npm run test:unit", "codecov": "codecov --file=coverage/lcov.info -e TRAVIS_NODE_VERSION", "report": "nyc report" }, "engines": { "node": "*" }, "files": [ "bin/*", "lib/*.js", "dist/*.js", "example/*", "public/*.*", "provider.js", "index.d.ts" ], "keywords": [ "nodemailer", "templates", "preview", "maildev", "mailer", "mjml" ], "repository": { "type": "git", "url": "https://github.com/tacoss/mailor.git" }, "bugs": { "url": "https://github.com/tacoss/mailor/issues" }, "author": { "name": "Alvaro Cabrera", "email": "pateketrueke@gmail.com" }, "license": "MIT", "dependencies": { "fs-extra": "^10.0.0", "glob": "^7.1.6", "handlebars": "^4.7.6", "juice": "^8.0.0", "less": "^4.1.1", "less-plugin-autoprefix": "^2.0.0", "liquidjs": "^9.15.1", "maildev": "^2.0.5", "mjml": "^4.9.3", "mustache": "^4.0.1", "pug": "^3.0.0", "wargs": "^0.9.6" }, "devDependencies": { "ansi-regex": ">=5.0.1", "axios": ">=0.21.2", "chai": "^4.2.0", "codecov": "^3.6.1", "eslint": "^6.8.0", "eslint-config-airbnb-base": "^14.0.0", "eslint-plugin-import": "^2.18.2", "kind-of": ">=6.0.3", "minimist": ">=1.2.3", "mocha": "^10.1.0", "mock-stdin": "^1.0.0", "nth-check": ">=2.0.1", "nyc": "^15.1.0", "open": ">=6.0.0", "socket.io": ">=2.4.0", "somedom": "^0.4.15", "std-mocks": "^1.0.1", "testdouble": "^3.12.4", "ws": ">=7.4.6", "xmlhttprequest-ssl": ">=1.6.2" }, "peerDependencies": { "chokidar": "^3.5.1", "nodemailer": "^6.7.2", "live-server": "^1.2.1" } }