-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
50 lines (50 loc) · 1.41 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
{
"name": "comet-js-sdk",
"version": "3.3.0",
"description": "The SDK for usage with a Comet Backup Comet Server",
"scripts": {
"clean": "rm -rf dist/",
"build:browser": "esbuild browser-entrypoint.ts --sourcemap --bundle --target=chrome58,firefox57,safari11,edge16 > dist/comet.js && esbuild browser-entrypoint.ts --minify --bundle --target=chrome58,firefox57,safari11,edge16 > dist/comet.min.js",
"build": "tsc -b tsconfig.esm.json tsconfig.cjs.json && sh fixup.sh && npm run build:browser",
"prepublish": "npm run build",
"test": "jest"
},
"repository": "https://github.com/CometBackup/comet-js-sdk",
"type": "commonjs",
"files": [
"dist/"
],
"exports": {
"require": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.js"
},
"import": {
"types": "./dist/mjs/index.d.mts",
"default": "./dist/mjs/index.mjs"
},
"browser": {
"types": "./dist/cjs/browser-entrypoint.d.ts",
"default": "./dist/comet.min.js"
}
},
"keywords": [
"SDK",
"Comet Backup",
"Comet Server"
],
"author": "Comet Backup",
"license": "Copyright Comet Licensing LTD",
"devDependencies": {
"@types/jest": "^28.1.4",
"@types/node": "^20.14.9",
"esbuild": "^0.15.15",
"jest": "^28.1.2",
"ts-jest": "^28.0.5",
"typescript": "^4.7.4"
},
"dependencies": {
"cross-fetch": "^3.1.5",
"form-data": "^4.0.0"
}
}