Skip to content

Commit

Permalink
v3.2.0-beta #361 #362 #389 #399 #412 #419
Browse files Browse the repository at this point in the history
  • Loading branch information
needim committed Dec 21, 2017
1 parent 30e7967 commit 3243ca3
Show file tree
Hide file tree
Showing 22 changed files with 2,377 additions and 2,238 deletions.
91 changes: 20 additions & 71 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ module.exports = function (grunt) {
options: {
position: 'top',
banner: '/* \n @package NOTY - Dependency-free notification library \n' +
' @version version: <%= pkg.version %> \n' +
' @contributors https://github.com/needim/noty/graphs/contributors \n' +
' @documentation Examples and Documentation - https://ned.im/noty \n' +
' @license Licensed under the MIT licenses: http://www.opensource.org/licenses/mit-license.php \n*/\n',
' @version version: <%= pkg.version %> \n' +
' @contributors https://github.com/needim/noty/graphs/contributors \n' +
' @documentation Examples and Documentation - https://ned.im/noty \n' +
' @license Licensed under the MIT licenses: http://www.opensource.org/licenses/mit-license.php \n*/\n',
linebreak: true
},
files: {
Expand All @@ -33,6 +33,21 @@ module.exports = function (grunt) {
}
}
},
sass: {
dist: {
options: {
style: 'expanded',
sourcemap: 'file'
},
files: [{
expand: true,
cwd: 'src/themes',
src: ['*.scss'],
dest: 'lib/themes',
ext: '.css'
}]
}
},
curl: {
builds: {
src: {
Expand All @@ -54,73 +69,6 @@ module.exports = function (grunt) {
},
dest: 'browserstack-session.json'
}
},
'saucelabs-qunit': {
all: {
options: {
testname: 'Noty <%= pkg.version %>',
concurrency: 10,
maxRetries: 3,
maxPollRetries: 4,
urls: ['http://127.0.0.1:3000/test/index.html?hidepassed'],
browsers: [ // https://wiki.saucelabs.com/display/DOCS/Platform+Configurator
{ // macOS
'browserName': 'safari',
'platform': 'OS X 10.11'
},
{
'browserName': 'chrome',
'platform': 'OS X 10.11',
'version': 'latest'
},
{
'browserName': 'firefox',
'platform': 'OS X 10.11',
'version': 'latest'
},
{ // windows
'browserName': 'MicrosoftEdge',
'platform': 'Windows 10',
'version': 'latest'
},
{
'browserName': 'chrome',
'platform': 'Windows 10',
'version': 'latest'
},
{
'browserName': 'firefox',
'platform': 'Windows 10',
'version': 'latest'
},
{
'browserName': 'internet explorer',
'version': '11',
'platform': 'Windows 8.1'
},
{
'browserName': 'internet explorer',
'version': '10',
'platform': 'Windows 8'
},
{ // linux
'browserName': 'chrome',
'platform': 'Linux',
'version': 'latest'
},
{
'browserName': 'firefox',
'platform': 'Linux',
'version': 'latest'
},
{
'browserName': 'opera',
'platform': 'Linux',
'version': 'latest'
}
]
}
}
}
})

Expand Down Expand Up @@ -149,4 +97,5 @@ module.exports = function (grunt) {
grunt.registerTask('test', 'qunit')
grunt.registerTask('saucelabs', ['qunit', 'connect', 'saucelabs-qunit'])
grunt.registerTask('default', ['test'])
grunt.registerTask('themes', ['sass'])
}

0 comments on commit 3243ca3

Please sign in to comment.