Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

taktik-polymer-typescript

Package Overview
Dependencies
Maintainers
1
Versions
113
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

taktik-polymer-typescript

[![Build Status](https://travis-ci.org/hubjac1/taktik-polymer-typescript.svg?branch=master)](https://travis-ci.org/hubjac1/taktik-polymer-typescript)


Version published
Weekly downloads
104
increased by70.49%
Maintainers
1
Weekly downloads
 
Created
Source

Build Status

<taktik-polymer-typeScript>

Module providing development facilities for ozone polymer type script modules.

Install the Polymer-CLI

First, make sure you have the Polymer CLI installed. Then run polymer serve to serve your element locally.

install project dependency

run nmp and bower install.

$ npm install
$ bower install

compile your code

$ node_modules/typescript/bin/tsc

Viewing Your Element

$ polymer serve

Running Tests

$ polymer test

Your application is already set up to be tested via web-component-tester. Run polymer test to run your application's test suite locally.

install & configure this module in an other a typeScript project

  • step 1: install dependency

Install you dependency npm install --save https://github.com/taktik/taktik-polymer-typeScript

  • step 2: declare package in tsconfig.json
{
    "compilerOptions":{
        "path":{
            "taktik-polymer-typeScript": [
                "./node_modules/taktik-polymer-typeScript/taktik-polymer-typeScript"
            ]
        }
    }
  "include": [
    "./node_modules/taktik-polymer-typeScript/type/*",
  ],
}
  • step 3: import where you need
import 'taktik-polymer-typeScript/type'; // import global type declaration
import {customElement} from 'taktik-polymer-typeScript' // Import elements

FAQs

Package last updated on 15 Sep 2017

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