Compare commits

...

2 Commits

Author SHA1 Message Date
Violet Millie b44c6bd073 Update dependencies and create development cripts 2024-01-22 23:27:40 +00:00
Violet Millie f08750be30 Update README.md 2024-01-22 23:24:28 +00:00
3 changed files with 30 additions and 11 deletions

View File

@ -1,15 +1,24 @@
# spotify-web-notifications
A Firefox extension adding now-playing style notifications to the [Spotify web interface](https://open.spotify.com/). An (unsupported) Chromium version can be found [here](https://gitlab.com/limesey/spotify-web-notifs).
This extension works by scraping the web player for the necessary data, meaning that you won't need a developer account!
## Table of contents
- [Usage](#usage) - Instructions on how to use the extension
- [Development](#development) - Development instructions
## Usage
TODO: Write
## Development
To install dependencies:
```bash
bun install
```
To run:
```bash
bun run index.ts
```
This project was created using `bun init` in bun v1.0.23. [Bun](https://bun.sh) is a fast all-in-one JavaScript runtime.

BIN
bun.lockb

Binary file not shown.

View File

@ -1,11 +1,21 @@
{
"name": "spotify-web-notifications",
"module": "index.ts",
"type": "module",
"scripts": {
"run-web-ext": "web-ext run --keep-profile-changes -p SpotifyWebNotifications",
"run-devflow": "bun run-web-ext & bun build --watch src/extension/typescript/content.ts src/extension/typescript/background.ts --splitting --outdir dist"
},
"webExt": {
"sourceDir": "dist/"
},
"devDependencies": {
"@types/bun": "latest"
"@types/bun": "latest",
"@types/firefox-webext-browser": "^120.0.0",
"web-ext": "^7.10.0"
},
"peerDependencies": {
"typescript": "^5.0.0"
}
}
},
"type": "module"
}