@lrnwebcomponents/hax-iconset
Advanced tools
Comparing version 2.6.3 to 2.6.8
@@ -91,4 +91,5 @@ const gulp = require("gulp"); | ||
return `${litResult} | ||
// render function | ||
static get template() { | ||
// render function | ||
render() { | ||
return html\` | ||
@@ -108,3 +109,10 @@ ${styleResult} | ||
}); | ||
// 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 | ||
@@ -126,3 +134,3 @@ gulp.task("analyze", () => { | ||
gulp | ||
.src("./" + packageJson.wcfactory.elementName + ".js") | ||
.src("./build/es6/" + packageJson.wcfactory.elementName + ".js") | ||
.pipe( | ||
@@ -134,3 +142,10 @@ rename({ | ||
.pipe(gulp.dest("./")); | ||
gulp | ||
.src("./build/es5-amd/" + packageJson.wcfactory.elementName + ".js") | ||
.pipe( | ||
rename({ | ||
suffix: ".amd" | ||
}) | ||
) | ||
.pipe(gulp.dest("./")); | ||
return gulp | ||
@@ -166,2 +181,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.3", | ||
"version": "2.6.8", | ||
"description": "HAX-specific icons", | ||
@@ -71,3 +71,3 @@ "repository": { | ||
], | ||
"gitHead": "5b87417e138250dc7da2de0d3c7fb0b0a696a199" | ||
"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
108162
1325
2