UNPKG

osu-web.js

Version:

osu.js is an unofficial Javascript and Typescript SDK for the browser-facing portion of osu! with type safety in mind

58 lines (57 loc) 2.42 kB
{ "name": "osu-web.js", "version": "2.6.0", "description": "osu.js is an unofficial Javascript and Typescript SDK for the browser-facing portion of osu! with type safety in mind", "main": "lib/index.cjs", "module": "lib/index.js", "typings": "lib/index.d.ts", "type": "module", "repository": { "type": "git", "url": "https://github.com/L-Mario564/osu.js.git" }, "scripts": { "build": "npx tsup src/index.ts --format cjs,esm --dts && node scripts/rename.js", "fmt": "npx prettier --write . && npx prettier --write ./docs/src/**/*.astro", "lint": "npx ts-prune --ignore \"(src\\\\index.ts|used in module)\" && npx eslint . && npx tsc --noEmit", "test:legacy": "vitest run src/tests/legacyClient.test.ts", "test:auth": "node --experimental-specifier-resolution=node --loader ts-node/esm src/tests/authTestServer.ts", "test:utils": "vitest run --dir src/tests/utils", "test:current": "vitest run --dir src/tests/client-tests", "test:client": "vitest run src/tests/client-tests/client.test.ts", "test:users": "vitest run src/tests/client-tests/users.test.ts", "test:wiki": "vitest run src/tests/client-tests/wiki.test.ts", "test:comments": "vitest run src/tests/client-tests/comments.test.ts", "test:ranking": "vitest run src/tests/client-tests/ranking.test.ts", "test:multiplayer": "vitest run src/tests/client-tests/multiplayer.test.ts", "test:news": "vitest run src/tests/client-tests/news.test.ts", "test:beatmaps": "vitest run src/tests/client-tests/beatmaps.test.ts", "test:changelog": "vitest run src/tests/client-tests/changelog.test.ts", "test:forum": "vitest run src/tests/client-tests/forum.test.ts", "test:discussions": "vitest run src/tests/client-tests/beatmapset-discussions.test.ts" }, "keywords": [ "osu", "api-wrapper" ], "author": "Mario564", "license": "MIT", "devDependencies": { "@types/express": "^4.17.15", "@typescript-eslint/eslint-plugin": "^5.47.1", "@typescript-eslint/parser": "^5.47.1", "dotenv": "^16.0.3", "eslint": "^8.30.0", "eslint-config-prettier": "^8.8.0", "eslint-plugin-astro": "^0.27.2", "express": "^4.18.2", "node-fetch": "^3.3.2", "prettier": "^3.0.0", "prettier-plugin-astro": "^0.11.0", "ts-node": "^10.9.1", "ts-prune": "^0.10.3", "tsup": "^6.6.3", "typescript": "^4.9.4", "vitest": "^1.2.2" } }