-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 1.77 KB
/
package.json
File metadata and controls
75 lines (75 loc) · 1.77 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
71
72
73
74
75
{
"name": "@sirv/rest-api-js",
"version": "1.0.1",
"description": "Official SDK for Sirv REST API - Works with JavaScript, Node.js, and TypeScript",
"main": "dist/index.js",
"module": "dist/index.mjs",
"browser": "dist/sirv.min.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js",
"browser": "./dist/sirv.min.js"
}
},
"files": [
"dist/**/*",
"src/**/*"
],
"scripts": {
"build": "npm run build:node && npm run build:browser",
"build:node": "tsup src/index.ts --format cjs,esm --dts --clean",
"build:browser": "tsup src/browser.ts --format iife --global-name Sirv --minify --outDir dist && mv dist/browser.global.js dist/sirv.min.js",
"prepublishOnly": "npm run build",
"test": "jest",
"lint": "eslint src/**/*.ts",
"typecheck": "tsc --noEmit"
},
"repository": {
"type": "git",
"url": "git+https://github.com/sirv/sirv-rest-api-js.git"
},
"keywords": [
"sirv",
"image",
"cdn",
"media",
"360",
"spin",
"zoom",
"api",
"rest",
"sdk",
"javascript",
"nodejs",
"typescript",
"browser",
"image-processing",
"image-optimization",
"media-management",
"digital-assets"
],
"author": "Sirv <support@sirv.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/sirv/sirv-rest-api-js/issues"
},
"homepage": "https://sirv.com",
"engines": {
"node": ">=14.0.0"
},
"dependencies": {
"axios": "^1.6.0",
"form-data": "^4.0.0"
},
"devDependencies": {
"@types/jest": "^30.0.0",
"@types/node": "^20.10.0",
"jest": "^30.2.0",
"ts-jest": "^29.4.6",
"tsup": "^8.0.0",
"typescript": "^5.3.0"
}
}