forked from adamgrieger/spotify-web-api-ts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
68 lines (66 loc) · 1.74 KB
/
package.json
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
{
"name": "spotify-web-api-ts",
"version": "2.0.0-alpha-0",
"description": "An isomorphic TypeScript wrapper for Spotify's Web API",
"repository": "https://github.com/adamgrieger/spotify-web-api-ts.git",
"author": "Adam Grieger",
"license": "MIT",
"engines": {
"node": "^16.0.0 || >=18.0.0"
},
"type": "module",
"main": "dist/spotify-web-api.umd.js",
"module": "dist/spotify-web-api.cjs",
"types": "dist/spotify-web-api.d.ts",
"exports": {
".": {
"import": "./dist/spotify-web-api.cjs",
"require": "./dist/spotify-web-api.umd.js"
}
},
"files": [
"dist",
"assets"
],
"scripts": {
"build": "vite build",
"lint": "eslint src",
"lint:fix": "eslint --fix src",
"test:dom": "vitest run --environment jsdom",
"test:node": "vitest run --environment node",
"test": "yarn test:dom && yarn test:node",
"types": "tsc --project tsconfig.json",
"generate-api": "bash -c ./tools/generate-openapi.sh",
"generate-docs": "typedoc --out docs src/index.ts",
"pre-commit": "lint-staged",
"pre-push": "yarn lint:fix && yarn test"
},
"lint-staged": {
"src/**/*": "eslint --fix",
"*.ts": "bash -c yarn types"
},
"dependencies": {
"axios": "^1.4.0",
"qs": "^6.9.4"
},
"devDependencies": {
"@inferrinizzard/eslint-config": "^0.1.3",
"@types/qs": "^6.9.4",
"eslint": "^8.47.0",
"form-data": "4.x",
"husky": "^8.0.3",
"jsdom": "^22.1.0",
"lint-staged": "^14.0.0",
"openapi-typescript-codegen": "^0.25.0",
"prettier": "^2.7.1",
"typedoc": "^0.18.0",
"typescript": "^5.1.6",
"vite": "^4.4.9",
"vite-plugin-dts": "^3.5.2",
"vitest": "^0.34.1"
},
"contributors": [
"inferrinizzard",
"adamgrieger"
]
}