Skip to content

Commit

Permalink
Chore: Migrate from Rollup to Vite (#14)
Browse files Browse the repository at this point in the history
* chore: switch bundler from rollup to vite

* feat: bump version and update meta

* chore: update package.json
  • Loading branch information
lilpolymath authored Jul 14, 2024
1 parent 4f5d6d5 commit 6899d63
Show file tree
Hide file tree
Showing 5 changed files with 543 additions and 172 deletions.
26 changes: 19 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,21 @@
{
"name": "@bolajiolajide/now-playing",
"version": "0.0.16",
"description": "",
"version": "1.0.0",
"description": "A simple package to get the current playing song from a streaming platform.",
"homepage": "https://github.com/bolajiolajide/now-playing",
"repository": {
"type": "git",
"url": "git+https://github.com/bolajiolajide/now-playing.git"
},
"bugs": {
"url": "https://github.com/bolajiolajide/now-playing/issues"
},
"main": "dist/now-playing.mjs",
"module": "dist/now-playing.mjs",
"types": "dist/now-playing.d.ts",
"type": "module",
"scripts": {
"build": "npx rimraf dist && rollup --config",
"build": "npx rimraf dist && vite build",
"test": "vitest",
"format": "prettier . --write"
},
Expand All @@ -19,7 +27,11 @@
"dist/now-playing.mjs",
"dist/now-playing.d.ts"
],
"keywords": [],
"keywords": [
"spotify",
"now-playing",
"in-memory"
],
"author": "",
"license": "MIT",
"dependencies": {
Expand All @@ -28,14 +40,14 @@
},
"devDependencies": {
"@rollup/plugin-typescript": "11.1.6",
"@types/node": "20.14.9",
"@types/node": "18.19.39",
"@types/node-fetch": "2.6.11",
"msw": "2.3.1",
"prettier": "3.3.2",
"rollup": "4.18.0",
"rollup-plugin-dts": "6.1.1",
"tslib": "2.6.3",
"typescript": "5.4.5",
"vite": "^5.3.3",
"vite-plugin-dts": "^3.9.1",
"vitest": "1.6.0"
},
"engines": {
Expand Down
Loading

0 comments on commit 6899d63

Please sign in to comment.