Mailspring/packages/local-sync/package.json
Christine Spang a23c68092e [local-sync] Add specs for message parsing
Summary:
This commit also fixes snippets for HTML-only messages to strip out HTML
tags, and makes us preserve whitespace for plaintext emails by
displaying them in <pre class="nylas-plaintext"> tags, and makes us log
messages that fail to parse at all to a tempdir.

The only issue I found with using <pre> tags for plaintext email was
that some lines may trigger scrolling, so there is an associated commit
(D3484) that changes the CSS for <pre class="nylas-plaintext"> to wrap
lines.

In the future, we can add regression tests to this test suite whenever
we fix parsing bugs.

Test Plan: unit tests included

Reviewers: bengotow

Reviewed By: bengotow

Differential Revision: https://phab.nylas.com/D3483
2016-12-07 07:25:28 -08:00

49 lines
1.3 KiB
JSON

{
"name": "local-sync",
"version": "0.0.1",
"description": "The local sync engine for Nylas N1",
"main": "./main.es6",
"dependencies": {
"googleapis": "9.0.0",
"hapi": "13.4.1",
"hapi-auth-basic": "4.2.0",
"hapi-boom-decorators": "1.1.3",
"hapi-plugin-websocket": "0.9.2",
"hapi-swagger": "6.1.0",
"inert": "4.0.0",
"isomorphic-core": "0.x.x",
"jasmine": "2.4.1",
"joi": "8.4.2",
"mimelib": "0.2.19",
"nodemailer": "2.5.0",
"quoted-printable": "1.0.1",
"request": "2.79.0",
"rx": "4.1.0",
"sequelize": "3.27.0",
"sqlite3": "https://github.com/bengotow/node-sqlite3/archive/bengotow/usleep-v3.1.4.tar.gz",
"striptags": "2.1.1",
"underscore": "1.8.3",
"utf7": "^1.0.2",
"striptags": "2.1.1",
"vision": "4.1.0"
},
"scripts": {
"test": "../../../../node_modules/.bin/electron ../../../../ --test --enable-logging --spec-directory=$(pwd)/spec"
},
"repository": {
"type": "git",
"url": "git+https://github.com/nylas/K2.git"
},
"author": "Nylas",
"license": "proprietary",
"bugs": {
"url": "https://github.com/nylas/K2/issues"
},
"engines": {
"nylas": "*"
},
"windowTypes": {
"work": true
},
"homepage": "https://github.com/nylas/K2#readme"
}