Ecosyste.ms: Awesome
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: 2 months ago
JSON representation
SolidOS pane that displays a personal profile page
- Host: GitHub
- URL: https://github.com/solidos/profile-pane
- Owner: SolidOS
- Created: 2021-01-20T18:24:58.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-11-04T22:14:14.000Z (3 months ago)
- Last Synced: 2024-11-04T23:20:21.440Z (3 months ago)
- Topics: running-code, typescript, webpack
- Language: TypeScript
- Homepage:
- Size: 6.24 MB
- Stars: 7
- Watchers: 9
- Forks: 6
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# profile-pane
SolidOS pane that displays a personal profile pageThis is a re-write that is going to replace the current profile pane
![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
```#### Unit tests
Unit tests use `jest` and are placed next to the tested file as `*.spec.ts` files.
#### Integration tests
Integration tests verify the rendering of the whole pane (with mocked HTTP requests) and are placed under `./src/integration-tests`.
### 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.