1
0
mirror of https://github.com/moparisthebest/mail synced 2024-11-25 02:12:17 -05:00

integrated smtpc-client amd branch

This commit is contained in:
Tankred Hase 2013-09-27 13:55:08 +02:00
parent ee7d179298
commit 444f1c0ae1
4 changed files with 6 additions and 18 deletions

View File

@ -136,7 +136,10 @@ module.exports = function(grunt) {
'imap-client/node_modules/mimelib/node_modules/encoding/node_modules/mime/src/*.js', 'imap-client/node_modules/mimelib/node_modules/encoding/node_modules/mime/src/*.js',
'imap-client/node_modules/mailparser/src/*.js', 'imap-client/node_modules/mailparser/src/*.js',
'imap-client/node_modules/mailparser/node_modules/mime/src/mime.js', 'imap-client/node_modules/mailparser/node_modules/mime/src/mime.js',
'smtp-client/src-gen/*.js' 'smtp-client/src/*.js',
'smtp-client/node_modules/mailcomposer/src/*',
'smtp-client/node_modules/nodemailer/src/*',
'smtp-client/node_modules/nodemailer/node_modules/simplesmtp/src/*',
], ],
dest: 'src/lib/' dest: 'src/lib/'
}, },

View File

@ -5,14 +5,14 @@
"node": ">=0.8" "node": ">=0.8"
}, },
"scripts": { "scripts": {
"postinstall": "./res/copy-deps.sh && grunt dist-npm", "postinstall": "grunt dist-npm",
"test": "grunt test && grunt dist", "test": "grunt test && grunt dist",
"start": "grunt dist && grunt dev" "start": "grunt dist && grunt dev"
}, },
"dependencies": { "dependencies": {
"crypto-lib": "https://github.com/whiteout-io/crypto-lib/tarball/master", "crypto-lib": "https://github.com/whiteout-io/crypto-lib/tarball/master",
"imap-client": "git+ssh://git@github.com:whiteout-io/imap-client.git#master", "imap-client": "git+ssh://git@github.com:whiteout-io/imap-client.git#master",
"smtp-client": "git+ssh://git@github.com:whiteout-io/smtp-client.git#master", "smtp-client": "git+ssh://git@github.com:whiteout-io/smtp-client.git#amd",
"requirejs": "2.1.8" "requirejs": "2.1.8"
}, },
"devDependencies": { "devDependencies": {

View File

@ -1,14 +0,0 @@
#!/bin/sh
echo "--> building dependencies to src\n"
# go to root
cd `dirname $0`
cd ..
# build imap/smtp modules and copy
cd ./node_modules/smtp-client/
node build.js
cd ../../
echo "\n--> finished building dependencies.\n"

View File

@ -9,7 +9,6 @@
'node-forge': 'forge', 'node-forge': 'forge',
cryptoLib: '../js/crypto', cryptoLib: '../js/crypto',
'setimmediate': 'setImmediate', 'setimmediate': 'setImmediate',
'smtp-client': 'smtp-client-browserified',
underscore: 'underscore/underscore-min', underscore: 'underscore/underscore-min',
cordova: 'cordova/cordova-2.5.0', cordova: 'cordova/cordova-2.5.0',
lawnchair: 'lawnchair/lawnchair-git', lawnchair: 'lawnchair/lawnchair-git',