-
Notifications
You must be signed in to change notification settings - Fork 76
/
package.json
63 lines (63 loc) · 1.89 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
{
"name": "@spotify/web-api-ts-sdk",
"version": "1.2.0",
"description": "A typescript SDK for the Spotify Web API",
"main": "dist/cjs/index.js",
"module": "dist/mjs/index.js",
"types": "dist/mjs/index.d.ts",
"scripts": {
"commit": "cz",
"start": "npx vite serve",
"test": "vitest run",
"ci": "npm run build",
"build": "npm run build:cjs && npm run build:mjs",
"build:mjs": "tsc --project tsconfig.mjs.json && cp res/package.mjs.json dist/mjs/package.json",
"build:cjs": "tsc --project tsconfig.cjs.json && cp res/package.cjs.json dist/cjs/package.json",
"build:win": "npm run build:cjs-win && npm run build:mjs-win",
"build:mjs-win": "tsc --project tsconfig.mjs.json && xcopy .\\res\\package.mjs.json .\\dist\\mjs\\package.json /-I /Y",
"build:cjs-win": "tsc --project tsconfig.cjs.json && xcopy .\\res\\package.cjs.json .\\dist\\cjs\\package.json /-I /Y",
"prepare": "husky install"
},
"exports": {
"import": "./dist/mjs/index.js",
"require": "./dist/cjs/index.js"
},
"repository": {
"type": "git",
"url": "https://github.com/spotify/spotify-web-api-ts-sdk"
},
"author": "Spotify",
"license": "Apache",
"devDependencies": {
"@commitlint/cli": "^18.4.4",
"@commitlint/config-conventional": "^18.4.4",
"@commitlint/cz-commitlint": "^18.4.4",
"@semantic-release/changelog": "^6.0.3",
"@semantic-release/git": "^10.0.1",
"@types/node": "^20.3.2",
"@types/uuid": "^9.0.2",
"commitizen": "^4.3.0",
"dotenv": "^16.3.1",
"husky": "^8.0.3",
"jsdom": "^22.1.0",
"playwright": "^1.35.1",
"semantic-release": "^23.0.0",
"typescript": "^5.1.6",
"uuid": "^9.0.0",
"vite": "^4.3.9",
"vitest": "^0.32.2"
},
"publishConfig": {
"access": "public"
},
"keywords": [
"spotify",
"webapi"
],
"wallaby": {
"autoDetect": [
"vitest"
],
"trace": true
}
}