Skip to content
This repository has been archived by the owner on Jun 26, 2024. It is now read-only.

Commit

Permalink
🏗️ Convert to ES Module and use Vitest
Browse files Browse the repository at this point in the history
  • Loading branch information
baptisteArno committed Feb 5, 2023
1 parent a3cf28f commit 3ad6c19
Show file tree
Hide file tree
Showing 22 changed files with 1,133 additions and 2,246 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.eslintrc.cjs
File renamed without changes.
3 changes: 0 additions & 3 deletions jest.config.js

This file was deleted.

19 changes: 9 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
"name": "node-youtube-music",
"description": "Unofficial YouTube Music API for Node.js",
"version": "0.9.1",
"main": "dist/index.js",
"module": "dist/index.mjs",
"exports": "./dist/index.js",
"types": "dist/index.d.ts",
"type": "module",
"node": " >=14.13.1 || >=16.0.0",
"repository": "https://github.com/baptisteArno/node-youtube-music",
"publishConfig": {
"registry": "https://registry.npmjs.org/"
Expand All @@ -14,21 +15,19 @@
"scripts": {
"dev": "tsup --watch",
"build": "eslint src/**/* && tsup",
"test": "NODE_OPTIONS=--experimental-vm-modules jest",
"test": "vitest",
"generate-change-log": "pnpx gitmoji-changelog"
},
"dependencies": {
"got": "^12.5.3"
},
"devDependencies": {
"@types/jest": "^29.2.5",
"@typescript-eslint/eslint-plugin": "^5.47.1",
"eslint": "^8.31.0",
"eslint-config-prettier": "^8.5.0",
"jest": "^29.3.1",
"ts-jest": "^29.0.3",
"@typescript-eslint/eslint-plugin": "^5.50.0",
"eslint": "^8.33.0",
"eslint-config-prettier": "^8.6.0",
"tsup": "^6.5.0",
"typescript": "^4.9.4"
"typescript": "^4.9.5",
"vitest": "^0.28.4"
},
"packageManager": "pnpm@7.21.0"
}
Loading

0 comments on commit 3ad6c19

Please sign in to comment.