在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):jeremypeter/gulp-litmus开源软件地址(OpenSource Url):https://github.com/jeremypeter/gulp-litmus开源编程语言(OpenSource Language):JavaScript 100.0%开源软件介绍(OpenSource Introduction):gulp-litmusInstall$ npm install gulp-litmus Usagevar gulp = require('gulp');
var litmus = require('gulp-litmus');
var config = {
username: 'litmus_username',
password: 'litmus_password',
url: 'https://yourcompany.litmus.com',
applications: [
'appmail8',
'gmailnew',
'ffgmailnew',
'chromegmailnew',
'iphone5s',
]
}
gulp.task('default', function () {
return gulp.src('src/email.html')
.pipe(litmus(config))
.pipe(gulp.dest('dist'));
}); APIlitmus(config)configconfig.usernameType: Litmus username config.passwordType: Litmus password config.urlType: URL to your companies Litmus account config.applicationsType: Array of email clients to test. Can be found at https://yourcompany.litmus.com/emails/clients.xml and https://yourcompany.litmus.com/pages/clients.xml. The TroubleshootingIf you're having issues with Litmus taking forever to load a test or the title of the test is showing up as "No Subject", it is most likely an issue with the Litmus API. You can check the Litmus status page to find out if their having any issues. If that's not the case, submit an issue and we'll look into further. LicenseMIT © Jeremy Peter |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论