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

https://github.com/solidos/profile-pane

SolidOS pane that displays a personal profile page
https://github.com/solidos/profile-pane

running-code typescript webpack

Last synced: 12 days ago
JSON representation

SolidOS pane that displays a personal profile page

Awesome Lists containing this project

README

          

# profile-pane
SolidOS pane that displays a personal profile page

![CI](https://github.com/solid/profile-pane/workflows/CI/badge.svg)

## Contribute

### Tech stack

- Typescript
- lit-html
- Jest
- Eslint
- SolidOS

### Tests

To run all tests:
```shell script
npm test
```

If you are a first time developer/user on Windows 10, the repository may give package issues regarding webpack or jest.
If this is the case, simply run "npm audit fix" and upgrade the repository. It should work fine.

#### Unit tests

Unit tests use `jest` and are placed next to the tested file as `*.spec.ts` files.

### Dev Server

Start a webpack dev server:

```shell script
npm start
```

Visit `http://localhost:8080/` to render the pane. Adjust `const webIdToShow` in `./dev/index.ts` to show a different profile.

### Build

```
npm run build
```

The build is done by `tsc`, webpack is only used as dev server and not for production build.