New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

swint-builder-polymer

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

swint-builder-polymer

Polymer web component builder for Swint

  • 2.2.10
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

swint-builder-polymer

Greenkeeper badge Polymer web copmonent builder for Swint

Warning: This is not the final draft yet, so do not use this until its official version is launched

Installation

$ npm install --save swint-builder-polymer

Options

  • name : String, default: Project
  • inDir : String, default: path.dirname(require.main.filename)
  • imgMetaDir : String, default: path.join(path.dirname(require.main.filename), '../imgMeta')
  • outDir : String, default: path.join(path.dirname(require.main.filename), '../out')
  • variables : Object, default: {}

Usage

buildPolymer({
	name: 'Test',
	inDir: path.join(__dirname, 'elements', 'target'),
	imgMetaDir: path.join(__dirname, 'imgMeta'),
	outDir: path.join(__dirname, 'out'),
	variables: {}
}, function() {
	// Build complete
});

Disclaimer

  • You should write your code like <img source="..."> instead of <img src="..."> in order to use src attribute in HTML due to the path processing in vulcanize.
  • If you do not want this, you can either write like <link rel="import" href="path/to/img.svg">.

Keywords

FAQs

Package last updated on 05 Mar 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc