Web-types for paper-elements
npm install paper-elements-web-typesSee web-types project
paper-elements-web-types contains Web-Types definition oflit-web-typesbash
npm i lit-web-types paper-elements-web-types -D
`If using IntelliJ or WebStorm, IDE restart might be needed after install to enable autocomplete.
Getting started with polymer
To use it when working with polymer you need polymer-web-types
extra dependency to enable autocompletion on your project.
`bash
npm i polymer-web-types paper-elements-web-types -D
`If using IntelliJ or WebStorm, IDE restart might be needed after install to enable autocomplete.
Contributing
Steps to update web-types definitions of paper-elements-web-types package:#### Update sources
src/gen folder contains generated sources by web-component-analyser, should not be updated
by hand, only via generator:
`bash
npm run web-types
`Other sources in
src can be updated by hand.#### Build template to web-types
`bash
npm run build
`#### Release
`bash
npm version patch && npm publish && git push && git push --tags
``