vaadin-context-menu
Advanced tools
Comparing version 1.0.1 to 2.0.0
@@ -23,18 +23,33 @@ { | ||
"dependencies": { | ||
"polymer": "^1.6.1", | ||
"iron-overlay-behavior": "^1.8.6", | ||
"iron-media-query": "^1.0.8", | ||
"paper-styles": "^1.1.5" | ||
"polymer": "^2.0.0", | ||
"iron-overlay-behavior": "^2.0.0", | ||
"iron-media-query": "^2.0.0" | ||
}, | ||
"devDependencies": { | ||
"web-component-tester": "^5.0.0", | ||
"iron-component-page": "polymerelements/iron-component-page#^1.1.0", | ||
"iron-test-helpers": "^1.2.5", | ||
"paper-menu": "^1.2.2", | ||
"paper-item": "^1.2.1", | ||
"iron-icons": "^1.1.3", | ||
"elements-demo-resources": "vaadin/elements-demo-resources#master", | ||
"iron-demo-helpers": "polymerelements/iron-demo-helpers#^1.0.0", | ||
"vaadin-grid": "^1.1.2" | ||
"elements-demo-resources": "vaadin/elements-demo-resources#^2.0.0", | ||
"iron-component-page": "^2.0.0", | ||
"iron-demo-helpers": "^2.0.0", | ||
"iron-icons": "^2.0.0", | ||
"iron-test-helpers": "^2.0.0", | ||
"paper-item": "^2.0.0", | ||
"paper-listbox": "^2.0.0", | ||
"paper-styles": "^2.0.0", | ||
"test-fixture": "^3.0.0", | ||
"vaadin-grid": "#2.1-polymer-2-rebased", | ||
"web-component-tester": "^6.0.0" | ||
}, | ||
"variants": { | ||
"1.x": { | ||
"dependencies": { | ||
"polymer": "^1.7.0" | ||
}, | ||
"resolutions": { | ||
"polymer": "^1.7.0", | ||
"webcomponentsjs": "^0.7.24" | ||
} | ||
} | ||
}, | ||
"resolutions": { | ||
"iron-doc-viewer": "1 - 2" | ||
} | ||
} |
@@ -13,3 +13,3 @@ 'use strict'; | ||
'*.js', | ||
'test/*.js' | ||
'test/**/*.js' | ||
]) | ||
@@ -24,4 +24,4 @@ .pipe(eslint()) | ||
'*.html', | ||
'demo/*.html', | ||
'test/*.html' | ||
'demo/**/*.html', | ||
'test/**/*.html' | ||
]) | ||
@@ -40,4 +40,4 @@ .pipe(htmlExtract({ | ||
'*.html', | ||
'demo/*.html', | ||
'test/*.html' | ||
'demo/**/*.html', | ||
'test/**/*.html' | ||
]) | ||
@@ -44,0 +44,0 @@ .pipe(htmlExtract({ |
{ | ||
"name": "vaadin-context-menu", | ||
"version": "1.0.1", | ||
"version": "2.0.0", | ||
"description": "Polymer element for showing context dependent items for any element on the page", | ||
@@ -27,4 +27,6 @@ "main": "vaadin-context-menu.html", | ||
"gulp-stylelint": "^3.7.0", | ||
"polymer-cli": "^0.18.0", | ||
"stylelint-config-vaadin": "^0.1.0", | ||
"web-component-tester": "^5.0.0" | ||
"web-component-tester": "^5.0.0", | ||
"yargs": "latest" | ||
}, | ||
@@ -31,0 +33,0 @@ "scripts": { |
@@ -10,2 +10,3 @@ { | ||
"beforeEach": false, | ||
"listenOnce": false, | ||
"fixture": false, | ||
@@ -12,0 +13,0 @@ "MockInteractions": false, |
@@ -0,12 +1,9 @@ | ||
var argv = require('yargs').argv; | ||
module.exports = { | ||
registerHooks: function(context) { | ||
var crossPlatforms = [ | ||
'Windows 10/chrome@55', | ||
'Windows 10/firefox@50' | ||
]; | ||
var otherPlatforms = [ | ||
'OS X 10.11/iphone@9.3', | ||
'OS X 10.11/ipad@9.3', | ||
'Windows 10/microsoftedge@13', | ||
var saucelabsPlatforms = [ | ||
'OS X 10.11/iphone@10.0', | ||
'OS X 10.11/ipad@10.0', | ||
'Windows 10/microsoftedge@14', | ||
'Windows 10/internet explorer@11', | ||
@@ -16,12 +13,14 @@ 'OS X 10.11/safari@10.0' | ||
// run SauceLabs tests for pushes, except cases when branch contains 'quick/' | ||
if (process.env.TRAVIS_EVENT_TYPE === 'push' && process.env.TRAVIS_BRANCH.indexOf('quick/') === -1) { | ||
// crossPlatforms are not tested here, but in Selenium WebDriver (see .travis.yml) | ||
context.options.plugins.sauce.browsers = otherPlatforms; | ||
var cronPlatforms = [ | ||
'Windows 10/chrome@58', | ||
'Windows 10/firefox@53' | ||
]; | ||
// Run SauceLabs for daily builds, triggered by cron | ||
} else if (process.env.TRAVIS_EVENT_TYPE === 'cron') { | ||
context.options.plugins.sauce.browsers = crossPlatforms.concat(otherPlatforms); | ||
if (argv.env === 'saucelabs') { | ||
context.options.plugins.sauce.browsers = saucelabsPlatforms; | ||
} else if (argv.env === 'saucelabs-cron') { | ||
context.options.plugins.sauce.browsers = cronPlatforms; | ||
} | ||
} | ||
}; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
131172
42
164
0
10