@lrnwebcomponents/a11y-gif-player
Advanced tools
Comparing version 2.6.7 to 2.6.8
@@ -91,4 +91,5 @@ const gulp = require("gulp"); | ||
return `${litResult} | ||
// render function | ||
static get template() { | ||
// render function | ||
render() { | ||
return html\` | ||
@@ -100,3 +101,3 @@ ${styleResult} | ||
// properties available to the custom element for data binding | ||
static get properties() { | ||
static get properties() { | ||
return ${props}; | ||
@@ -109,3 +110,10 @@ }`; | ||
}); | ||
// run polymer build to generate everything fully | ||
gulp.task("build", () => { | ||
const spawn = require("child_process").spawn; | ||
let child = spawn("polymer", ["build"]); | ||
return child.on("close", function(code) { | ||
console.log("child process exited with code " + code); | ||
}); | ||
}); | ||
// run polymer analyze to generate documentation | ||
@@ -127,3 +135,3 @@ gulp.task("analyze", () => { | ||
gulp | ||
.src("./" + packageJson.wcfactory.elementName + ".js") | ||
.src("./build/es6/" + packageJson.wcfactory.elementName + ".js") | ||
.pipe( | ||
@@ -135,3 +143,10 @@ rename({ | ||
.pipe(gulp.dest("./")); | ||
gulp | ||
.src("./build/es5-amd/" + packageJson.wcfactory.elementName + ".js") | ||
.pipe( | ||
rename({ | ||
suffix: ".amd" | ||
}) | ||
) | ||
.pipe(gulp.dest("./")); | ||
return gulp | ||
@@ -167,2 +182,5 @@ .src("./" + packageJson.wcfactory.elementName + ".js") | ||
gulp.task("default", gulp.series("merge", "analyze", "compile", "sourcemaps")); | ||
gulp.task( | ||
"default", | ||
gulp.series("merge", "analyze", "build", "compile", "sourcemaps") | ||
); |
@@ -15,3 +15,3 @@ { | ||
}, | ||
"version": "2.6.7", | ||
"version": "2.6.8", | ||
"description": "Play gifs in an accessible way by having the user click to play their animation", | ||
@@ -40,10 +40,10 @@ "repository": { | ||
"dependencies": { | ||
"@lrnwebcomponents/schema-behaviors": "^2.6.7", | ||
"@lrnwebcomponents/simple-tooltip": "^2.6.4", | ||
"@lrnwebcomponents/schema-behaviors": "^2.6.8", | ||
"@lrnwebcomponents/simple-tooltip": "^2.6.8", | ||
"@polymer/iron-image": "^3.0.0", | ||
"lit-element": "2.2.1" | ||
"lit-element": "^2.3.0" | ||
}, | ||
"devDependencies": { | ||
"@lrnwebcomponents/deduping-fix": "^2.4.0", | ||
"@lrnwebcomponents/storybook-utilities": "^2.6.7", | ||
"@lrnwebcomponents/deduping-fix": "^2.6.8", | ||
"@lrnwebcomponents/storybook-utilities": "^2.6.8", | ||
"@polymer/iron-component-page": "github:PolymerElements/iron-component-page", | ||
@@ -68,3 +68,3 @@ "@polymer/iron-demo-helpers": "3.1.0", | ||
], | ||
"gitHead": "ebc614039b22880d72344a5053498821f17a7c6b" | ||
"gitHead": "4b0ed220b7dbf4f4f3e0ef4f32c50c60dd3a8be5" | ||
} |
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
106488
2043
2
+ Addedlit-element@2.5.1(transitive)
- Removedlit-element@2.2.1(transitive)
Updatedlit-element@^2.3.0