Skip to content

Commit

Permalink
Merge pull request #9 from BolajiOlajide/bo/test-library-locally
Browse files Browse the repository at this point in the history
  • Loading branch information
lilpolymath authored Jun 28, 2024
2 parents 4d58d51 + 22fb900 commit 4109022
Show file tree
Hide file tree
Showing 6 changed files with 201 additions and 101 deletions.
16 changes: 16 additions & 0 deletions examples/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "examples",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"ex:spotify": "ts-node examples/spotify.ts"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"@BolajiOlajide/now-playing": "file:..",
"ts-node": "^10.9.2"
}
}
182 changes: 182 additions & 0 deletions examples/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/spotify.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { NowPlaying, Providers } from '../dist'
import { NowPlaying, Providers } from '@BolajiOlajide/now-playing'

const np = new NowPlaying(Providers.SPOTIFY, {
streamerArgs: {
Expand Down
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
"types": "dist/now-playing.d.ts",
"type": "module",
"scripts": {
"ex:spotify": "ts-node examples/spotify.ts",
"build": "npx rimraf dist && rollup --config",
"test": "vitest",
"format": "prettier . --write"
Expand Down Expand Up @@ -35,7 +34,6 @@
"prettier": "3.3.2",
"rollup": "4.18.0",
"rollup-plugin-dts": "6.1.1",
"ts-node": "10.9.2",
"tslib": "2.6.3",
"typescript": "5.4.5",
"vitest": "1.6.0"
Expand Down
95 changes: 0 additions & 95 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 4109022

Please sign in to comment.