Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
70 lines (70 loc) · 2.44 KB
/
Copy pathpackage.json
File metadata and controls
70 lines (70 loc) · 2.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{
"name": "spotify-web-api",
"version": "2024.3.3",
"description": "You can use Spotify's Web API to discover music and podcasts, manage your Spotify library, control audio playback, and much more. Browse our available Web API endpoints using the sidebar at left, or via the navigation bar on top of this page on smaller screens.\n\nIn order to make successful Web API requests your app will need a valid access token. One can be obtained through <a href=\"https://developer.spotify.com/documentation/general/guides/authorization-guide/\">OAuth 2.0</a>.\n\nThe base URI for all Web API requests is `https://api.spotify.com/v1`.\n\nNeed help? See our <a href=\"https://developer.spotify.com/documentation/web-api/\">Web API</a> for more information, or visit the <a href=\"https://community.spotify.com/t5/Spotify-for-Developers/bd-p/Spotify_Developer\">Spotify for Developers community forum</a> to ask questions and connect with other developers.\n",
"type": "module",
"exports": {
".": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/commonjs/index.d.ts",
"default": "./dist/commonjs/index.js"
}
},
"./package.json": "./package.json"
},
"tshy": {
"exports": {
".": "./src/index.ts",
"./package.json": "./package.json"
},
"dialects": [
"esm",
"commonjs"
],
"project": "./tsconfig.tshy.json",
"selfLink": false
},
"main": "./dist/commonjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/commonjs/index.d.ts",
"files": [
"dist",
"src",
"tsconfig.json",
"tsconfig.tshy.json",
"README.md",
"api-reference.md",
"sdk-map.md",
"map"
],
"sideEffects": false,
"engines": {
"node": ">=20.3"
},
"scripts": {
"prepare": "tshy",
"build": "tshy",
"smoke": "node -e \"require('spotify-web-api')\" && node --input-type=module -e \"import('spotify-web-api')\"",
"typecheck": "tsc --noEmit",
"typecheck:dom": "tsc --noEmit -p tsconfig.dom.json",
"lint": "oxlint --type-aware --max-warnings=0 src",
"format": "oxfmt src",
"format:check": "oxfmt --check src"
},
"license": "MIT",
"devDependencies": {
"@types/node": "^20.14.0",
"oxfmt": "^0.61.0",
"oxlint": "^1.76.0",
"oxlint-tsgolint": "^7.0.2001",
"tshy": "^4.1.3",
"typescript": "^7.0.2"
},
"dependencies": {
"zod": "^4.1.0"
}
}