-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
70 lines (70 loc) · 1.77 KB
/
package.json
File metadata and controls
70 lines (70 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
{
"name": "@nocloud/sdk",
"version": "0.2.0",
"description": "Official SDK for NoCloud services - file storage and more",
"author": {
"name": "sinanovicanes",
"email": "anes@nonefivem.com",
"url": "https://nonefivem.com"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/nonefivem/no-cloud-sdk.git"
},
"homepage": "https://github.com/nonefivem/no-cloud-sdk#readme",
"bugs": {
"url": "https://github.com/nonefivem/no-cloud-sdk/issues"
},
"keywords": [
"nocloud",
"no-cloud",
"nonem",
"nonefivem",
"sdk",
"storage",
"r2",
"s3",
"file-upload",
"api"
],
"type": "module",
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.cjs"
}
}
},
"files": [
"dist",
"README.md",
"LICENSE"
],
"scripts": {
"build": "bun run clean && bun run build:js && bun run build:types",
"build:js": "bun build ./src/index.ts --outfile ./dist/index.js --target browser --format esm --minify && bun build ./src/index.ts --outfile ./dist/index.cjs --target browser --format cjs --minify",
"build:types": "bun x dts-bundle-generator -o ./dist/index.d.ts ./src/index.ts --project ./tsconfig.build.json --no-check",
"clean": "rm -rf dist",
"prepublishOnly": "bun run build",
"typecheck": "tsc --noEmit",
"test": "bun test"
},
"private": false,
"devDependencies": {
"@types/bun": "^1.3.6",
"@types/node": "^22.0.0",
"typescript": "^5.7.0"
},
"engines": {
"node": ">=18.0.0"
}
}