@lrnwebcomponents/simple-image
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") | ||
); |
@@ -20,3 +20,3 @@ { | ||
}, | ||
"version": "2.6.7", | ||
"version": "2.6.8", | ||
"description": "Automated conversion of simple-image/", | ||
@@ -45,8 +45,8 @@ "repository": { | ||
"dependencies": { | ||
"@lrnwebcomponents/schema-behaviors": "^2.6.7", | ||
"@lrnwebcomponents/schema-behaviors": "^2.6.8", | ||
"@polymer/polymer": "^3.3.1" | ||
}, | ||
"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", | ||
@@ -70,3 +70,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
113687
1630
2