mirror of
https://github.com/moparisthebest/mail
synced 2025-01-10 21:18:02 -05:00
commit
548abcfc01
28
Gruntfile.js
28
Gruntfile.js
@ -126,24 +126,22 @@ module.exports = function(grunt) {
|
||||
cwd: 'node_modules/',
|
||||
src: [
|
||||
'requirejs/require.js',
|
||||
'crypto-lib/node_modules/node-forge/js/*.js',
|
||||
'imap-client/src/*.js',
|
||||
'imap-client/node_modules/inbox/src/*.js',
|
||||
'imap-client/node_modules/setimmediate/setImmediate.js',
|
||||
'imap-client/node_modules/inbox/node_modules/node-shims/src/*.js',
|
||||
'imap-client/node_modules/inbox/node_modules/utf7/src/utf7.js',
|
||||
'imap-client/node_modules/inbox/node_modules/xoauth2/src/xoauth2.js',
|
||||
'imap-client/node_modules/browserbox/src/*.js',
|
||||
'imap-client/node_modules/browserbox/node_modules/imap-handler/src/*.js',
|
||||
'imap-client/node_modules/browserbox/node_modules/mimefuncs/src/*.js',
|
||||
'imap-client/node_modules/browserbox/node_modules/tcp-socket/src/*.js',
|
||||
'imap-client/node_modules/browserbox/node_modules/utf7/src/*.js',
|
||||
'mailreader/src/*.js',
|
||||
'mailreader/node_modules/mailparser/src/*.js',
|
||||
'mailreader/node_modules/mailparser/node_modules/encoding/src/encoding.js',
|
||||
'mailreader/node_modules/mailparser/node_modules/mimelib/src/mimelib.js',
|
||||
'mailreader/node_modules/mailparser/node_modules/mimelib/node_modules/addressparser/src/addressparser.js',
|
||||
'mailreader/node_modules/mailparser/node_modules/encoding/node_modules/iconv-lite/src/*.js',
|
||||
'mailreader/node_modules/mailparser/node_modules/mime/src/mime.js',
|
||||
'pgpmailer/src/*.js',
|
||||
'pgpmailer/node_modules/simplesmtp/src/*',
|
||||
'mailreader/node_modules/mimeparser/src/*.js',
|
||||
'mailreader/node_modules/mimeparser/node_modules/addressparser/src/*.js',
|
||||
'pgpbuilder/src/*.js',
|
||||
'pgpbuilder/node_modules/mailbuilder/src/*.js'
|
||||
'pgpbuilder/node_modules/mailbuild/src/*.js',
|
||||
'pgpbuilder/node_modules/mailbuild/node_modules/mimetypes/src/*.js',
|
||||
'pgpbuilder/node_modules/mailbuild/node_modules/punycode/punycode.min.js',
|
||||
'pgpmailer/src/*.js',
|
||||
'pgpmailer/node_modules/smtpclient/src/*.js',
|
||||
'pgpmailer/node_modules/smtpclient/node_modules/stringencoding/dist/stringencoding.js'
|
||||
],
|
||||
dest: 'src/lib/'
|
||||
},
|
||||
|
10
package.json
10
package.json
@ -10,11 +10,11 @@
|
||||
"start": "grunt && grunt dev"
|
||||
},
|
||||
"dependencies": {
|
||||
"crypto-lib": "https://github.com/whiteout-io/crypto-lib/tarball/v0.1.0",
|
||||
"imap-client": "https://github.com/whiteout-io/imap-client/tarball/v0.1.0",
|
||||
"mailreader": "https://github.com/whiteout-io/mailreader/tarball/v0.1.0",
|
||||
"pgpmailer": "https://github.com/whiteout-io/pgpmailer/tarball/v0.1.0",
|
||||
"pgpbuilder": "https://github.com/whiteout-io/pgpbuilder/tarball/v0.1.0",
|
||||
"crypto-lib": "https://github.com/whiteout-io/crypto-lib/tarball/v0.1.1",
|
||||
"imap-client": "https://github.com/whiteout-io/imap-client/tarball/v0.2.2",
|
||||
"mailreader": "https://github.com/whiteout-io/mailreader/tarball/v0.2.0",
|
||||
"pgpmailer": "https://github.com/whiteout-io/pgpmailer/tarball/dev/browser",
|
||||
"pgpbuilder": "https://github.com/whiteout-io/pgpbuilder/tarball/v0.2.1",
|
||||
"requirejs": "2.1.10"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
@ -107,11 +107,8 @@ define(function(require) {
|
||||
var auth, imapOptions, imapClient, smtpOptions, pgpMailer;
|
||||
|
||||
auth = {
|
||||
XOAuth2: {
|
||||
user: credentials.emailAddress,
|
||||
clientId: config.gmail.clientId,
|
||||
accessToken: credentials.oauthToken
|
||||
}
|
||||
user: credentials.emailAddress,
|
||||
xoauth2: credentials.oauthToken
|
||||
};
|
||||
imapOptions = {
|
||||
secure: config.gmail.imap.secure,
|
||||
|
1
src/lib/forge/forge.min.js
vendored
Normal file
1
src/lib/forge/forge.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
@ -7,9 +7,7 @@
|
||||
paths: {
|
||||
js: '../js',
|
||||
test: '../../test',
|
||||
'node-forge': 'forge',
|
||||
cryptoLib: '../js/crypto',
|
||||
'setimmediate': 'setImmediate',
|
||||
underscore: 'underscore/underscore-min',
|
||||
lawnchair: 'lawnchair/lawnchair-git',
|
||||
lawnchairSQL: 'lawnchair/lawnchair-adapter-webkit-sqlite-git',
|
||||
@ -19,10 +17,15 @@
|
||||
angularTouch: 'angular/angular-touch.min',
|
||||
angularSanitize: 'angular/angular-sanitize.min',
|
||||
uuid: 'uuid/uuid',
|
||||
forge: 'forge/forge.min',
|
||||
punycode: 'punycode.min',
|
||||
openpgp: 'openpgp/openpgp.min',
|
||||
iscroll: 'iscroll/iscroll-min'
|
||||
},
|
||||
shim: {
|
||||
forge: {
|
||||
exports: 'forge'
|
||||
},
|
||||
angular: {
|
||||
exports: 'angular'
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user