Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tpluscode/open-wc-ts-element

@open-wc template adapted to play nice with TypeScript
https://github.com/tpluscode/open-wc-ts-element

Last synced: 4 days ago
JSON representation

@open-wc template adapted to play nice with TypeScript

Awesome Lists containing this project

README

        

# @open-wc project template, tweaked to work with Typescript

The template sets up `@open-wc/linting` and `@open-wc/testing`.

To get running in a real project one will have to add other `@open-wc` templates
by running `npm init @open-wc`

## Changes compared to standard templates

* Linting
* Adds [`standard`](https://www.npmjs.com/package/standard)
* Semicolons disabled
* Uses `@typescript-eslint` parser and config
* Default Typescript indentation changed to 2 spaces
* Ignore warnings from eslint (`--quiet`)
* `tsc --noEmit` running as git hook
* Testing
* Browserstack limited to a single concurrent job
* Typescript
* Strict
* Source in `src` directory to reduce clutter