-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
94 lines (94 loc) · 2.37 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"name": "@ekwoka/spotify-api",
"type": "module",
"files": [
"dist",
"src"
],
"sideEffects": false,
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js"
},
"./package.json": "./package.json"
},
"author": {
"name": "Eric Kwoka",
"email": "[email protected]",
"url": "https://thekwoka.net/"
},
"license": "MIT",
"version": "0.16.1",
"description": "Composable Wrapper for the Spotify Web Api and Spotify Web Playback SDK",
"repository": "github:ekwoka/spotify-api",
"keywords": [
"spotify",
"api",
"wrapper",
"composable",
"playback",
"typescript",
"node"
],
"scripts": {
"size": "node scripts/esbuild.js",
"size:test": "NODE_ENV=test node scripts/esbuild.js",
"build": "tsc",
"lint": "eslint --fix ./src; prettier --write ./src --loglevel error",
"lint:check": "eslint --max-warnings 10 ./src && prettier --check ./src",
"prebuild": "rm -rf dist",
"patch": "run-s test:run build && pnpm version patch && pnpm publish",
"minor": "run-s test:run build && pnpm version minor && pnpm publish",
"major": "run-s test:run build && pnpm version major && pnpm publish",
"test": "vitest",
"test:run": "vitest run",
"coverage": "vitest run --coverage",
"prepare": "husky install"
},
"devDependencies": {
"@trivago/prettier-plugin-sort-imports": "4.3.0",
"@types/node": "20.11.30",
"@typescript-eslint/eslint-plugin": "7.4.0",
"@typescript-eslint/parser": "7.4.0",
"@vitest/coverage-c8": "0.33.0",
"esbuild": "0.20.2",
"eslint": "8.57.0",
"gzip-size": "7.0.0",
"husky": "9.0.11",
"lint-staged": "15.2.2",
"npm-run-all2": "6.1.2",
"prettier": "3.2.5",
"pretty-bytes": "6.1.1",
"typescript": "5.4.3",
"undici": "6.10.2",
"vite": "5.2.7",
"vite-tsconfig-paths": "4.3.2",
"vitest": "1.4.0"
},
"prettier": {
"singleQuote": true,
"bracketSameLine": true,
"plugins": [
"@trivago/prettier-plugin-sort-imports"
],
"importOrder": [
"node:.*",
"@/lib(.*)$",
"@/utils(.*)$",
"^[./]"
],
"importOrderSeparation": true,
"importOrderSortSpecifiers": true
},
"lint-staged": {
"*.{js,ts,mjs}": [
"eslint --fix",
"prettier --write"
],
"*.json": [
"prettier --write"
]
}
}